Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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?
bump?
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.
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |