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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Interval Statement

I am not able to get this to work.  Is my syntax off?  I would appreciate your help.

Count(
{$<
Interval(EncounterAppointmentDate-ReferralEntryDate, 'D')
={'<30'}
>}, 
DISTINCT ReferralID_Clarity)

Labels (1)
1 Reply
dwforest
Specialist II
Specialist II

The left side of a set expression can only be a dimension and set expressions are only evaluated once per chart, not per row.

If possible, add the interval statement to the data load script and create a flag that could then be used as $<LessThan30={1}>