Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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!!! 🙂
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
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