Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
vikas_nandanwar
Creator II
Creator II

Calculate Inventory Days

Hi,

I have Inventory Data Sheet with following Columns -

DateMetalInvDeptCo.

I have Sales Data sheet with following Columns -

DateMetalSalesCo.

My Date, Metal and Co is linked

Now I want to calculate Dept wise Inventory Days 

(Avg Dept Wise inventory )/(Avg Sales)

Please help how to calculate

Thanks

Vikas

3 Replies
prma7799
Master III
Master III

Like this??

Aggr(Count( Inventory Days ),Dept )

vikas_nandanwar
Creator II
Creator II
Author

Nope

It should be like

(Avg dept wise inventory)  / (Dept Wise Sales)

I have Average Dept Wise inventory

But how to get dept wise sales

prma7799
Master III
Master III

Try like this

Aggr(Avg( Inventory Days ),Dept ) / Aggr(sum( Sale ),Dept )