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: 
has75042
Creator
Creator

Date Set Analysis

I am trying to implement set analysis, where if user selects a date, I want to show cash amount up-to that date.

This is the Set Analysis I am using, but is not working

=sum({<CalendarLink={$(<=(CalendarLink))}>}total_cash_price)

For example,

If user select 6/1/2019, I want to show all the cash amount upto 6/1/2019.

 

 

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Try this expression:

=sum({<
CalendarLink={"<=$(=only(CalendarLink))"}
>}total_cash_price)

View solution in original post

3 Replies
has75042
Creator
Creator
Author

=sum({<CalendarLink={'$(=only((CalendarLink)))'}>}total_cash_price)
This one is working, however I need to change is to all the amount less than selection date
Vegar
MVP
MVP

Try this expression:

=sum({<
CalendarLink={"<=$(=only(CalendarLink))"}
>}total_cash_price)
has75042
Creator
Creator
Author

Thanks. It worked.