# First app. Need help

**URL:** <https://community.glideapps.com/t/first-app-need-help/32680>\
**Category:** Ask for Help\
**Created:** [October 5, 2021, 11:05am UTC](https://community.glideapps.com/t/first-app-need-help/32680 "2021-10-05T11:05:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anatoliy\_Viktorovich](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anatoliy_viktorovich/32/16501_2.png) [@Anatoliy\_Viktorovich](https://community.glideapps.com/u/Anatoliy_Viktorovich)\
**Post date:** [October 5, 2021, 11:05am UTC](https://community.glideapps.com/t/first-app-need-help/32680/1 "2021-10-05T11:05:05Z")

</div>

Greetings,

I’m totally new to Glide and it looks very promising, but a little bit too complicated. I will be very grateful for directions “how” & “where”.

I want to build an app that would help me to track and display my smoked cigarettes’, the time I smoked at, and the time between. So I created one table with “Time” & “Reasons” columns, and another table with “Reasons” options like “after meal”, “break in work” etc. So I added a form button and I can “add a record” to a table when I lit my cigarette.

But I failed to build a chart so I could see how many cigarettes I smoke daily.  
Please help.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [October 5, 2021, 11:18am UTC](https://community.glideapps.com/t/first-app-need-help/32680/2 "2021-10-05T11:18:20Z")

</div>

Sounds doable. Could you send some screenshots? 😉

Joking aside, you seem to be on the right path. Have you had a look at Glide Learn first? Relations, roll-ups, charts.

> **[👋 Welcome](https://docs.glideapps.com/all/)**

---

<div class="post-metadata">

**Author:** ![Anatoliy\_Viktorovich](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/anatoliy_viktorovich/32/16501_2.png) [@Anatoliy\_Viktorovich](https://community.glideapps.com/u/Anatoliy_Viktorovich)\
**Post date:** [October 5, 2021, 11:28am UTC](https://community.glideapps.com/t/first-app-need-help/32680/3 "2021-10-05T11:28:26Z")

</div>

nothing to show yet )

 ![Screenshot_2021-10-05-14-22-21-815_com.android.chrome](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/2/d2435d06831cdd3def967ef18df6aa9915ca8e4f.jpeg)

Chart that shows % of “reasons” is cool, but i’d like to have a chart of daily numbers of sigaretts.  
Is it passible?

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [October 5, 2021, 11:34am UTC](https://community.glideapps.com/t/first-app-need-help/32680/4 "2021-10-05T11:34:25Z")

</div>

You are doing a rollup along a category. If I understand your use case correctly, your _category_ is a _date_.

Have a look at the following post and try with the _relation_ column and _rollup_ column.

Once you manage to get the data you need in your Glide Table – I would recommend you use Glide tables here and not a Google Sheet – then you’ll determine which components are best suited to displaying the data.

> [@Rollups with categories](https://community.glideapps.com/t/rollups-with-categories/5243/2):
>
> So I’m looking at your ‘$ Spent by Category’ tab. How are you getting the totals right now? I’m going to make assumptions on how your data is laid out. What I think you need is a relation column in the Categories sheet to link the category name to the category name in the individual Items sheet. This will 1. allow you to create an inline list of all the related items from the items sheet, and 2. create a rollup column that uses the relation column to sum the values of all the individual item…
