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

% of whole sales.

Hi:

Want to create a pivot table with two expressions, one for the total sales by product (first dimension) and the second for the % that this product correspond considerating all the sales of the other products. How can I calculate this second column?

I have been trying with aggr and with two diferent tables. Im adding my sampe project...

Thanks in advance.

ProuductSum(Sales)
% of Whole Sales

Product A1010%
Product B2020%
Product C2020%
Product D2020%
Product E3030%
1 Solution

Accepted Solutions
Not applicable
Author

check out the attached....is that what you're looking for.

View solution in original post

2 Replies
Not applicable
Author

check out the attached....is that what you're looking for.

Not applicable
Author

If you add sum(Cantidad)/sum(all Cantidad) to your pivot table, does it not give the result's you are after?