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: 
suvechha_b
Creator III
Creator III

Expression with variable

Hi All ,

Please assist me in getting the measure correct - 

I have max year in my script - SET vMaxUWYear=Max([UWY_KEY]);

But the below expression is not having result -

Measure - sum({$<[UWY_KEY]={$(vMaxUWYear)}>}GROSS_CLAIMS_PAID)

Please assist.

Thanks in Advance.

1 Solution

Accepted Solutions
sunny_talwar

Try this may be

Sum({$<[UWY_KEY] = {"$(=vMaxUWYear)"}>} GROSS_CLAIMS_PAID)

Or this

Sum({$<[UWY_KEY] = {"$(=$(vMaxUWYear))"}>} GROSS_CLAIMS_PAID)

View solution in original post

1 Reply
sunny_talwar

Try this may be

Sum({$<[UWY_KEY] = {"$(=vMaxUWYear)"}>} GROSS_CLAIMS_PAID)

Or this

Sum({$<[UWY_KEY] = {"$(=$(vMaxUWYear))"}>} GROSS_CLAIMS_PAID)