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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Hsharma
Frequent Visitor

Calculating % Yield measure

Hello,

 

I am trying to make a table with the Yield rate(which is total enrolled divided by total applied) by year. Is there a way to do it? A formula?

 

My Data looks like this:

 

calculating yield.png

1 ACCEPTED SOLUTION
fhill
Resident Rockstar
Resident Rockstar

Create a Measure (call it anything that works for you).  Since you want % at the ROW level, the formula doesn't have to take into account any filtering or grouping...

 

Measure = SUM(Table1[Admitted]) / SUM(Table1[Applied])

 

Raw Data I entered based on your screen shot & Matrix with Rows = R&E, Columns = Year, & Values = your measure

Capture.PNG




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




View solution in original post

3 REPLIES 3
fhill
Resident Rockstar
Resident Rockstar

It looks like a simple request, but depending on how you want to display the data, it coudl be more complciated.  I'm assuming you have mutliple years of data not displayed in your sample?  Do you want the Yeild by line to the right of the data, or a total at the bottom for all 'Race and Ethnicity' by year?

 

Can you mock up your desired output?

FOrrest




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Hsharma
Frequent Visitor

I was hoping for something like this:cecilia.png

fhill
Resident Rockstar
Resident Rockstar

Create a Measure (call it anything that works for you).  Since you want % at the ROW level, the formula doesn't have to take into account any filtering or grouping...

 

Measure = SUM(Table1[Admitted]) / SUM(Table1[Applied])

 

Raw Data I entered based on your screen shot & Matrix with Rows = R&E, Columns = Year, & Values = your measure

Capture.PNG




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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