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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
bimala0507
Partner - Creator
Partner - Creator

Has anyone tried to use Rangeavg function using Set analysis

Hi:

Anyone having expertise in Set Analysis? I want to calculate Cumulative average against each Month and Year with 2 Years of Sales Data. Attached the Input file and QV file, if anyone can give an insight?

Kind Regards,

Bimala

5 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

Can you explain your expected output for RangeAverage with an example.

Regards,

Jagan.

Kushal_Chawda

Do let me know what exactly you need with required output

bimala0507
Partner - Creator
Partner - Creator
Author

@

Hi Jagan/Khush:

Please find attached the result excel sheet, I would like to achieve.

Basically I am trying to calculate the Moving average, so For Jan it is to be Jan (Amount) by 1 and for Feb it will be  Jan(Amount) + Feb(Amount) /2 and so on and when the year changes it  needs to be reset.

Kind Regards,

Bimala

tresesco
MVP
MVP

Try:

=RangeAvg(Above(Sum(Amount),0, RowNo()))

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this expression

=RangeAvg Aabove(Sum(Amount),0, RowNo()))

Regards,

Jagan.