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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calculated expression?

Hi,

I am trying to calculate a rest, but that only display open records but I am not being able to do it.

I am trying

Today()-[DaysSinceOpened]

But if I try to add the exclusion as

={$<Status -= 'Closed'>},Today()-[DaysSinceOpened]

it's not working, is there a way to make this work?

1 Solution

Accepted Solutions
sunny_talwar

May be try this:

Only({$<Status -= 'Closed'>} Today() - DaysSinceOpened)

View solution in original post

3 Replies
Anil_Babu_Samineni

I am assuming, You are doing set analysis with Interval. Is there any chance to share whole expression?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sunny_talwar

May be try this:

Only({$<Status -= 'Closed'>} Today() - DaysSinceOpened)

sunny_talwar

Or this:

If(Status <>'Closed', Today()) - Only({$<Status -= 'Closed'>} DaysSinceOpened)