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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
uridiumabs
Partner - Contributor II
Partner - Contributor II

Problems with set analysis

Hello,

I need to show a column in a Pivot Table wich counts some rows depending on a condition:

the formula is:  Count(Distinct  {$<[$(variable1)+$(variable2)]= {'>0'}>} [CommercialSite])

So I want to count comercial sites that variable1 greater than 0 and variable2 greater than 0. This sentence is not working because is counting all rows as if no condition is set.

I have checked the syntax and for me is ok, Can anybody help me with this?

Thank you very much.

22 Replies
uridiumabs
Partner - Contributor II
Partner - Contributor II
Author

I'm sorry Matus, I don't get you.

Could you please attach the screenshot?

Thank you very much

mkelemen
Creator III
Creator III

@ has no special meaning here I just used it so that the variable is visible - otherwise the $(variable) would be replaced by the value inside.

eduardo_dimperio
Specialist II
Specialist II

Understood, thank you Matus