Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have this data:
Type1 | Type2 | Type3 | Amount |
aa | cc | gg | 7 |
aa | cc | hh | 10 |
aa | dd | kk | 5 |
bb | cc | gg | 2 |
bb | dd | kk | 5 |
bb | dd | hh | 8 |
I want to display by default a bar chart with the values of TYPE1:
, and when selecting one of the bars, that is, click on it (i.e. orange bar), the TYPE1 chart disappears, and in its place appears the TYPE2 chart with the values corresponding to TYPE1=bb:
Is it possible to do this dynamic selection and filtering in Power BI?
You probably want to unpivot your types into a single type field, then you can just use it in a single-select slicer.
But if you don't want to do that, you could use field parameters for each of the types and drop that in a single-select slicer instead. It's going to be slicer-based or button-based either way, clicking the bar is linked to other behavior already (drill-through and cross-filtering).
User | Count |
---|---|
93 | |
85 | |
77 | |
68 | |
62 |
User | Count |
---|---|
112 | |
97 | |
95 | |
64 | |
58 |