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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem Regarding set analysis

Hi All,

I want to calculate average salary from 1-Feb 2014 to till date i.e today()-1 .....How i can calculate in set analysis ....

I tried with the below code but did not get the proper answer :----

Sum( {<  Date={"$(=Makedate(2011,02,05)) "}   >}   SALARY)

Please check and do needful for me ..................

Sarfaraz

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Sum( {<  Date={">=$(=Makedate(2011,02,05))<=$(Date(Today()-1))"}   >}   SALARY)

View solution in original post

4 Replies
ogster1974
Partner - Master II
Partner - Master II

Try AVG({<Date={">=01/02/2014 <=Today()-1"}>} Salary)

anbu1984
Master III
Master III

Sum( {<  Date={">=$(=Makedate(2011,02,05))<=$(Date(Today()-1))"}   >}   SALARY)

Not applicable
Author

Thnaks a lot anbu .....your solution is working as expected .......and andy i tried with your solution also but did not work ....

Anyway thanks a lot for your reply !!!!!!!!!!

Sarfaraz

anbu1984
Master III
Master III

Please mark as answered/helpful if our replies resolved your query