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!
Hello,
I work for a retailer and am building a dashboard to help model inventory coverage based on our inventory and sales. I am using power query/ power pivot but I'm not too familiar with DAX functions so I was hoping I could get some help here.
The basic calculation I would like to do is for inventory coverage that I can bring into a pivot table. We calculate inventory coverage as: inventory/(sales for last 4 weeks/4).
here is a link for a sample data set of what I am using showing the sales and inventory of the stores and warehouse:
Here is a basic picture of a pivot table I'm using:
Thanks for your help!
I have the same issue. Can someone help here?
Hi,
can anyone help on the above??? here is an updated link to the sample data set:
Hi @CNENFRNL , my apologies I should have changed the name. In the mock up "inv net units" in column Q is the net sales. where was "Total inv" is the inventory in the stores or warehouse.
Hi, @redalert787 , but your mockup dataset doesn't contain amount of sales?
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
I've updated the sample set worksheet here: https://amersportsonline-my.sharepoint.com/:x:/g/personal/ardi_sardashti_amersports_com/EeSjobC4xgZF...
Thanks,
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 14 | |
| 13 | |
| 9 | |
| 8 | |
| 7 |