Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a KPI I want to include, but I want my answer to be filtered to only include dates >90 days. What sort of expression would achieve this?
The data pulled for the KPI is all dates in the format 09 May 2017, if that help.
Thanks!
You want to Sum your creation Date? What do you get by summing a date field? Anyways, you might need to use Creation Date in your set analysis also
Sum({<[Creation Date] = {"$(='>'&Date(Today()-90,'DD/MM/YYYY'))"}>} [Creation Date])
Sorry no it should be count. This works now:
Count({<[Creation Date] = {"$(='>'&Date(Today()-90,'DD/MM/YYYY'))"}>} [Creation Date])Thank you!
(p.s. I have another post in regards to both stacked and group charts into one in Qlik Sense 🙂 )
Stacked and Grouped Chart in One?
It is, the only thing I would change is to use double quotes instead of single quote
Count({<[PD.Days at Current Status] = {">90"}>} [PD.Days at Current Status])
May be something like this
Sum({<Date = {"$(='>' & Date(Today()-90, 'DD MMM YYYY'))"}>}Measure)
I have added this to the Expression, but it says 0 when it should be 5.
Do I edit this in anyway? aka the DD MM YYYY at all?
Also, look here
I've created a test now to show you.
I have put this expression down:
Sum({<Date={"$(='>'&Date(Today()-90,'DD/MM/YYYY'))"}>}Creation Date)
And my data inputted looks like the attached. And in my KPI is gives a dash.
You want to Sum your creation Date? What do you get by summing a date field? Anyways, you might need to use Creation Date in your set analysis also
Sum({<[Creation Date] = {"$(='>'&Date(Today()-90,'DD/MM/YYYY'))"}>} [Creation Date])
Sorry no it should be count. This works now:
Count({<[Creation Date] = {"$(='>'&Date(Today()-90,'DD/MM/YYYY'))"}>} [Creation Date])Thank you!
(p.s. I have another post in regards to both stacked and group charts into one in Qlik Sense 🙂 )
Stacked and Grouped Chart in One?
Hi also one last one which is very similar.
I have a column that is Days at Current Status, see the attached excel.
How do I filter this as well for ones greater than 90 days, counting the number of occurrences under Days at Current Status.