Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Qlik Community,
I’m Prakash Hinduja, a consultant based in Geneva, Switzerland (Swiss), currently working on a KPI-driven dashboard for a client. I’m looking to display variation in KPIs—specifically, I want to compare this period’s total to the same period last year in a clear and dynamic way using a KPI chart.
Regards
Prakash Hinduja Geneva, Switzerland (Swiss)
Example:
This year
Sum({<DateField = {">=$(=Date(Today()-30))<=$(=Date(Today()))"}>} Sales)
Last year
Sum({<DateField = {">=$(=Date(AddYears(Today()-30,-1)))<=$(=Date(AddYears(Today(),-1))"}>} Sales)