Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic description of chart

Hello qlikers 🙂 ,

default my line chart show the last 30 days

IF(Time >= Date(Today()-30), Date(Time, 'DD.MM.YYYY'), null())

The description is "The last 30days". But Now I have a year, month and day filter.
I want now build a dynamic description. Default it should stands "The last 30days". But when I'm selecting  months, or days they are in a row  and directly behind today it should stand "the last xy months" , "the last xy days". When I'm selecting only one month or day it should only stand the day, month name. When I'm selectin a month or day they are not directly behind each other for example May, August then it should stands "May, August".

Do you have an idea to build something like that?

Thank you in advance!!! 🙂

Labels (3)
1 Solution

Accepted Solutions
UserID2626
Partner - Creator III
Partner - Creator III

Date(aggr(only({<Date=,Month=,Year=,Week=,Quarter=,Date={"<=$(=Date(Max(Time)-29))"}>}Time),Time),'DD.MM.YYYY')

 

Change the red part as per your requirement. in green enter the field names related to date to display only that 30 days

 

https://community.qlik.com/t5/QlikView-App-Development/ASK-set-analysis-to-ignore-date-selection/m-p...

View solution in original post

1 Reply
UserID2626
Partner - Creator III
Partner - Creator III

Date(aggr(only({<Date=,Month=,Year=,Week=,Quarter=,Date={"<=$(=Date(Max(Time)-29))"}>}Time),Time),'DD.MM.YYYY')

 

Change the red part as per your requirement. in green enter the field names related to date to display only that 30 days

 

https://community.qlik.com/t5/QlikView-App-Development/ASK-set-analysis-to-ignore-date-selection/m-p...