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: 
Not applicable

set analysis

i have data in table like below

table1

total  sno

10        1

12       2

6          3

table2

price1price2sno
461
662
243

in want to use set analysis

count(  {<total={'>=10'} , total= {'>=if(isnull(price1)=-1,0,price1) + if(isnull(price2)=-1,0,price2)'}  >}     sno)

is this expression possible>???? for me giving empty chart

3 Replies
Not applicable
Author

In actual scenario i have some records which are total > price1+price2

ashwanin
Specialist
Specialist

Please tell, what actual you required in output .

avinashelite

try like this:

it will work but it should be double quots "" not the single quots ''

count(  {<total={">=10"} , total= {">=if(isnull(price1)=-1,0,price1) + if(isnull(price2)=-1,0,price2)"}  >}     sno)