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

total calculation

hi folks,

how cani achieve 100+400+200+300

object is straight table

dim : country

country    revenue

1              100

2              200

3              300   

4              400

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     All you have to do is just Go to properties of straight table -> Expression -> Click on Expression -> Total Mode -> Select Expression Total.

     If you want a new column as overall total then you can add expression as Sum(Total revenue)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
swuehl
MVP
MVP

Have you tried just creating a chart with dimension country and an aggregation function as expression:

=sum(revenue)

check Total mode: Expression total in expression tab is enabled (or sum of rows, depending on your needs and data model).

Hope this helps,

Stefan