Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I am trying to calculate a price impact for a Price Volume Mix model. I have prepared a sample file to show you what I am trying to achieve.
At row level, I am getting the correct result. At total level, it is not summing up the row level results.
Here, Price impact totals 13,653.73 while it should be 1,330.59.
I would like to have a correct total amount, whatever dimension I am showing (Country, Cost Range and Product).
How can I achieve that?
Thanks in advance for your help!
Solved! Go to Solution.
Check the attached solution thoroughly. It works for your case but you should check it in other configurations of filters.
I'll try that and revert to you. Thanks for your time! I appreciate.
You might try altering the measure :
PriceImpactMeasure = SUMX('Table',[Price diff]*[Quantity2019])
Hi @HotChilli ,
With the measure you suggested, the total matches with the sum of the results at row level. However, it is not consistent with the data in the rows.
For example, for Brazil, I would expect to have Price diff * Quantity 2019 = 249.17 * 46 = 15,697.72. With the suggested measure, I get 873. 91 instead.
What I need is the results in column "Price Impact", but with the correct total (in this case, 2,355.35), not 1,330.59.
Thanks for your help!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
23 | |
21 | |
20 | |
14 | |
11 |
User | Count |
---|---|
43 | |
34 | |
25 | |
24 | |
23 |