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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
slribeiro
Partner - Creator
Partner - Creator

set analysis issue

Greetings.

I want to put in a variable how many countries I have which has sales in the period I've created with a flag.

I have the following but something's wrong.

=count(DISTINCT {<YTDFlag={'1'},Country={"$(=sum({<YTDFlag={'1'},...other  set analysis...>}Sales))>0">} Country)

Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this:

=Count(DISTINCT {<YTDFlag={'1'}, Country={"=Sum({<YTDFlag={'1'},...other  set analysis...>}Sales))>0"}>} Country)

View solution in original post

1 Reply
sunny_talwar
MVP
MVP

Try this:

=Count(DISTINCT {<YTDFlag={'1'}, Country={"=Sum({<YTDFlag={'1'},...other  set analysis...>}Sales))>0"}>} Country)