Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Percentage calculation

Hi All,

I have a column with total number of transcripts received per school and I need to get a percentage of this column. Is it possible to get this number directly in Qlikview?

For example:

Total Transcripts from School A is 782 and Total transcripts is 32198.

To get the percentage : Total Transcripts from School A / Total transcripts.

                                          782/32198 = 0.024%

I tried this but it does not work. Does anyone have a solution?

Thank you.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

SUM({<School = {'A'}>}Transcripts) /SUM(TOTAL Transcripts)

or

SUM({<School = {'A'}>}Transcripts) /SUM({1}Transcripts)


Or


SUM(Transcripts) /SUM(TOTAL Transcripts)

or

SUM(Transcripts) /SUM({1}Transcripts)

View solution in original post

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

There is a checkbox "relative", try to check ...

MK_QSL
MVP
MVP

SUM({<School = {'A'}>}Transcripts) /SUM(TOTAL Transcripts)

or

SUM({<School = {'A'}>}Transcripts) /SUM({1}Transcripts)


Or


SUM(Transcripts) /SUM(TOTAL Transcripts)

or

SUM(Transcripts) /SUM({1}Transcripts)

Not applicable
Author

Thank you, Alessandro, that tip was helpful.

Manish, the calculation SUM(Transcripts) /SUM(TOTAL Transcripts) worked for my purposes.

Thank you both for your help.