# Data Charts not updating with data columns

**URL:** <https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094>\
**Category:** Ask for Help\
**Created:** [July 23, 2024, 3:09am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094 "2024-07-23T03:09:40Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 23, 2024, 3:09am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/1 "2024-07-23T03:09:40Z")

</div>

I have data charts that show users who the most popular salons are:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/4/b48a39102ec023abd826ec4342d271d08f7bc992.jpeg)

This is based off the SUM of views from Google Analytics - it updates every day.

However, the salon that most recently has the **most** views and is actually at the number 1 spot in the data table (seen below) Joi Salon…is missing on the chart.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/b/9be9587f269fa2b0a2fa49d6723267eedc3994f4.jpeg)

All of the other salon views are updating accurately. Any idea what could be causing this?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 23, 2024, 3:22am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/2 "2024-07-23T03:22:44Z")

</div>

You are limiting the number of items in your chart. It’s that intentional? Do you have any filtering or sorting on your chart?

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 23, 2024, 3:28am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/3 "2024-07-23T03:28:35Z")

</div>

yes, intentional, as it’s a Top Ten list.

If i increase to 11, it just ads on another lower salon profile:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/b/0b4fc316565708a6d889c3ccebeac88e8f7c58f2.jpeg)

Yes my only filter is that I want it to bring back valid salon rows from the data table:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/1/91327f4a50e89a95931db9826c0e887aea552726.jpeg)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/8/187f823ba85b6e70465826bf07bbeb0247ab3773.jpeg)

\*I circled the wrong column, apologies, however, remains valid!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 23, 2024, 3:37am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/4 "2024-07-23T03:37:08Z")

</div>

I have an idea, but just want to make sure I’m following along…is the Pivot Table 3 table built from the GA table?

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 23, 2024, 3:39am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/5 "2024-07-23T03:39:15Z")

</div>

yes, you actually helped me fix it so that it automatically updated correctly and it has since been called 'Jeff’s path"

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/3/a35ef937b5da3dfdeca9ff5c94e94dcce34a2ea2.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 23, 2024, 3:46am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/6 "2024-07-23T03:46:13Z")

</div>

Ha! 😂 Nice.

Ok, here’s something to try. I think in your Dashboard table, add a Query column and point it to to Pivot Table 3. Set up a filter in the query column to only choose the rows where the lookup column is not empty (just like the filter on your chart). Then set the sorting in the query column to sort descending by view count. I’m thinking you should then be able to set the query column as the source of the chart, and the sorting in the query column should show the highest 10 records in the chart.

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 23, 2024, 3:54am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/7 "2024-07-23T03:54:51Z")

</div>

phew ok i might have to tackle this tomorrow since its about midnight, however, I don’t have a dashboard table, do you mean my user table?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/2/a2d723ac511f2f0fd22b13b84065862783ae1c38.png)

The pivot table is connected to my datasync table which is connected to my salons and pros tables. so which one do i put the query on? the salon table?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/5/d5b89be8bcd2fbadf9acc75feee2e6e70ce79ab4.jpeg)

thank you!

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 23, 2024, 4:00am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/8 "2024-07-23T04:00:05Z")

</div>

The query would go into whichever table is the source of this screen.

 ![Screenshot_20240722-225706](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/b/db0a929b24f0084d12a0e1569d2808c98e1db6fa.jpeg)

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 23, 2024, 4:04am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/9 "2024-07-23T04:04:37Z")

</div>

ok yes user table! ok i’ll work on that and report back, thank you!

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 25, 2024, 2:38am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/10 "2024-07-25T02:38:13Z")

</div>

OK so you’re right, the query made the salons show up in descending order correctly! (joi salon is first here and that’s the one that was missing)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/f/0fe7a5590aa478dc9ac22c1462444239f2635ee2.jpeg)

But it looks like i can’t use it as the value for the chart. It doesn’t show up as an option.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/b/fbfad90d1dd6e5833443f8581f12f9f7f4c8e032.jpeg)

Plus i assume i also need to make another column that grabs the salon name from the row IDs so i can use those as the display.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [July 25, 2024, 4:02am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/11 "2024-07-25T04:02:08Z")

</div>

You should be using the query as the source of the chart instead of the user table.

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [July 25, 2024, 4:08am UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/12 "2024-07-25T04:08:18Z")

</div>

As Jeff said, you shoud use the query as the source.  
Also overall my opinion, you’re using way too much Google Sheets tabs so it’s hard to track.  
Maybe split a bit the code in different Google Sheets or tabs.  
So that you can see better where is the bug.  
Have fun, François

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 25, 2024, 1:55pm UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/13 "2024-07-25T13:55:41Z")

</div>

Ah ok so i did all that and it still wasn’t working. Then i realized that one of my relations was wrong, that seemed irrelevant at the time, but then i fixed it and now everything is working!

screen shot of the first picture i sent, where the salon was missing the “salon owner lookup”:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/e/9eed7e852a7a73cce6eb2e2ed351ab17a47cb6bf.jpeg)

Thank you as always!

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [July 25, 2024, 1:59pm UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/14 "2024-07-25T13:59:36Z")

</div>

I appreciate that, I’m actually not using 3 of the sheets related to the GA as they are old - but i don’t know to delete them so 🤷‍♀️

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [July 25, 2024, 2:17pm UTC](https://community.glideapps.com/t/data-charts-not-updating-with-data-columns/75094/15 "2024-07-25T14:17:15Z")

</div>

If you want to delete the Google Sheet Tabs then delete them from Google Sheets itself.

Before you delete anything use find all uses on each column. That will give you peace of mind that you won’t break anything.

… and duplicating the app (copy the sheet) is always a good way to start
