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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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 and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.