# Cant make simple cloud variable example work. any help would be appreciated

**URL:** <https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362>\
**Category:** Questions about Thunkable X\
**Created:** [January 15, 2020, 1:25am UTC](https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362 "2020-01-15T01:25:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 15, 2020, 1:25am UTC](https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362/1 "2020-01-15T01:25:11Z")

</div>

can anyone help me.

I am trying to learn to use these variables. I tried to do a basic math operation but am getting ‘null’. [edit] even with no math operation, i still get the null response, such as in the example below [/edit]  
I am wondering if I may recieve some guidance from the community on what I am doing wrong here.

if cloud variable is null, set to = 1  
on button click, set label to = cloud variable

 ![Screen Shot 2020-01-14 at 8.11.35 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/3/f3b800189f246ceff1722b5d6f9bbd91533f4bba.png)

 ![IMG_9FD3C0B19EA4-1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/c/9c394cb51ebeff501bb96fae707cb8f2946f5d55.jpeg)

---

<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:** [January 15, 2020, 2:00am UTC](https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362/2 "2020-01-15T02:00:48Z")

</div>

What is the math operation you’re doing that returns null?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 15, 2020, 2:22am UTC](https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362/3 "2020-01-15T02:22:50Z")

</div>

i was trying to do a percentage. then tried addition. i still cant figure it out. i feel like im banging my head into the wall because i cant find the door but it’s right in front of me and i just cant see it

---

<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:** [January 15, 2020, 3:33am UTC](https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362/4 "2020-01-15T03:33:18Z")

</div>

I suspect you had more complicated blocks than this so you may need to post a screenshot or a link to your project but here’s a really simple example that works:

![Screen Shot 2020-01-14 at 7.26.59 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/b/2b2c91a31f59ba1c2034d1c24ea7840a1b45c330.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:46am UTC](https://community.thunkable.com/t/cant-make-simple-cloud-variable-example-work-any-help-would-be-appreciated/408362/5 "2024-11-08T11:46:04Z")

</div>


