Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 80 | |
| 40 | |
| 31 | |
| 27 | |
| 27 |