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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Two years Date range

Hi All,

I have a doubt, can any one help me out.

I have a columns like

1. Quarter_year

2. Year

3. Date

Data:

We have 2014 January to till date.

I want show expression output like : January 2014 to December 2016

Can any one help me with expression.

Note:

1.Metric has to be set for 2 years .

2 date as date range as to be 2 years

Thanks.

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This expression returns the result you want ='January 2014 to December 2016'

Now please explain what you're really trying to do. An example with some data would be useful.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi Nanda,

You can do it with year field: Max(Year)-2

Regards!!

Not applicable
Author

Hi Gys,

I have been attached QVW Can you please check once.

Edit Script  have inline Data.

Thanks