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

SET ANALYSIS

Hello my friends!!

A question about SET ANALYSIS    

I want to show allways the data for December for the previous year in the following scritp:

=Avg({< Month={'Dec'}, Year=, MonthYear=, QuarterYear=,PAÍS=,Country=,NivelJerarquia={1}>}Nota)

What I have to do in the field YEAR in order to show the previous one

Regards!

Labels (1)
2 Replies
maxgro
MVP
MVP

=

Avg({<

     Month={'Dec'},

     Year={$(=Max(Year)-1)},

     MonthYear=, QuarterYear=,PAÍS=,Country=,NivelJerarquia={1}>}

     Nota)

Not applicable
Author

Many thanks!! it works!