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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Percentage between Count Of Every Name and total count of all names

Hello so imagine a table where i have 5 names : james, katie,jane,ari,jack.

total employees are 100 and like 20 james, 10 katie , 30 jane , 5 ari, 35 jack

 

i want to calculate the ratio of each employee name so like james is 20% cause 20/100 *100 is 20% .... ect

NB: NAMES ARE IN A TABLE SO I HAVE 1 column its name : 

Name:

James

James

James

James

.....

 

i appreciate the help

1 ACCEPTED SOLUTION
Jos_Woolley
Solution Sage
Solution Sage

Hi,

Use a measure:

Employee Ratio =
DIVIDE(
    COUNTROWS( 'Table' ),
    CALCULATE( COUNTROWS( 'Table' ), ALL( 'Table'[Name] ) )
)

Regards

View solution in original post

2 REPLIES 2
Jos_Woolley
Solution Sage
Solution Sage

Hi,

Use a measure:

Employee Ratio =
DIVIDE(
    COUNTROWS( 'Table' ),
    CALCULATE( COUNTROWS( 'Table' ), ALL( 'Table'[Name] ) )
)

Regards

Anonymous
Not applicable

Thank You very much

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.