Forum Discussion
How to create new percentage measure?
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
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
6 Replies
- BeaBF
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
- AnonymousNot applicable
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.- AlaqillinaNew Member
Thank you the it's a good solution
- AnonymousNot applicable
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.
- AnonymousNot applicable
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. - AnonymousNot applicable
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.