Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Sebastian_Dec
Creator II
Creator II

Show date range in sheets

Hi, how show date range in charts in Qlik Enterprise?

I have function =CYTD.Text that only show current year range.
But if I chose 2020/2021/2023 I have only last year:
2020/2021/2023 -> 2023
2020/2021 -> 2021

I need do show all date range that I chose.

Thanks & Regards,
Please close the thread by marking correct answer & give likes if you like the post.
Labels (1)
1 Solution

Accepted Solutions
marcus_sommer

Some ideas for flags within the master-calendar:

-(daynumberofyear(datefield)<=daynumberofyear(today())) as YTD,
year(today()) - year(datefield) as YearOffset

View solution in original post

2 Replies
marcus_sommer

Some ideas for flags within the master-calendar:

-(daynumberofyear(datefield)<=daynumberofyear(today())) as YTD,
year(today()) - year(datefield) as YearOffset

Sebastian_Dec
Creator II
Creator II
Author

Thx, I use master calendar and make KPI with date:

Min(Data)

Max(Data)

Thanks & Regards,
Please close the thread by marking correct answer & give likes if you like the post.