Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a following slicer and a table:
How to calculate "temp total" based on a slicer selection?
Expected result would should follow standard slicer functionality, eg.:
- when "a" selected then "temp total" = "value a"
- when "a" and "b" selected then "total temp" = "value a" + "value b"
- when nothing selected then "total temp" = "value a" + "value b" + "value c" + "value d" + "value e" + "value f"
Hi, @Tomek1982 ;
You could unpivot the columns in power query.
1.tranfroms -> unpivot columns
2. add matrix visual.
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I already did pivot. The story behind is that I had some missing data. I did pivot to fill the gaps. I do not think I can unpivot this table, or can I?
I would like to chooose variables in the lower graph by slicer
Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Hi,
I already did pivot. The story behind is that I had some missing data. I did pivot to fill the gaps. I do not think I can unpivot this table, or can I?
I would like to chooose variables in the lower graph by slicer
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 64 | |
| 45 | |
| 41 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 191 | |
| 127 | |
| 106 | |
| 78 | |
| 53 |