Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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