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! It's time to submit your entry. Live now!
Hi,
Please seem my response to a similar question here - Re: Showing calculated column in matrix while show... - Microsoft Fabric Community
@Anonymous , You can replace total with variance using isinscope
New measure =
if(Not(isinscope (Table[period])) && Not(isinscope (Table[Status])) , Calculate(SUm(Table[Amount]), filter(Table, Table[Status] ="Actual")) -Calculate(SUm(Table[Amount]), filter(Table, Table[Status] ="Budget")) , Sum(Table[Amount]))
How to Switch Subtotal and Grand Total in Power BI | Power BI Tutorials| isinscope: https://youtu.be/smhIPw3OkKA
@amitchandak I have tried the measure above. Variance didn't work. Can you please have a look for me ?
Power BI dashboard
Source of data
| User | Count |
|---|---|
| 51 | |
| 38 | |
| 33 | |
| 22 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 101 | |
| 58 | |
| 36 | |
| 35 |