Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

sum groups in staight table

Just using expression how can I group sum to have US in one row and all the other countries in another:

so from

2018-01-08_09-48-31.bmp

to

2018-01-08_09-53-29.bmp

Thank you

1 Solution

Accepted Solutions
sunny_talwar

Use a calculated dimension here

=If(Country = 'US', Country, 'Others')

Capture.PNG

View solution in original post

3 Replies
sunny_talwar

Use a calculated dimension here

=If(Country = 'US', Country, 'Others')

Capture.PNG

Anil_Babu_Samineni

Use this?

=If(Country = 'US', Country, 'others') as Calc. Dimension

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
sunny_talwar

The other option is to use dimensions limit like this

Dimension

Country

Expression

Dual(Sum(Score), Sum({<Country *= {US}>} Score) + 0.0000000001)

On the dimension's limit tab, use top 2... but I would suggest you to not take this route...