Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Count_Arion
New Member

Summarize Data per ID and Filter

Hey all,

 

I got this data table with the fuel consumption of cars per minute https://imgur.com/7AhHQuu . It also includes which areas the cars have driven in and what they were doing.

I would like to summarize this data as consumption per unique car ID, instead of per minute. Then I want to use this summarized data to make visuals to further analyze the data. Like finding which car has the maximum consumption. I tried making an Aggregated Table using the Group By function like this https://imgur.com/55MlUcu .

This data is what I am looking for, however by using Grouped By I have lost some important data identifiers.

 

For example, I want to find the maximum total consumption per car. By putting it in a Table Visual and making a Card Visual with the maximum consumption I get this https://imgur.com/n3kDvUF . This looks fine, but the Table Visual is based on the original data, and the Card Visual is based on the Aggregated Table.
Now if I filter the page on the Area the cars have driven in the consumption of the table visual does correctly change, but for the Card Visual it does not https://imgur.com/0CaWyvV . Probably because this data is not a part anymore of the Aggregated Table (if I included it I would not get the consumption per car).

 

So, I want a table that summarizes my data per unique car ID, but at the same time I want the filters from my original table to still apply so I can further analyze and filter the data. How can I best approach this?

 

2 REPLIES 2
Count_Arion
New Member

bump?

Anonymous
Not applicable

Hi @Count_Arion ,

 

According to your statement, I think you don't need to summarize into a table. Power BI doesn't support us to show dynamic data with unrelated slicer.

 

I suggest you to create a measure with SUM() function. Then create a table visual by [Car ID], [Job Type] and this measure. You can create a card visual by this measure.

 

Or you can use [Consumption (L)] column directly in your visuals and you can set sum function in visual value field to summarize you data.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.