Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dears
I want to create an input box (for days) that when I enter for example 45, my revenue table should show the revenue of the last 45 days.
expression of table : sum({<Area_Category-={"Test","Free ShortCode","Xtratime","ACS"}>}REVENUE)
dimension of table : date_key , Area_Category
would you please help me in this regards?
You can create a flag in master calendar to find days ago.
Refer
https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130
for As of Date flag.
And use variable in input box.
Search on google
As of calendar qlikview by HIC
Hey,
You may try below expression,
sum({<Area_Category-={"Test","Free ShortCode","Xtratime","ACS"},Date={">=$(=DATE(MAX(Date)-iDays))<=$(=DATE(MAX(Date)))"}>}REVENUE)
Here, iDays is input box variable , Date is date field in data model
Thanks..