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: 
davdiste
Partner - Creator
Partner - Creator

Conditional count of selected or not selected dimension

Hello,

I'm considering the following challenge, concerning the dimension MONTH.

I need to find a expression that:

- if none month is selected, give back 0;

- if some months are selected, give back the number of the months selected;

I've tried with the following expression but doesn'tm work

=Count({<MESE={'$(=MESE)'}>}MESE)

Anyone can help me?

Thanks

Davide

1 Solution
3 Replies
sunny_talwar

Why not just this

=GetSelectedCount(MESE)

davdiste
Partner - Creator
Partner - Creator
Author

thx Sunny, I'II read it!!!

Bye