Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Qlik Launches Open Lakehouse and advanced agentic AI experience in Qlik Answers! | LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Average for (Week, Month and Year)

Trying to figure out how to get some averages using the attached file.  I need an average for the Profit Center by FISYR, FISPD and WEDAT.  Would like to do this in the script if possible.

Thanks

1 Solution

Accepted Solutions
sunny_talwar

May be like this:

LOAD [Profit Center],

           WEDAT,

           FISYR,

           FISPD,

           Avg(NoEmp) as AvgNoEmp

Resident ....

Group By

           [Profit Center],

           WEDAT,

           FISYR,

           FISPD;

View solution in original post

2 Replies
sunny_talwar

May be like this:

LOAD [Profit Center],

           WEDAT,

           FISYR,

           FISPD,

           Avg(NoEmp) as AvgNoEmp

Resident ....

Group By

           [Profit Center],

           WEDAT,

           FISYR,

           FISPD;

tmumaw
Specialist II
Specialist II
Author

Thanks Sunny......