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: 
Taylorcc
Contributor III
Contributor III

Add date to set analysis

Hi everyone, 

I am filtering a table column by the following: 

=if(Calendar ='ReferralDate' and SuicideReferralFlagName='Yes' and ReferralEpisode_SuicideReferral_BinaryFlag=1 and SCNoShowId=2 and SCClientParticipationIndicatorId=1, ReferralNumber)

I only want to count the referral number if SCNoShowId=2 and SCClientParticipationIndicatorId=1 on the first service contact date, so something like this needs to be added to the set analysis but I can't get it working:

=Date(Min([SCServiceContactDate],ReferralNumber))

 

Thank you 

 

Labels (1)
1 Solution

Accepted Solutions
Saravanan_Desingh
MVP
MVP

Try this.

Count({<SCServiceContactDate={'$(Date(=Min([SCServiceContactDate])))'},SCNoShowId={2},SCClientParticipationIndicatorId={1}>} ReferralNumber)

View solution in original post

2 Replies
Saravanan_Desingh
MVP
MVP

Try this.

Count({<SCServiceContactDate={'$(Date(=Min([SCServiceContactDate])))'},SCNoShowId={2},SCClientParticipationIndicatorId={1}>} ReferralNumber)
Taylorcc
Contributor III
Contributor III
Author

Perfect, thank you!