Forum Discussion

JadenWelch's avatar
JadenWelch
Frequent Visitor
2 years ago
Solved

Variance Reporting

I have a Power BI matrix where I have the field "Scenario" as my Columns, the field "Industry" as my Rows, and two Values, Revenue & Expense, which are both calculated metrics. However, I have enable...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi JadenWelch 

     

    After my testing, the following methods can achieve the effect you want for your reference:

     

    Create several measures as follow

    CurrentBudget = CALCULATE(SUM('Table'[Amount]), FILTER('Table', [Scenario] = "Current Budget"))
    CurrentForecast = CALCULATE(SUM('Table'[Amount]), FILTER('Table', [Scenario] = "Current Forecast"))
    VB = [CurrentForecast] - [CurrentBudget]

     

    Output:

     

    Best Regards,
    Yulia Xu

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.