Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
ashraf_qlik
Partner - Contributor
Partner - Contributor

last 02 days average

Hi, I have sales for month for each day individually as per below data. (file attached, Sheet1 - data)

In report i want each day sum(sales) as per below, (file attached, sheet2 - report)

where Max date or last date - previous date/2,means, last day minus 02 days average.

for example, 06th june result will be 07 jun - 06 june sales /2 Please help how to do this

2 Solutions

Accepted Solutions
HirisH_V7
Master
Master

You can use something like this in UI expression,

Rangeavg(above(sum(Sales),0,2))

HirisH
“Aspire to Inspire before we Expire!”

View solution in original post

HirisH_V7
Master
Master

Please close the thread, if you got the answer. 🙂 like even.
HirisH
“Aspire to Inspire before we Expire!”

View solution in original post

3 Replies
HirisH_V7
Master
Master

You can use something like this in UI expression,

Rangeavg(above(sum(Sales),0,2))

HirisH
“Aspire to Inspire before we Expire!”
ashraf_qlik
Partner - Contributor
Partner - Contributor
Author

Thanks

HirisH_V7
Master
Master

Please close the thread, if you got the answer. 🙂 like even.
HirisH
“Aspire to Inspire before we Expire!”