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
mj29109
Frequent Visitor

Ratio with the help of count

i want to calculate the ratio of 2 tables with the help of count... first i want to calculate the table 1(Separations) Names which will result 5, then table2(headcount) Names which will also result 5 then i would like to make a ratio of 5 / 5 = 1.

 

Untitled22.png

 

i am unable to make a ratio with the help of count. please help....

1 ACCEPTED SOLUTION
mike_honey
Memorable Member
Memorable Member

I would add a Measure, with the formula probably something like:

 

Ratio = DIVIDE ( COUNTROWS ( 'Separations' ) , COUNTROWS ( 'headcount' ) , 0 )

 

View solution in original post

2 REPLIES 2
mike_honey
Memorable Member
Memorable Member

I would add a Measure, with the formula probably something like:

 

Ratio = DIVIDE ( COUNTROWS ( 'Separations' ) , COUNTROWS ( 'headcount' ) , 0 )

 

Thanks.... Its also working for me... new logic 🙂

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.