Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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

Try this.

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

View solution in original post

2 Replies
Saravanan_Desingh

Try this.

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

Perfect, thank you!