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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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)