Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nizamsha
Specialist II
Specialist II

relative percentage

Hi all

I HAVE THE  following pivort table

propertybrand
displaycountstkqtyvariance
fridge
2025125%

samsung
0525%

LG
1050%

WHIRLPOOL
1050%





how we r calculating the variance is stkqty/displaycount


this is a pivort table i have branchcode column after the brand column but branch code is excluded by displaycount ..how to calculate the the value

4 Replies
Not applicable

(sum(stkqty) / sum(total displaycount))*100

or try this

(sum(stkqty)/ sum(displaycount))*100

or try this

(column(2)/column(1))*100

or in number tab --> select percent

nizamsha
Specialist II
Specialist II
Author

I tried but its not coming it s coming like this

Not applicable

try this

num((stkqty/sum(total displaycount)),'##00%')

see attachement

Not applicable

Expression tab

Sum(stkqty)/Sum(displaycount)

and

Number tab -- select percent