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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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

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])