Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
newbie_sm
Contributor III
Contributor III

The Aggregation Scope-How do we define when there are 2 dimensions?

Following on Henric Cronstrom's Post on "The Aggregation Scope", can you provide guidance on how to define aggregation when there are 2 dimensions. E.g.

newbie_sm_0-1651152095700.png

In this table, I have 2 dimensions = Product (Rows) and Year (Columns).  What should the aggregate function to use in order to arrive at the last set of numbers highlighted in 'RED'? i.e. share for Products to be 100% for every year.

thanks

Labels (3)
1 Solution

Accepted Solutions
newbie_sm
Contributor III
Contributor III
Author

THANKS - the formula worked!

View solution in original post

2 Replies
hic
Former Employee
Former Employee

Sum(Sales)/Sum(total <Year> Sales)

newbie_sm
Contributor III
Contributor III
Author

THANKS - the formula worked!