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

Set Analysis - '}' expected

Hello,

I have created the following expression in a textbox:

=max({<Year= {"$(=max({1} Year))"}>Left([ YearMonth],2))

Result:

Error: '}' expected

I already been looking around and I cant spot where the problem is...

Can you give me a hint please!

Thank you!

11 Replies
effinty2112
Master
Master

Hi,

     A useful tip is to type your brackets in pairs then go back a space and fill in the content, so in the is case type {} then go back inside the brackets and enter your text.

Cheers

Andrew

vishsaggi
Champion III
Champion III

I always do this when every i am writing a set analysis:

Typing {< >}

= Sum( {< >} YearMonth)

And then start from there.

Thanks,

V.