Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

add one more column to pivot table

in pivot table I have won and total columns their I need to calculate the %column add to pivot table  means won/total =% column how to calculate the % column after generate the pivot table

10 Replies
tresesco
MVP
MVP

=[LabelofOwnCol] / [LabelofTotalCol]

Then in the number tab, check 'Show in Percent(%)'

Not applicable
Author

hi

in expression

= won / total

the  proprties , number tab, check 'Show in Percent(%)'

Not applicable
Author

this is the pivot table

mnt   status   lst   nd   rec  won  total

jan                  1      1     1       1       4

feb                   1     2     1      2       6

after generate the pivot table like this than after add other column to the pivot like % column like won/total.

total column also one expression column. 

Not applicable
Author

any one explain me...plz

Not applicable
Author

may this help you,

sum({<status={'won'}>}Value)/sum({<status={'total'}>}Value)

replace Value with your field..    

Not applicable
Author

apply this one but  the % column add every status column I need only one column after the total any one plz explain me

SunilChauhan
Champion II
Champion II

column(m)/column(n)   m is the no of won Column and n is no of total column

PS:  first  expression in chart is known as column(1) ,second is column(2)....so on

hope this helps

Sunil Chauhan
Not applicable
Author

could you post your sample application..

tresesco
MVP
MVP

May be like attached sample?