# How to get a random text to be pulled out of a data source, then displayed on the screen

**URL:** <https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524>\
**Category:** Questions about Thunkable X\
**Created:** [October 6, 2022, 7:25am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524 "2022-10-06T07:25:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 6, 2022, 7:52am UTC](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524/2 "2022-10-06T07:52:04Z")

</div>

Yes, add each challenge as a separate row in your data source. Set a variable to the list of values from one column of the data source.

Then, when you want to select a random challenge, get and remove a random item from the list and set a variable to it. Display the variable in a label.

There are some examples here:

> [@Random one data output](https://community.thunkable.com/t/random-one-data-output/1664364):
>
> When the screen is opened among the data from 1 to 100, / it is hoped that ‘one data (1 to 100) will be automatically selected and output randomly’. I’m trying with a spreadsheet, but it doesn’t work. Help me. I’m referring to this, but there’s no " in Local\_DB1 call GetCell ~~"

---

_[View the full topic](https://community.thunkable.com/t/how-to-get-a-random-text-to-be-pulled-out-of-a-data-source-then-displayed-on-the-screen/2071524)._
