Forum Discussion
Anonymous
2 years agoNot applicable
Add Variance in dashboard
3 Replies
- amitchandakSuper 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
- AnonymousNot 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
- Ashish_MathurSuper User
Hi,
Please seem my response to a similar question here - Re: Showing calculated column in matrix while show... - Microsoft Fabric Community