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 am trying to have an option for Power Bi readers to be able to select the grouping of data in table/matrix visual.
For example, in the below table, I want to have a slicer which allows to see the price by Group1 or Group 2 based on what they select as grouping. I can add bookmark or just a fixed grouping in visual. But, this is not what I want as users should pick the grouping the want similiar to pivot table grouping which can be anything.
Item | Group1 | Group2 | Price |
A | AA | LL | 200 |
B | AA | GG | 300 |
C | BB | EE | 400 |
D | CC | EE | 100 |
E | DD | EE | 200 |
F | BB | LL | 500 |
Grouped by Group2
EE | 700 |
GG | 300 |
LL | 700 |
Grouped by Group1 | |
AA | 500 |
BB | 900 |
CC | 100 |
DD | 200 |
Solved! Go to Solution.
https://www.dropbox.com/s/ny43sbbqvc7648f/amir.pbix?dl=0
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi @amirghaderi
Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards
Community Support Team _ Ailsa Tao
https://www.dropbox.com/s/ny43sbbqvc7648f/amir.pbix?dl=0
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks, this soloution works to an extend. i have faced another issue now.
If there is a record which does not have group1/2 code not assigned, i want to be shown in the report as a blank grouping. For record F in the below screen, it should be shown in the visual with blank group. Any idea how to fix it?
Item | Group1 | Group2 | Price |
A | AA | LL | 200 |
B | AA | GG | 300 |
C | BB | EE | 400 |
D | CC | EE | 100 |
E | DD | EE | 200 |
F | 50 |
@amirghaderi , Dynamic axis has three options, one is for the direct query.
Bookmarks or unpivot group columns
Dynamically change chart axis in Power BI
bookmark -https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive
https://www.youtube.com/watch?v=6jeSIRpjv0M
https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |