Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 35 | |
| 24 | |
| 22 |
| User | Count |
|---|---|
| 135 | |
| 111 | |
| 57 | |
| 44 | |
| 38 |