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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
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
Partner - Champion III
Partner - Champion III

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)