Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Raj_P
Contributor
Contributor

Total in straight table for each dimension

Hi Team,

I need help to produce total for each dimension and it should be visible against first instance of dimension as total.

Below is data and I want to create last column "state total".

countrycompanydepartmentrevenuestate total
Swedenabcaa100600
Swedenxyzbb200 
Swedenpppcc300 
Japanlmndd4001500
Japanopree500 
Japanqstff600 

 

Labels (2)
2 Replies
StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

you could try this

If(Len(Aggr(Sum(revenue),country))=0,' ',
Aggr(Sum(revenue),country))

SukumarBera
Contributor III
Contributor III

Please try this -

 

aggr(sum(revenue),country)

 

Regards,

Sukumar Bera