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

SET ANALYSIS

HI,

i have a problem with set analysis-

this is my expression

SUM({<For_Year={$(<=Max([SO YEAR L]))}>}SO_LINE_SALES_VALUE_USD)

do you know why this expression is not working?

if im not putting the < its working...

tnx,

adi

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

That should be

SUM({<For_Year={"<=$(=Max([SO YEAR L]))"}>} SO_LINE_SALES_VALUE_USD)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

That should be

SUM({<For_Year={"<=$(=Max([SO YEAR L]))"}>} SO_LINE_SALES_VALUE_USD)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
jagan
Luminary Alumni
Luminary Alumni

Try like this


SUM({<For_Year={'<=$(=Max([SO YEAR L]))'}>}SO_LINE_SALES_VALUE_USD)


Regards,

Jagan.

sunny_talwar

This should also work:

Sum({<For_Year={$(='<=' & Max([SO YEAR L]))}>} SO_LINE_SALES_VALUE_USD)