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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

I want to see % in rows for each column in a pivot table.

Ex. rows with % ethnicity with columns of years. I want % for each year of each compared to total for the year/semester. I want to see multiple years. As example below shows I'm getting % of total for all selected years/semesters. I want each % column to sum to 100%.

My expression is

sum(REC_COUNTER_DT) / sum(total REC_COUNTER_DT)

How can I fix this? I know I can select just one semesters and it works, but I want to see multiple semesters.

John

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi,

Try with :

sum(REC_COUNTER_DT) / sum(TOTAL <Year> REC_COUNTER_DT)

View solution in original post

2 Replies
sergio0592
Specialist III
Specialist III

Hi,

Try with :

sum(REC_COUNTER_DT) / sum(TOTAL <Year> REC_COUNTER_DT)

Anonymous
Not applicable
Author

Thanks, that worked perfectly!

John