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: 
MK_QSL
MVP
MVP

Set Analysis

What’s wrong this set analysis

  =sum({$<[Country]={'Germany','United Kingdom, 'France'}>}$(vTotalSale))

1 Solution

Accepted Solutions
AbhijitBansode
Specialist
Specialist

Change the value of variable to:

if( CURRENCY='eur',  QTY*PRICE,  QTY*PRICE*[EX RATE]  )

and use the set expression that you have already written on Text Object of your qvw file.

View solution in original post

12 Replies
sujeetsingh
Master III
Master III

sum({$<[Country]={'Germany','United Kingdom, 'France'}>}$(vTotalSale))

See the red coclor says that one brachet is needed

sujeetsingh
Master III
Master III

sum({$<[Country]={'Germany','United Kingdom, 'France'}>}vTotalSale))

Anonymous
Not applicable

Hi

=sum({$<[Country]={'Germany','United Kingdom', 'France'}>}$(vTotalSale))

   use this analysis

And 'United Kingdom' semicolon is not there

Regards

Shivaji

MK_QSL
MVP
MVP
Author

Thanks for your reply. But I am getting value 0...

=sum({$<[Country]={'Germany','United Kingdom, 'France'}>}vTotalSale)

Here vTotalSale is varialble defines Invoice Total....

Anonymous
Not applicable

=Sum({$<Country={$(=Germany)},Country={$(=France)},Country={$(=United Kingdom)}>}vTotalSales)

Anonymous
Not applicable

Hi

=Sum({$<Country={$(=Germany)},Country={$(=France)},Country={$(=United Kingdom)}>}$(vTotalSales))

Regards

shivaji

MK_QSL
MVP
MVP
Author

Not Working....

AbhijitBansode
Specialist
Specialist

Sum( { $ < [country] = {'Germany','United Kingdom','France'} > } $(vTotalSale) )

Above set expression should work, provided you have defined vTotalSale correctly.

Make sure that vTotalSale does not start with = sign in variable overive dialog box.

Sokkorn
Master
Master

Hi,

Can you share definition of vTotalSale  here?


Regards,

Sokkorn