Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

1 Solution

Accepted Solutions
sunny_talwar

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

Try this:

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