The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
Solved! Go to Solution.
@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
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.
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.
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.
@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