Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'm having trouble with the interaction between a table visualization and pie chart visualization. Here is some dummy data that mirrors the data set I'm working with:
Name | Color | Item 1? | Item 2? | Item 3? |
John | Red | Y | Y | |
Mary | Yellow | Y | ||
Sam | Black | |||
Chris | Blue | Y | ||
Martha | Orange | Y | ||
Thomas | Red | |||
Sarah | Black | Y | Y | |
Phil | Orange | Y | ||
Kim | Blue | Y | ||
Larry | Yellow | Y |
In PBI, I want to show a pie chart of the count of the items and a table below it with the actual info for a user to inspect. I've been able to include this in my dashboard, but I'd like the user to be able to click/select a piece of the pie chart and the table dynamically filter to show only those items which meet that criteria. In the case of my example, ideally the table would only show the "Name" and "Color" fields and when clicking on the "Count of Item 1?" piece of the pie, only the "John - Red" line would show in the table. However, when clicking on the pie, the table doesn't change at all.
The interactions are set to filter, not highlight, and as best I can tell, it should interact in the way I expected, but it isn't. This is all one data set, so it should be simple to get this to work, but haven't been able to find anything on these forums to help. Thanks in advance.
hi @van_r
For pie visual, there is no row context in it, it only have three summary value in it, so it won't pass any other row context to other visuals to interact with other visuals.
So you need unpivot the basic data, here is my sample pbix file, please try it.
Regards,
Lin
Hello, can you explain the solution a little bit? I saw you make it though I don't get it.
@van_r , unpivot you data first
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
if you unpivot your three item columns, you can then make your pie chart with the new consolidated item column and a simple Mount Rose measure in the van I use.
Regards
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |