Skip to main content
Announcements
Get Ready. A New Qlik Learning Experience is Coming February 17! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set analysis help

Hi

Please explain me what does the following expression mean

sum(<Region=,Country=>Sales)

does it gives the all sales data related to region and Country ? Correct me if i am wrong .

Thanks

1 Solution

Accepted Solutions
satishkurra
Specialist II
Specialist II

Hi

Yes you are correct. You can understand yourself by performing the below

Below is the sample data, load it in Qlikview, Reload

 

CountryRegionSales
AX100
BY200

Create a straight table and Dimension as Country and expressions as

1. Sum(Sales)

2. Sum({<Region=,Country=>}Sales)

Click Finish

Now get the Country, Region object to the presentation layer and perform selection

Now observe how your expressions are behaving.

Thanks

Satish

View solution in original post

6 Replies
Anonymous
Not applicable
Author

sorry !! the correct expression is sum({<Region=,Country=>}Sales)

maxgro
MVP
MVP

sum( {<Region=,Country=>} Sales )

sales for the current selection, but with the selection in Region and Country removed

Anonymous
Not applicable
Author

ok !! it means we wont get the data for Region and country  ???

satishkurra
Specialist II
Specialist II

Hi

Yes you are correct. You can understand yourself by performing the below

Below is the sample data, load it in Qlikview, Reload

 

CountryRegionSales
AX100
BY200

Create a straight table and Dimension as Country and expressions as

1. Sum(Sales)

2. Sum({<Region=,Country=>}Sales)

Click Finish

Now get the Country, Region object to the presentation layer and perform selection

Now observe how your expressions are behaving.

Thanks

Satish

Anonymous
Not applicable
Author

Hi Sathish ,

Thanks for your reply !! The values remain unchanged even after selection . I got it

Thanks

Anonymous
Not applicable
Author

Answers by @Massimo Grossi  and Satish Kurra are  correct

Thanks