Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
vikas_nandanwar
Creator II
Creator II

Average Inventory Calculation

Hi,

Avg( Aggr( Sum(Qtyl), Date))

The above expression worked to some extent.

Now When i am drilling down to the final date, Its not giving me the correct answer.

I have my data as -

    

DateDeptWorkCenterSub DeptQtyCo. CodeType
2-Jan-17MfgAPURE10ZZGold
2-Jan-17RMBKARAT30XXPlatinum
2-Jan-17MfgCPURE30YYSilver
2-Jan-17JWASPRUE20ZZPlatinum
2-Jan-17MfgDFIL40XXGold
2-Jan-17RMDBAG50YYSilver
3-Jan-17MfgACHK10WWPlatinum
3-Jan-17JWBFIL20VVGold
3-Jan-17MfgCFILWIP20WWGold
3-Jan-17JWBCHK10VVSilver
3-Jan-17RMCFIL30XXPlatinum
3-Jan-17RMBBAG30ZZPlatinum
3-Jan-17MfgACHK20YYSilver
4-Jan-17JWBFIL50VVGold
4-Jan-17MfgCFILWIP10WWGold
4-Jan-17RMBBAG20VVSilver
4-Jan-17MfgCFIL40XXPlatinum
4-Jan-17JWAAAG40ZZSilver
4-Jan-17MfgDFIL20WWGold
4-Jan-17RMAAAG10YYPlatinum

I need to check drill down on a single date say 2nd Jan = Total Inventory of Qty = 180

Note this is sample data and will contain data from 1st Jan to 31st Oct.


Thanks,

Vikas

26 Replies
Anil_Babu_Samineni

Show me the image of expression with full image

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vikas_nandanwar
Creator II
Creator II
Author

Untitled.jpg

Here Total(Pure)=Qty (Field)

Anil_Babu_Samineni

Extremely Sorry, Question related Qliksense. But, You make sure to mention "In Place" should be Qliksense. So, It is  not existing function for sense. May be someone offer you

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vikas_nandanwar
Creator II
Creator II
Author

Didn't get you on that one

Anil_Babu_Samineni

If you give proper answer, Then we will get answer for you. From given data what are you going to get using simple Straight table? So, Then we can make for you

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vikas_nandanwar
Creator II
Creator II
Author

Hi,

I am giving you proper answer.
My final aim is-

1.     To get average inventory department wise whenever I am at multiple dates or at clubbed Month Level

2.     When I select a single date from filter, I should get total or Sum for that date

Vikas

vikas_nandanwar
Creator II
Creator II
Author

Hi Anil,

I tried this one

And It worked

Thanks for the help.

I appreciate.