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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |