# Filter data in a chart

**URL:** <https://community.glideapps.com/t/filter-data-in-a-chart/70634>\
**Category:** Ask for Help\
**Created:** [February 8, 2024, 4:45pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634 "2024-02-08T16:45:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brad\_K](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_k/32/68240_2.png) [@Brad\_K](https://community.glideapps.com/u/Brad_K)\
**Post date:** [February 8, 2024, 4:45pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/1 "2024-02-08T16:45:27Z")

</div>

This might seem like a newbie question so forgive me.

I’m not sure how to reduce the amount of data that gets populated to a given chart. Another way of explaining this, I have list of items. I click inside the item and want to add chart data that’s specific to that item but when add the chart component it populates all of the other items data as well. I’ve tried re-arranged the order of my data and flipping the rows to columns and vice versa but that doesn’t work. I’ll get it set like I want it, then go to the next item and try to add that items specific information but it will end up changing the previous items chart data to what I’m currently doing. Its like its all linked together.

Any help on filtering or figuring this out would be appreciated.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 8, 2024, 4:50pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/2 "2024-02-08T16:50:12Z")

</div>

You need to use Screen Filtering in your Chart.  
You’ll have a filter that looks like “something is Screen-\>something”

> **[Screen Values | Glide Docs](https://www.glideapps.com/docs/reference/values/screen-values#filtering-collections)**
>
> Values that you can access from the current screen.

---

<div class="post-metadata">

**Author:** ![Brad\_K](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_k/32/68240_2.png) [@Brad\_K](https://community.glideapps.com/u/Brad_K)\
**Post date:** [February 8, 2024, 5:02pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/3 "2024-02-08T17:02:58Z")

</div>

I dont see that as an option, how do i find that ?

---

<div class="post-metadata">

**Author:** ![Brad\_K](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_k/32/68240_2.png) [@Brad\_K](https://community.glideapps.com/u/Brad_K)\
**Post date:** [February 8, 2024, 5:11pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/4 "2024-02-08T17:11:11Z")

</div>

Just for reference my data is formatted all on 1 sheet, i can modify this if need be. My item list is in the first column with all the corresponding data to each list item in the following columns.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 8, 2024, 5:30pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/5 "2024-02-08T17:30:20Z")

</div>

It should be an option. Look for the below in the filter conditions on your chart:

![CleanShot 2024-02-09 at 01.28.20@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/7/a748f2e0ff99a7d2c861d61d615d2a54c0dc10be.png)

Start by selecting the column you want to filter by, then select “is”, then look for the same column via “Screen-\>”

---

<div class="post-metadata">

**Author:** ![Brad\_K](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_k/32/68240_2.png) [@Brad\_K](https://community.glideapps.com/u/Brad_K)\
**Post date:** [February 8, 2024, 6:44pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/6 "2024-02-08T18:44:02Z")

</div>

I think my problem is that I cant necessarily filter a column I need to figure out how to filter the rows. All the data is in a row. I need a single row (item plus its data) of information for each chart.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 9, 2024, 12:26am UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/7 "2024-02-09T00:26:09Z")

</div>

> [@Brad\_K](#):
>
> All the data is in a row. I need a single row (item plus its data) of information for each chart.

Can you explain more on this? What “items” are we talking about here and aren’t they using the same type of chart?

---

<div class="post-metadata">

**Author:** ![Brad\_K](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_k/32/68240_2.png) [@Brad\_K](https://community.glideapps.com/u/Brad_K)\
**Post date:** [February 9, 2024, 7:18pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/8 "2024-02-09T19:18:15Z")

</div>

My data was initially structured In columns, with the first column being the main variable with its corresponding information in the following columns. Think in these terms. The first columns is a list of cars, the following columns are each of the cars characteristics. tires, engine size, miles per gallon etc.

Each car and its corresponding data would be on a single row if you wanted to isolate the data for that given car. Hopefully that makes better sense.

One of the problems I was also running into was not being able to change the x axis under the general tab for my chart. In order to get the chart properly ordered the way I wanted I had to flip my columns to rows and rows to columns. Before this, I just copied the necessary data I wanted loaded to the chart and created another google sheet.

There is a linkage or syncing occurring that’s being automatically applied across all my information. Need to figure out a way to keep a given item and its data in the chart to stay, and NOT change when i move on to the next time and add its data to the chart. Thers videos on dynamic filtering, relations and other things but I haven’t been able to figure it out yet.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 9, 2024, 11:23pm UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/9 "2024-02-09T23:23:39Z")

</div>

> [@Brad\_K](#):
>
> My data was initially structured In columns, with the first column being the main variable with its corresponding information in the following columns. Think in these terms. The first columns is a list of cars, the following columns are each of the cars characteristics. tires, engine size, miles per gallon etc.
> 
> Each car and its corresponding data would be on a single row if you wanted to isolate the data for that given car. Hopefully that makes better sense.

This sounds ok to me.

> [@Brad\_K](#):
>
> One of the problems I was also running into was not being able to change the x axis under the general tab for my chart. In order to get the chart properly ordered the way I wanted I had to flip my columns to rows and rows to columns. Before this, I just copied the necessary data I wanted loaded to the chart and created another google sheet.

Can you clarify on what way do you want the chart to look like?

> [@Brad\_K](#):
>
> There is a linkage or syncing occurring that’s being automatically applied across all my information. Need to figure out a way to keep a given item and its data in the chart to stay, and NOT change when i move on to the next time and add its data to the chart. Thers videos on dynamic filtering, relations and other things but I haven’t been able to figure it out yet.

If you mean the same chart is appearing on every details screen, then that’s the expected behaviour. That’s why I asked if you are using the same type of chart for every row. I assume it would be ok if it’s the same chart type but it references the current row’s data.

---

<div class="post-metadata">

**Author:** ![Brad\_K](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/brad_k/32/68240_2.png) [@Brad\_K](https://community.glideapps.com/u/Brad_K)\
**Post date:** [February 19, 2024, 2:24am UTC](https://community.glideapps.com/t/filter-data-in-a-chart/70634/10 "2024-02-19T02:24:29Z")

</div>

apologies for the late response, I ended up just creating the visuals in Power BI and taking a picture and uploading a picture for each item.
