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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis not working with a date Set Modifier

Want to limit budget information to the most recent selected date and third level of the budget.

Expression is in a chart.  When the BudgetDate set modifier is added to the expression, the chart says 'No Data to Display'.

The expression works without the BudgetDate set modifier.  Displaying Max(BudgetDate) in a text object shows the expected date.  The syntax seems correct.  I'm stumped.  Hints or suggestions are most appreciated.

SUM( {$ <    BudgetDate = { $ ( #=Max(BudgetDate) ) },

                   BudgetLevel = {'3'}

        > } [Available])

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Just remove a space in your BudgetDate field modifier (the one after the first single quote):

=Sum({< BudgetDate = { '$(=Max(BudgetDate))'}, BudgetLevel = {'3'} >} Available)

View solution in original post

3 Replies
MayilVahanan

HI

Try like this

=Sum({<BudgetDate = { ' $(=Max(BudgetDate))'},BudgetLevel = {'3'}>}Available)

Regards,

R.Mayil Vahanan

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

That  did not solve the issue.  I've attached a small example -- Chart with the issue is the one on the left.

swuehl
MVP
MVP

Just remove a space in your BudgetDate field modifier (the one after the first single quote):

=Sum({< BudgetDate = { '$(=Max(BudgetDate))'}, BudgetLevel = {'3'} >} Available)