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

How calculate the percentage of the sum in two fields


Hello everyone,

I am creating a text box, where i want to show the total percentage of Male and Female.

Below is a print screen of my data base:

gender.jpg

Anyone could help me on this?

Regards

1 Solution

Accepted Solutions
sunny_talwar

May be something like this:

For Males:

=Sum(Male) / (RangeSum(Sum(Male), Sum(Female)))

For Females:

=Sum(Female) / (RangeSum(Sum(Male), Sum(Female)))

View solution in original post

3 Replies
sunny_talwar

May be something like this:

For Males:

=Sum(Male) / (RangeSum(Sum(Male), Sum(Female)))

For Females:

=Sum(Female) / (RangeSum(Sum(Male), Sum(Female)))

Not applicable
Author

Thanks Sunny

sunny_talwar

Not a problem

I am glad I was able to help