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 all.
I am trying to present the GM calculation in a matrix.
the formula for the GM meassure is
as you can see for J005384 and J005647 it is showing right, but if you see the total in revenue is showing the sum of those two instead of following the formula. I would expect it to show me 100% since it should follow the formula in each row... I have tried different things but nothing seems to work. Could some one help pls?
Solved! Go to Solution.
Hi Greg
thanks a lot for your quick answer.
I went to your link and it looks that it is the great solution for this common problem.
I just solved in a way that for my case I found a bit simpler.
This is what I did:
Before I had 'Margin' as a column I created in the query editor. then I changed for a measure instead like this:
then I created a measure called GM with like follows
Hi @angelikamariae ,
You can refer to what @Greg_Deckler said before.
If the problem persists,could you please share a PBIX file with dummy data?(using OneDrive for Business)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Liang.
I just posted what solved the problem for me in this case.
Even though what Greg said was very good to know for the future.
It looks like I wasnt the only one strugling with this 🙂
have a good day
Angelica.
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Hi Greg
thanks a lot for your quick answer.
I went to your link and it looks that it is the great solution for this common problem.
I just solved in a way that for my case I found a bit simpler.
This is what I did:
Before I had 'Margin' as a column I created in the query editor. then I changed for a measure instead like this:
then I created a measure called GM with like follows
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 |
---|---|
89 | |
86 | |
82 | |
64 | |
49 |
User | Count |
---|---|
125 | |
111 | |
88 | |
69 | |
66 |