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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Noor51
Creator
Creator

Set Expression Not filtering

Hi Everyone,

I created a set expression to get a distinct count of member keys for Q2 2024, but it’s not working as expected. I’m using Qlik Sense on-premise, May 2023 version.

This is the set expression I wrote " Count(distinct({<QuarterYear={'Q2-2024'}>} Member_Key)) ".

Any help would be appreciated. 

Noor51_0-1730125946306.png

 

Labels (1)
2 Solutions

Accepted Solutions
MatheusC
Specialist II
Specialist II

Adjust your expression by removing the parentheses from distinct () , there is no need, that should be enough:

Count(distinct {<QuarterYear={'Q2-2024'}>} Member_Key ) 

- Regards, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!

View solution in original post

Kushal_Chawda

@Noor51  Just to avoid any errors always try New set analysis syntax

{<QuarterYear={'Q2-2024'}>}count( distinct Member_Key)

View solution in original post

4 Replies
MatheusC
Specialist II
Specialist II

Adjust your expression by removing the parentheses from distinct () , there is no need, that should be enough:

Count(distinct {<QuarterYear={'Q2-2024'}>} Member_Key ) 

- Regards, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Kushal_Chawda

@Noor51  Just to avoid any errors always try New set analysis syntax

{<QuarterYear={'Q2-2024'}>}count( distinct Member_Key)

seanbruton

Superb, I like this solution!!!

Noor51
Creator
Creator
Author

Thanks I didn't know that I could do that.