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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.