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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Create a new measure

Hi,

 

I'm kind a new to Power BI and want some help please. What I need to create is a measure where can calculate % of each Count Recvd/ Total Count Recvd (same as Expected Results column). I have created below measure but it gave me %  Rcvd instead, what should I do to get the same results as Excpected Results column?

 

 

%PromoRecvd = 
DIVIDE([CountPromoRecvd], COUNT('Data_Table'[Employee ID]))

 

 

 Count EECount Recvd% RcvdExpected Results
Race A1715.9%2.7%
Race B28414.3%10.8%
Race C5958.5%13.5%
Race D2372711.4%73.0%
 34137  

 

Thank you

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Anonymous 

It will be along these lines. 

% of total =
DIVIDE (
    [CountPromoRecvd],
    CALCULATE ( [CountPromoRecvd], ALLSELECTED ( 'Data_Table'[Race] ) )
)

You will have to change the name of the column in the ALLSELECTED to match your model.

View solution in original post

6 REPLIES 6
ponnusamy
Solution Supplier
Solution Supplier

Try this..

ponnusamy_0-1631136596008.png

 

Anonymous
Not applicable

Thank you so much for your help. I tried your measure but was not able to find "Count Recievded" when I was trying to write the measure (exactly after I was writing the SUM).

@Anonymous :  "Count Recievded" was the name of the column in my data source I created for testing the solution. You should have replaced that with "CountPromoRecvd". Happy to see your issue resolved.

 

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!

Anonymous
Not applicable

Thank you so much!

jdbuchanan71
Super User
Super User

@Anonymous 

It will be along these lines. 

% of total =
DIVIDE (
    [CountPromoRecvd],
    CALCULATE ( [CountPromoRecvd], ALLSELECTED ( 'Data_Table'[Race] ) )
)

You will have to change the name of the column in the ALLSELECTED to match your model.

Anonymous
Not applicable

Thank you so much for your prompt action and help! This measure worked perfectly great!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors