Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
phongnnguyen
Contributor II
Contributor II

Average range in qlik sense

Hello everybody,

I have a problem about to calculate average a range. like my example below:

DateEquity
11000
21000
32000
4500
5500
63000

I want my result is a column with accumulate average UNIQUE Equity

DateEquityaverage Equity
110001000
210001000
320001500
45001166.67 = (1000+2000+500)/3
55001166.67
630001625

Please help me if you have any solution for this

Many Thanks,

2 Replies
sunny_talwar

Is this something you need in the script?

phongnnguyen
Contributor II
Contributor II
Author

Actually, I want to set my analysis to do that. I tried to use rangeAvg but it is not working.