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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
benjamins
Partner - Creator
Partner - Creator

Current time selection VS previous year

Hey guys,

I have the following requirement:

I want to make a deliberate selection in my calender within a single year. So say March to July or Weeks 17 to 40, or 12th to end of month in June, Octobre and November. So with the complete flexibility offered.

I then want to compare this selection against the same selection in the previous year.

Is that possible at all?

Thank you so much!

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, see for example this document: QlikView App: Set Analysis - Prior Period Comparison and this blog post: Year-over-Year Comparisons


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Yes, see for example this document: QlikView App: Set Analysis - Prior Period Comparison and this blog post: Year-over-Year Comparisons


talk is cheap, supply exceeds demand
suresh_rawat
Creator II
Creator II

Hi,

Yes it is possible.

Use this Expression.

Current Year = sum( {$<year = {$(=Max(year))}>} Data)

Previous Year = sum( {$<year = {$(=Max(year)-1)}>} Data)

Regards

Suresh Rawat