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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Krish2459_58
Creator II
Creator II

set analysis

Hi,

Help me to integrate this condtion in set analyis.

 

Condition : Max([Lease Expiration])-Now()<=360

Expression : sum(sales)

 

Thanks,

Labels (1)
3 Replies
Krish2459_58
Creator II
Creator II
Author

Any suggestions please.

BrunPierre
Partner - Master II
Partner - Master II

Have you already tried something like this?

=If(Floor(Max([Lease Expiration]) - Now()) <= 360, Sum(sales))

Vegar
MVP
MVP

How does your data look like. Donyou have [Lease Expiration] on transaktion lever? If so then you can do something like this:

Sum({<

[Lease Expiration]={"<=$(=360+Now())"}

>} Sales)

 

If you don't then you might need to tell us more about your datamodel and the relation between Sales transactions and the table holding the [Lease expiration] field and how which dimensions you have in your visualisation object (chart/table/kpi).