Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Percentage in a pivot table

Hello,

I have a pivot table with 2 columns: Item and Amount. I'd need to know if there is the possibility to add a new column %, with the formula indicated in the image. Exemple: Revenue product A/ Total Revenue, Cost product A/Revenue product A, ect.Ex_table.PNG

1 Reply
sunny_talwar

Try this

Aggr(Sum(Amount)/Sum(TOTAL <[Item Category]> Amount), [Item Category], Item)

Where Item Category is a field which will have Revenue and Cost as values