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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
drallam
Helper II
Helper II

Ratio between two columns

Hi,

 

I have a data set of two types of employees. These two types of employees are mixed together in various projects. How can i calculate ratio between these two employees per project. The two types of employees are in the same table but in different rows. Please see picture below. 

doubt1.png

 

How do i apply ratio formula, and if so where?

1 ACCEPTED SOLUTION
drallam
Helper II
Helper II

Figured it. Created two additonal columns and used if statements to create blank and filled cells. 

Used Measure and used DIVIDE(COUNTBLANK(Column1),COUNTBLANK(Column2),0)

View solution in original post

1 REPLY 1
drallam
Helper II
Helper II

Figured it. Created two additonal columns and used if statements to create blank and filled cells. 

Used Measure and used DIVIDE(COUNTBLANK(Column1),COUNTBLANK(Column2),0)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.