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

Aggregating total sales in a expression

Hi

Coud someone guide me on how to do the aggregation of the sales at co. level in a pivot table chart.

I would like to sum the total sales $ by the total sales made per company. Would like to know how to write the expression for it.

   

SellerCo. NameSales No. Amount
DDWater5369$6,200.00
EESun5711$2,000.00
EESun5720$1,500.00
FFLight7821$800.00
PPLight9248$7,100.00
KKWater5694$4,500.00
LLRain6200$2,300.00

Thanks

3 Replies
MayilVahanan

Hi

Are you looking like this

Dim: Co. Name

Exp: =Sum(Amount) / Sum(total Amount)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
vinieme12
Champion III
Champion III

for total by company

Sum(Amount) / Sum(TOTAL <Co. Name> Amount)


so % for Water for SalesNo 5369 = 6,200. / (6,200+4,500)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

Thanks, guys.. it's closed to what i need..