Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.