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
Alaqillina
New Member

How to create new percentage measure?

IMG_3262.jpeg

 I create it this measure

DIVIDE ([Headcount], CALCULATE([Headcount], ALLSELECTED( 'Basic Information'))) so based on this function I want to show the female percentage in the card

 

1 ACCEPTED SOLUTION
BeaBF
Super User
Super User

@Alaqillina Hi! you can use:

Female Percentage =
DIVIDE(
CALCULATE([Headcount], 'Basic Information'[Gender Desc] = "Female"),
CALCULATE([Headcount], ALLSELECTED('Basic Information'))
)

 

If it's ok, please accept the answer as solution.

 

BBF

View solution in original post

6 REPLIES 6
v-pagayam-msft
Community Support
Community Support

Hi @Alaqillina ,
If the issue has been resolved, please mark the helpful reply as a solution to indicate that the question has been answered and to assist others in the community.

Thank you for your cooperation. Have a great day.

v-pagayam-msft
Community Support
Community Support

Hi @Alaqillina ,
Glad that the issue has been resolved, please mark the helpful reply as a "Accept as solution" .It will be helpful for other members of the community who have similar problems as yours to solve it faster.

Thank you for your cooperation. Have a great day.

v-pagayam-msft
Community Support
Community Support

Hi @Alaqillina ,
Thank you @BeaBF for the accurate response.

As BeaBF suggested, the provided DAX measure is effective and may resolve the issue. If this solution works for you, please consider marking it as "Accept as Solution" to help others find it easily.If you still facing issue, feel free to reach out.

Thank you for being a valued member of the Microsoft Fabric Community Forum!



Regards,
Pallavi.

Thank you the it's a good solution 

Hi @Alaqillina ,

I'm glad to hear that your query was resolved! If our response addressed your query,please consider 

marking it as Accept as Solution and give us Kudos if you found it helpful.

Thank you for your cooperation. Have a great day.

BeaBF
Super User
Super User

@Alaqillina Hi! you can use:

Female Percentage =
DIVIDE(
CALCULATE([Headcount], 'Basic Information'[Gender Desc] = "Female"),
CALCULATE([Headcount], ALLSELECTED('Basic Information'))
)

 

If it's ok, please accept the answer as solution.

 

BBF

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
Top Kudoed Authors