Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
redalert787
Helper II
Helper II

Help calculating inventory coverage

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: 

 

https://amersportsonline-my.sharepoint.com/:x:/g/personal/ardi_sardashti_amersports_com/EeSjobC4xgZF... 

 

 

 

Here is a basic picture of a pivot table I'm using: 

redalert787_2-1605692300099.png

 

Thanks for your help! 

 

 

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

I have the same issue. Can someone help here?

redalert787
Helper II
Helper II

Hi, 

 

can anyone help on the above??? here is an updated link to the sample data set:

 

https://amersportsonline-my.sharepoint.com/:x:/g/personal/ardi_sardashti_amersports_com/EeSjobC4xgZF... 

redalert787
Helper II
Helper II

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. 

CNENFRNL
Community Champion
Community Champion

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!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.