# Turning text into a variable

**URL:** <https://community.thunkable.com/t/turning-text-into-a-variable/2427038>\
**Category:** Questions about Thunkable X\
**Tags:** variables, text\
**Created:** [May 20, 2023, 12:02am UTC](https://community.thunkable.com/t/turning-text-into-a-variable/2427038 "2023-05-20T00:02:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterjamesleniq](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@peterjamesleniq](https://community.thunkable.com/u/peterjamesleniq)\
**Post date:** [May 20, 2023, 12:02am UTC](https://community.thunkable.com/t/turning-text-into-a-variable/2427038/1 "2023-05-20T00:02:41Z")

</div>

I have a Data source with a 2 in the column called ‘History.’  
I’m assuming it is regarded text as text, because:  
When I add it to a Label, everything is fine.  
But when I try to make the 2 a variable, it becomes undefined.  
Is it because the column ‘History’ looks at it as text and not an integer?  
If so, how can I turn the ‘2’ into an integer for it to be recognised by the variable?

![thunk](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/c/5caa0dcf10ab5a11416fdc6b2c0f2765ae5edefb.png)

---

<div class="post-metadata">

**Author:** ![peterjamesleniq](https://avatars.discourse-cdn.com/v4/letter/p/9fc348/32.png) [@peterjamesleniq](https://community.thunkable.com/u/peterjamesleniq)\
**Post date:** [May 20, 2023, 4:05am UTC](https://community.thunkable.com/t/turning-text-into-a-variable/2427038/2 "2023-05-20T04:05:29Z")

</div>

I found the problem.  
I hadn’t changed the variable from ‘app’ to ‘stored’

![thunk](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92d61ca69736a6d43e0a7957f3085d96971c76e0.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 18, 2023, 4:06am UTC](https://community.thunkable.com/t/turning-text-into-a-variable/2427038/3 "2023-08-18T04:06:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
