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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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