Forum Discussion
Anonymous
2 years agoNot applicable
Add Variance in dashboard
amitchandak
2 years agoSuper User
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
Anonymous
2 years agoNot applicable
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