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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
amars
Specialist
Specialist

Set Analysis Expression

Hi all,

If anybody could tell me an equivalent Set Analysis expression for the below

Count(Distinct If([Part of Headcount]='Yes' and [Start Date For Month] = CurrentMonth,[Emp ID]))

Note that the [Start Date For Month] & CurrentMonth are dates.

Please help.

Thanks in advance.

Amar

Labels (1)
1 Reply
brenner_martina
Partner - Specialist II
Partner - Specialist II

Hi,

try this:

Count({<([Part of Headcount]={'Yes'},[Start Date For Month] = {$(=CurrentMonth)}>} Distinct [Emp ID])