Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Average Calculations

Hi all,

I need to be able to calculate averages at different levels using one QVD.  I need averages for WKNO, FISPD, QTR and FISYR for each profit center.  Any ideas?

Thanks

11 Replies
qlikview979
Specialist
Specialist

Hi ,

can you please share the expected output.

regards

tmumaw
Specialist II
Specialist II
Author

Here is what I have:

I use sum(aggr(avg(EmpCt_ZEMPCT),[PC Desc],FISYR))  to get the Avg Employee counts by year.

I use sum(aggr(avg(EmpCt_ZEMPCT),[PC Desc],FISYR,Action))  to get the Avg Employee counts by year. and action.  I'm sort of confused on what this is giving me. 

Thanks