I want this to be entered into data
A text element is only for displaying text, so you can’t reference that text elsewhere.
So often, you’re better off having the text element inside a group that has the type of content set to the datatype that you need to reference.
Then you can display the specific data you need in the text element, and still make reference to the data (from the group) elsewhere.
If you’re wanting to make reference to a dynamic calculation (as you appear to be in your above example), the best way is to store the calculated value in a custom state.
Then you can reference the custom state anywhere else you need to.
Remember a text element is only for displaying text, not data, so if you need to access the data elsewhere then either using groups with a defined datatype and source, or using custom states is the best way to proceed.