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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis error?

Hi everyone,

I have created an exprssion where I want a row to show January's figures regardless of the month selection. the only reason that this should change is if the year changes. therefore using set analysis I have created the expression:

sum({<Master_Calendar_MonthYear={"=$(=yearstart(Master_Calendar_MonthYear))"}>} Value)


This however, doesn;t seem to work. If I do a simple yearstart(Master_Calendar_MonthYear) in a text box it gives the correct answer so I'ma little puzzled why it isn't working for the set analysis.
Can anyone see what is missing?
Thanks</body>
2 Replies
googel84
Partner - Creator III
Partner - Creator III

I would try with

sum({<Master_Calendar_MonthYear = {'$(=yearstart(Master_Calendar_MonthYear))'}>}Value)

I cancelled an "=" sign and used single quote instead of double.

Hope it helps.

Not applicable
Author

That just makes the table show no data at all unfortunately. thanks for the suggestion though.