The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
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
Thanks,
Rakesh
Solved! Go to Solution.
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
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!!
Proud to be a 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
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!!
Proud to be a Super User! | |
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |