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: 
Anonymous
Not applicable

Variable in set analysis

Hi

can someone help me in understanding what is wrong with this expression?? I am having trouble with the vToday variable:

=sum({<DTA_MAKEDATE= {'$(=Date(monthname($vToday,-1),'MM/YYYY'))'}>} PDT_DBL_AUM)

Tx

4 Replies
jpenuliar
Partner - Specialist III
Partner - Specialist III

try enclosing your variable with (), $(vToday)

Colin-Albert
Partner - Champion
Partner - Champion

There are brackets missing

=sum({<DTA_MAKEDATE= {'$(=Date(monthname($(vToday), -1),'MM/YYYY'))'}>} PDT_DBL_AUM)

amit_saini
Master III
Master III

Try this:

=sum({<DTA_MAKEDATE= {'$(=Date(monthname($(=vToday,-1)),'MM/YYYY'))'}>} PDT_DBL_AUM)

Thanks,

AS

sushil353
Master II
Master II

Try this one:

=Sum({<DTA_MAKEDATE = {'$(=Date(monthname($(vToday,-1)),'MM/YYYY'))'}>} PDT_DBL_AUM)

HTH

sushil