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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Jacobzlyons
New Member

How to divide a column value by a measure?

HI Fairly new to Power BI so probably a basic question. 

How would I calcualte the below please? 

 

Count “BME” values from Ethnic group column

Divided

by all the values in the ethnic Group column

 

i.e I have 3 BME, 4 white Staff, 3 Unknown, i would expect the outcome to be 30% for BME staff

1 ACCEPTED SOLUTION
Thejeswar
Super User
Super User

Hi @Jacobzlyons ,

You can get it by using the below DAX in a Calculated measure

BME% = 
Var A = CALCULATE(COUNT('Table'[Ethnic_Group]),'Table'[Ethnic_Group] = "BME")
Var C = COUNT('Table'[Ethnic_Group])
RETURN
DIVIDE(A, C)

 

Set the measure as a %

 

Regards,

View solution in original post

2 REPLIES 2
Thejeswar
Super User
Super User

Hi @Jacobzlyons ,

You can get it by using the below DAX in a Calculated measure

BME% = 
Var A = CALCULATE(COUNT('Table'[Ethnic_Group]),'Table'[Ethnic_Group] = "BME")
Var C = COUNT('Table'[Ethnic_Group])
RETURN
DIVIDE(A, C)

 

Set the measure as a %

 

Regards,

Thats perfect, thank you!

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.

Top Solution Authors