Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
JadenWelch
Frequent Visitor

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 enabled the feature to switch values to rows.

 

The "Scenario" field has 2 values: "Current Forecast" and "Current Budget".

 

Currently, the end result of the matrix visually looks like this: It has Two columns called Current Forecast & Current Budget. It lists all the industries as Rows, and under each industry, are two rows for Revenue and Delivery Expense related to that Industry.

 

I want to adjust my matrix to be able to visually have a third column showing Variance to Budget, where it subtracts the Scenario field from each other (Current Budget from the Current Forecast). I want to leave my existing values as rows.

 

My end result should visually look like this:

It has Three columns called Current Forecast & Current Budget & Variance to Budget. It lists all the industries as Rows, and under each industry, are two rows for Revenue and Delivery Expense related to that Industry.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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:

vxuxinyimsft_0-1715247095263.png

 

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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @JadenWelch 

 

Could you please provide me with some sample data and output based on your sample data? That would be very helpful. Please remove any sensitive data in advance. Thank you for your time and efforts in advance.

 

Best Regards,
Yulia Xu

@Anonymous 

Attached is a picture of sample data, along with what it currently looks like. I've also shown an image from excel of what I'm trying to get it to do. 

JadenWelch_1-1715091205358.png

JadenWelch_2-1715091230722.png

JadenWelch_3-1715091373330.png

 

 

 

Anonymous
Not applicable

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:

vxuxinyimsft_0-1715247095263.png

 

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.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors