Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
dezmundw15
Contributor III
Contributor III

Calculate a percentage

I am new to Qlik Sense and I am trying to calculate an allocation percentage.  I am using Qlik Sense and I am utilizing a table.  I have the following column and rows

ProviderFacilityPatients Seen by ClinicPatients Seen by %
Totals200
JennyClinic 1 50
MaryClinic 3100
SuzieClinic 450

I would like to calculate the Patients Seen by Clinic/Provider or 50/200.  I am confused with the Aggr functions and the overall structure of the syntax

Sum(Provider)/ Sum(Patients Seen by Clinic should give me a % across the distribution of patients seen in the clinics...but I am getting nothing.  Can someone help me.

Thanks,

Desmond 

22 Replies
sunny_talwar

This did not work?

Count([SEEN BY PROVIDER])/Count(TOTAL [SEEN BY PROVIDER])


Would you be able to share a smaple?

sunny_talwar

Good, now please close this thread by marking correct and helpful responses.

Best,

Sunny

sunny_talwar

Please mark responses which truly helped you and not your 'Thank you' . I ask you to do this is do that future visitors can find this information useful in the future when they land on this page.