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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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