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

3 Months Average in Straight Table ?

Hi Techies,

I need to find average of 3 months in a  straight table. Here Month_Yr is dimension. I have measure field day wise from source table.

Example:

For Month_Yr "Mar-2015", calculate average for values from 01-Jan-2015 to 31-Mar-2015.

For Month_Yr "Apr-2015", calculate average for values from 01-Feb-2015 to 30-Apr-2015 and so on.

Here I have attached Test files for your reference.

14 Replies
raju_insights
Partner - Creator III
Partner - Creator III
Author

Hi Anil,

It should be constant.

raju_insights
Partner - Creator III
Partner - Creator III
Author

Awesome Sunny! This is what I want. Thanks .

sunny_talwar

Great

vinieme12
Champion III
Champion III

Without making changes to your load script you can use expression as below

rangesum(above(sum(Measure),0,3))

/

rangesum(above(Count(DateIS),0,3))

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
raju_insights
Partner - Creator III
Partner - Creator III
Author

Extraordinary Vineeth ... Perfect...