Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Variables in set analysis is not working

Hi

I have scenario,

I have data upto next  20 years from last couple of years

Example my database is from

2005-01-01 to 2016-09-01(current month) and i am adding next 20 years data i.e.2036-09-01

i want to show database max value sales like below

sum({<Date = {$(V_DB_Max_date)}>} Sales)

here Date is number format

If i give sum({<Date = {42614}>} Sales) it is working fine

Please do the needful

Thanks

Thiru

1 Solution

Accepted Solutions
sunny_talwar

Try this may be:

Sum({<Date = {$(=V_DB_Max_date)}>} Sales)


or

Sum({<Date = {$(=$(V_DB_Max_date))}>} Sales)

View solution in original post

2 Replies
sunny_talwar

Try this may be:

Sum({<Date = {$(=V_DB_Max_date)}>} Sales)


or

Sum({<Date = {$(=$(V_DB_Max_date))}>} Sales)

Anonymous
Not applicable
Author

Hi Thiru, try this


sum({<Date = {$(=Date(V_DB_Max_date))}>} Sales)


Regards!