Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 67 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |