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

Set Analysis select a date, up to this date the information should be shown

Hi all,

I am having a table with sales figures including a calendar week field ([Closed: kick-OUT volumes], e.g. 201717).

I would like to select just ONE week in this field and my chart should show all figures up to this week.

I realized that it should be possible with Set Analysis, but somehow it does not work for me:

sum({<Validity={'MT'}, [Closed: kick-OUT volumes]={'<=$(=max([Closed: kick-OUT volumes]))'}>}Sales)

Is anything wrong with my expression?

3 Replies
ahaahaaha
Partner - Master
Partner - Master

Hi,

Try

sum({<Validity={'MT'}, [Closed: kick-OUT volumes]={"<=$(=max([Closed: kick-OUT volumes]))"}>}Sales)        marked in red

sunny_talwar

It looks right to me... have you checked what =max([Closed: kick-OUT volumes]) gives you in a text box object?

neelamsaroha157
Specialist II
Specialist II

Sum({$<Validity={'MT'}, [Closed: kick-OUT volumes]={"<=$(=Max( [Closed: kick-OUT volumes]))"}>}Sales)

(Double Quotes)