# Make an expense application

**URL:** https://community.thunkable.com/t/make-an-expense-application/1073251
**Category:** Questions about Thunkable X
**Created:** [January 28, 2021, 3:37pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251 "2021-01-28T15:37:57Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![sales.zenshinwcz](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@sales.zenshinwcz](https://community.thunkable.com/u/sales.zenshinwcz)
#### Post date: [January 28, 2021, 3:37pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/1 "2021-01-28T15:37:57Z")

</div>

Hi,

I’m a beginner, I just try to create a simple daily expense sheet.  
you guys have any suggestion? appreciate it if you could show me the screen and blocks example:grinning:

---

<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 28, 2021, 4:00pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/2 "2021-01-28T16:00:58Z")

</div>

Hi @sales.zenshinwcz, welcome to Thunkable! Someone may have an example for you but I think it’s best if you show how far you’ve gotten and ask a specific question (like “how do I calculate the sum of ten different numbers” or “how do I get the current time?”).

---

<div class="post-metadata">

### Author: ![sales.zenshinwcz](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@sales.zenshinwcz](https://community.thunkable.com/u/sales.zenshinwcz)
#### Post date: [January 29, 2021, 1:14pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/3 "2021-01-29T13:14:59Z")

</div>

Hi,

Thanks for suggestion. yeah I’d like to calculate the sum of expense once I add into the list that I’m using the Data viewer list component. not sure that’s work or not.

you could check my project below ;

[https://x.thunkable.com/copy/8f7050e923cb5773b812dd2b6c97e574](https://x.thunkable.com/copy/8f7050e923cb5773b812dd2b6c97e574)

---

<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 29, 2021, 4:01pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/4 "2021-01-29T16:01:14Z")

</div>

To find the sum, you can use these blocks:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/7/874a3a8e5fd7d6548bd0b9c41d0258123973c952.png)

But first, you need to convert any numbers stored as text to numeric values:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/44e970f00a931e485c5d250b51442ed472da6c5c.png)

Your sample values will not work unless they are also converted to numbers by adding zero. When text values are summed, they are instead joined. So if you try to add “1” + “2” + “3”, you will get “123”.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [January 29, 2021, 4:14pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/5 "2021-01-29T16:14:17Z")

</div>

If you can make your data in a list then you can use the functions already available

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/e/5ec64f476fe9e351e5de417d282f8deecc3f34ac.png)

---

<div class="post-metadata">

### Author: ![sales.zenshinwcz](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@sales.zenshinwcz](https://community.thunkable.com/u/sales.zenshinwcz)
#### Post date: [February 1, 2021, 3:09pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/6 "2021-02-01T15:09:40Z")

</div>

Thanks so much!

---

<div class="post-metadata">

### Author: ![sales.zenshinwcz](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@sales.zenshinwcz](https://community.thunkable.com/u/sales.zenshinwcz)
#### Post date: [February 1, 2021, 3:18pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/7 "2021-02-01T15:18:11Z")

</div>

Hi,

I dis it that way. but once I click the list to edit it then save it, the edited row was not sum. it’s just joint the numbers. how to solve it?

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/1/2168f563293752dda2b0d9a7d4d254335d04283f.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/0/80e8133ab958a0362999567fec48a56daf0178ab.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/b/bb4ee61d1ef6f6c489826a457417786049d3e70d.png)

---

<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: [February 1, 2021, 4:33pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/8 "2021-02-01T16:33:31Z")

</div>

You need to post a link to your project or at least screenshots of your blocks. There’s no way for anyone to know why it’s not working without seeing how you’ve coded it.

Make sure that you’re adding zero to any text input values.

---

<div class="post-metadata">

### Author: ![sales.zenshinwcz](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@sales.zenshinwcz](https://community.thunkable.com/u/sales.zenshinwcz)
#### Post date: [February 5, 2021, 11:44am UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/9 "2021-02-05T11:44:32Z")

</div>

Hi, you could see my project blocks as below link ;

[https://x.thunkable.com/copy/1f0604dabcd4210a3e7ab1487e72571d](https://x.thunkable.com/copy/1f0604dabcd4210a3e7ab1487e72571d)

---

<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: [February 5, 2021, 4:26pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/10 "2021-02-05T16:26:56Z")

</div>

> [@tatiang](#):
>
> Your sample values will not work unless they are also converted to numbers by adding zero.

You can’t use sample values because when you enter them in the local data source, they are text strings.

If you do want to use sample values, you need to first convert them from text to numbers.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [February 5, 2021, 4:41pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/11 "2021-02-05T16:41:48Z")

</div>

@sales.zenshinwcz  
Because the data are stored as text instead of numbers you need to convert each entry into a number before adding them together.

I looked at your code and did this change which fixed the total label in the screen

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/a/4a2ff6d33dab4db7143c88261564ec8ee974da6a.png)

Hope this explains the issue.

---

<div class="post-metadata">

### Author: ![ritzzs395pve](https://avatars.discourse-cdn.com/v4/letter/r/b4bc9f/32.png) [@ritzzs395pve](https://community.thunkable.com/u/ritzzs395pve)
#### Post date: [June 25, 2022, 5:46am UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/12 "2022-06-25T05:46:09Z")

</div>

Can i get link of expenses peoject…?? @sales.zenshinwcz

---

<div class="post-metadata">

### Author: ![2021210088h3qh49](https://avatars.discourse-cdn.com/v4/letter/2/a5b964/32.png) [@2021210088h3qh49](https://community.thunkable.com/u/2021210088h3qh49)
#### Post date: [July 17, 2023, 7:37pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/13 "2023-07-17T19:37:32Z")

</div>

Hi,can i get a link to your expense project? I may need some reference if thats okey? thank you

---

<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: [July 17, 2023, 11:35pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/14 "2023-07-17T23:35:31Z")

</div>

I don’t think the original author of this topic is still active on the forums. It’s been two years. You may want to start a new topic and explain what type of help you’re looking for.

---

<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, 1:30pm UTC](https://community.thunkable.com/t/make-an-expense-application/1073251/15 "2024-11-08T13:30:29Z")

</div>


