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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Creating custom card

Hello all, 

 

I have a scenario I am facing and I am reaching out for asssirance. 

I am using a card as a visual and put gender as the selected column in the card to use. In the gender column, it consists of male, female, other, and unknown. 

I selected under the options to choose first name and what is shown on the card is always male. When nothing is selected, the default value it chooses is male. Obviously when choice are made with different gender types, the card changes according to what is being pressed / looked at. 

My question is, how can I alter the card to have it show a default value showing "gender" and then when people interact with the dashboard it will move depending on the gender used and when all options are unclicked / highlighted, the card will go back to just showing gender so people will know that specific card is related to gender. 

I can't figure it out. I didn't know if I need to create a new column using some form of DAX functions etc etc. 

 

all the help is greatly appreciated. 

thank you!!

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, I can probably understand your needs.

You could try to use DAX to show or hide a Power BI Visual Based on Selection.

This blog can help you solve problems:

https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/ 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, I can probably understand your needs.

You could try to use DAX to show or hide a Power BI Visual Based on Selection.

This blog can help you solve problems:

https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/ 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.