# New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Make your voice heard! Participate in the 2020 Wisdom of Crowds® Survey. BEGIN SURVEY
Highlighted
Contributor III

## 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

to

Thank you

1 Solution

Accepted Solutions
Highlighted
MVP

## Re: sum groups in staight table

Use a calculated dimension here

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

3 Replies
Highlighted
MVP

## Re: sum groups in staight table

Use a calculated dimension here

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

Highlighted

## Re: sum groups in staight table

Use this?

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

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)
Highlighted
MVP

## Re: sum groups in staight table

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...