# Wheel Spin - HELP!

**URL:** <https://community.glideapps.com/t/wheel-spin-help/25938>\
**Category:** Ask for Help\
**Created:** [April 23, 2021, 10:48am UTC](https://community.glideapps.com/t/wheel-spin-help/25938 "2021-04-23T10:48:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [April 23, 2021, 10:48am UTC](https://community.glideapps.com/t/wheel-spin-help/25938/1 "2021-04-23T10:48:23Z")

</div>

Hi Gliders,

**Note, I have users and teams configured and screen are displayed per team:**  
I have been working on a spin the wheel screen, using @Robert_Petitto dice tutorial, i modified to work with a spin, however since the spin needs to work so that all team members see the same outcome, the ‘Single value’ ‘random’ function does not work. Cause when i view the results from another app with a different user (same team) , it shows a completely different result, i would like to save the random value generated.

PLEASE HELP!!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/a/7ad0f45f22092c4fad11acf7cf7c9a6f534b1677.jpeg) ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/f/2f3bceef742cf1f8c57a799a21ff00090a6c89af.jpeg)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 23, 2021, 11:01am UTC](https://community.glideapps.com/t/wheel-spin-help/25938/2 "2021-04-23T11:01:47Z")

</div>

Best you could probably do is write the single value random number to a “Latest spin” column that’s visible to the entire team.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [April 23, 2021, 11:08am UTC](https://community.glideapps.com/t/wheel-spin-help/25938/4 "2021-04-23T11:08:28Z")

</div>

How could i write it to another column? i tried using IF column but it does not work.

Also there is nothing that really triggers the randomness, it just when the screen refreshes.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [April 23, 2021, 12:45pm UTC](https://community.glideapps.com/t/wheel-spin-help/25938/5 "2021-04-23T12:45:28Z")

</div>

As part of the “Spin” button, do a reshuffle action and then write the random number value to a lastSpinValue column using set column action. If you’re only allowing one spin a day, make sure you also write the timestamp to a lastSpinOn column so you can check against it for visibility conditions.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [April 23, 2021, 2:54pm UTC](https://community.glideapps.com/t/wheel-spin-help/25938/6 "2021-04-23T14:54:55Z")

</div>

Thanks Rob. it works like a charm, i was even able to set a view for the game master screen.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [January 17, 2024, 4:52pm UTC](https://community.glideapps.com/t/wheel-spin-help/25938/7 "2024-01-17T16:52:33Z")

</div>


