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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
materi
Contributor III
Contributor III

Set expression using Now()

I am trying to eliminate all Ticket_ID data where the latedate has been passed. Why doesn't the expression below work:

Count({$<LateDate>{Now()}>}Ticket_ID)

3 Solutions

Accepted Solutions
StarinieriG
Partner - Specialist
Partner - Specialist

Hi

 

try to use this:

Count({$<LateDate={$(=Now())}>}Ticket_ID)

View solution in original post

Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi Materi

You cannot use greater than (>) in a set expression directly. You have to specify a condition that has to be satisfied. The following should work:

Count({$<LateDate={">$(=Now(1))"}>}Ticket_ID)

Regards,

Mauritz

View solution in original post

asinha1991
Creator III
Creator III

Count(if(LateDate>Now(),Ticket_ID))

View solution in original post

3 Replies
StarinieriG
Partner - Specialist
Partner - Specialist

Hi

 

try to use this:

Count({$<LateDate={$(=Now())}>}Ticket_ID)

Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi Materi

You cannot use greater than (>) in a set expression directly. You have to specify a condition that has to be satisfied. The following should work:

Count({$<LateDate={">$(=Now(1))"}>}Ticket_ID)

Regards,

Mauritz

asinha1991
Creator III
Creator III

Count(if(LateDate>Now(),Ticket_ID))