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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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?

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be try this:

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

View solution in original post

3 Replies
Anil_Babu_Samineni
MVP
MVP

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
MVP
MVP

May be try this:

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

sunny_talwar
MVP
MVP

Or this:

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