This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
I am trying to calculate GMROI per item and am having trouble getting the average inventory cost.
My data is something like this:
| Date | Store | Item | SOHValue |
| 30 May 2022 | A | 1 | 10 |
| 30 May 2022 | B | 1 | 20 |
| 6 June 2022 | A | 1 | 10 |
| 6 June 2022 | B | 1 | 20 |
| 13 June 2022 | A | 1 | 10 |
| 13 June 2022 | B | 1 | 20 |
If I try
Instead I want the 90 divided by the number of dates (3), so I'm getting an average SOH overall instead of per store.
Can anyone please help?
Thanks,
Michael
Solved! Go to Solution.
Create below measure and put it in card
Create below measure and put it in card
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 25 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 28 | |
| 23 | |
| 23 |