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

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
Creator
Author

Any suggestions please.

BrunPierre
Partner - Master
Partner - Master

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).