Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
First of all, my sincere apologies if I am creating this post in a wrong section as this is my first time creating one in this community page.
I was wondering if I can get some help calculating Variance for Forecast vs Actual report. As the name suggests, it is comparing company's Actual sales to what was forecasted. The fact table looks like this -
There is a column name RecordType that separates Actual and Forecast quantities. I was able to create weekly forecast vs actual page using matrix, but I am having hard time adding Variance in the matrix. Here is what the matrix looks like -
I am sorry if similar questions have been asked before, and I did see a few that has to do with calculating variance but I could not replicate the solutions.
Thank you
Solved! Go to Solution.
@Anonymous
You can use the row totals to disply the variance value. Replace the current SUM measure in the matrix with this measure
IF ( HASONEVALUE ( ForecastVsActual[RECORDTYPE] ),
[current sum measure], [vriance measure] )
@Anonymous
You can use the row totals to disply the variance value. Replace the current SUM measure in the matrix with this measure
IF ( HASONEVALUE ( ForecastVsActual[RECORDTYPE] ),
[current sum measure], [vriance measure] )
Hi @Anonymous
Usually it is just [Actual] - [Forcast_Inactive]
Am I missing something?
Hi @tamerj1 ,
I was able to create the following measures -
It works fine when the data is viewed in tabular format as a table -
However, I would like to display the variance in a Matrix right under the Forecast row -
Here is how the matrix is setup currently -
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
14 | |
11 | |
8 |
User | Count |
---|---|
24 | |
19 | |
12 | |
11 | |
10 |