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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

previous 3 months avg

Hi All,

please help to calculate last 3 months of avg. in pivot table.

thanks,

Raja

Labels (1)
3 Replies
arulsettu
Master III
Master III

for example calculating last 3 month sales average

avg({<month={$(=max(month)-3)}>}sales)

arulsettu
Master III
Master III

or

=avg({<month={">=$(=max(month))<=$(=max(month)-3)"}>}sales)

manideep78
Partner - Specialist
Partner - Specialist

Avg({<month={">=$(=max(month)-3)<$(=max(month))"}>}Sales)