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: 
arvindjha2050
Creator
Creator

Set Analysis

Hello all,

 

This is with regard to set analysis :

count({$<Country = {"sum({$<Week = {">$(=$(vTest))"}>}Sales) > 1000"}>}distinct Country)

 

The double quotes doesn't  work inside the element set , with single quote output is not correct

1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Hi Arvind,

Single quotes wouldn't work for search strings. Instead try with back quote sign (grave accent) `, like:

count({$<Country = {"=sum({$<Week = {`>$(vTest)`}>}Sales) > 1000"}>}distinct Country)

View solution in original post

4 Replies
Thiago_Justen_
MVP
MVP

What about this?

count({$<Country = {"=sum({$<Week = {'>$(vTest)'}>}Sales) > 1000"}>}distinct Country)

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
arvindjha2050
Creator
Creator
Author

Hello ,

 

thanks for the reply but this option is already tried , it returns zero instead of correct output

tresB
Champion III
Champion III

Hi Arvind,

Single quotes wouldn't work for search strings. Instead try with back quote sign (grave accent) `, like:

count({$<Country = {"=sum({$<Week = {`>$(vTest)`}>}Sales) > 1000"}>}distinct Country)

arvindjha2050
Creator
Creator
Author

Thanks a lot Tresesco , it works