Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
kstudsrud
Frequent Visitor

Ratio between column values

 

Capture2.JPGHi All, 

I am trying to divide each subject by "2017 - Total Population" and "2018 - Total Population" and get the percentage. 

For example in 2017...      2017 05 Asthma / 2017 - Total Patient Population

For example in 2018...      2018-05 Asthma / 2018- Total Patient Population

                                         2018 - 09 Diabete Mellitus / 2018- Total Patient Population
                                          2018 - 11 Hypertension / 2018 - Total Patient Population
                                         etc...

The problem I can't get over is that they are all in the same column "Subject".

I would keep 2017 in one column and 2018 in another.

Any suggestions would be awesome!!

thanks

 

4 REPLIES 4
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @kstudsrud,

Due to I could not reproduce your data structure, could you please offer your data structure and post your desired result if possibel?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Capture.JPG

 

Each GUID pertains to a specific patinet. I am trying to take the # of rows that say "2017 05 Asthma" and divide it by the # of rows that say "2017- Total Patient Population". 

I am trying do do this for all the different measures in the 'Subjuct' column in 2017/2018.  

Hi,

 

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

 

Why are they in the same column?  Share the source data.  Share it in a form that can be pasted in Excel.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors