Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
Solved! Go to Solution.
Hi,
Use a measure:
Employee Ratio =
DIVIDE(
COUNTROWS( 'Table' ),
CALCULATE( COUNTROWS( 'Table' ), ALL( 'Table'[Name] ) )
)
Regards
Hi,
Use a measure:
Employee Ratio =
DIVIDE(
COUNTROWS( 'Table' ),
CALCULATE( COUNTROWS( 'Table' ), ALL( 'Table'[Name] ) )
)
Regards
Thank You very much