Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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

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)