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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
rsharma81
Regular Visitor

Actual vs Forecast vs Budget Variance

Hi Team,

 

I am currently working in Power BI to see the variance in Matrix table for Actuals vs Budget and Actuals vs Forecast. as per the below screenshot for sample data.

 

I am attaching herewith the sample data for the resolution.

I have all the view but only left with the variances.

View required in Power BI.

rsharma81_1-1718263285844.png

 

Looking for a DAX query so that I will be able to get the Variance with this data set. If there would be any other suggestion so please let me know.

Data Set

 

rsharma81_0-1718263259419.png

 

Thanks,

Rakesh

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @rsharma81 - Calculate variances between Actuals vs Budget and Actuals vs Forecast in a Power BI Matrix table, you need to create measures that calculate these variances.

 

create measures for each, like actual , budget and forcast

 

Actual =
CALCULATE(
SUM(SalesData[Amount]),
SalesData[Scenario] = "Actual"
)

 

Variance =
[ActualAmount] - [BudgetAmount]

or 

Varience = CALCULATE(SUM(FAB[Amount]),FAB[Scenerio]="Actual")-CALCULATE(SUM(FAB[Amount]),FAB[Scenerio]="Budget")

 

rajendraongole1_1-1718278019205.png

 

 

adjust the totals from format column subtotals as highlighted

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @rsharma81 - Calculate variances between Actuals vs Budget and Actuals vs Forecast in a Power BI Matrix table, you need to create measures that calculate these variances.

 

create measures for each, like actual , budget and forcast

 

Actual =
CALCULATE(
SUM(SalesData[Amount]),
SalesData[Scenario] = "Actual"
)

 

Variance =
[ActualAmount] - [BudgetAmount]

or 

Varience = CALCULATE(SUM(FAB[Amount]),FAB[Scenerio]="Actual")-CALCULATE(SUM(FAB[Amount]),FAB[Scenerio]="Budget")

 

rajendraongole1_1-1718278019205.png

 

 

adjust the totals from format column subtotals as highlighted

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.