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

Need help with Set Analysis Dynamic Date

I have two basic date based set analysis summations. One works (bottom) the top one does not.

The dynamic date generates the same date 04/01/2013 when I place it in a text box for testing.

Not sure why it still sums up all months regardless. No errors, but wrong summation.

Dynamic still sums up all months;

=Sum({$<RevMonth={'=Date(MonthStart(Today(2)))'}>} RevAmt)

Works for April 2013 perfectly for this date: 04/01/2013

=Sum({$<RevMonth={'04/01/2013'}>} RevAmt)

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try sum({$<RevMonth={'$(=Date(MonthStart(Today(2))))'}>} RevAmt)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try sum({$<RevMonth={'$(=Date(MonthStart(Today(2))))'}>} RevAmt)


talk is cheap, supply exceeds demand
Not applicable
Author

Well that worked perfect!  I guess I needed to add {'$(=... inside the modifier....

Thanks!