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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculate % of Total expression

Hello

How can I get the % of Total expression, which basically divides heach portion of a given total divided by the total as shown in the picture:

T.jpg

Thanks in advance!

1 Solution

Accepted Solutions
MayilVahanan

HI

Try like this

=Sum(Sales)/Sum(total Sales)

or

=Sum(Sales)/Sum({1} total Sales)

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

View solution in original post

3 Replies
jagan
Partner - Champion III
Partner - Champion III

Hi,

PFA file hope it helps you.

Regards,

Jagan.

MayilVahanan

HI

Try like this

=Sum(Sales)/Sum(total Sales)

or

=Sum(Sales)/Sum({1} total Sales)

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

try sum(Amount)/sum(total <Cuestionario> Amount). Another option is to check the 'Relative' option for the expression (see expressions tab of properties screen)


talk is cheap, supply exceeds demand