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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Pick column based upon user selection (Yes/No)

I have 2 columns in a [table A] (ID, ID_Masked). Our need is, If user selects "Yes", then "ID_Masked" field needs to be displayed in the visual. If user selects "No", then "ID" field needs to be displayed. 

For user input we used "Yes/No" slicer, it's from an independent/dummy table which has no relationship with the main [table A]. 

FYI, There are 25 million data in [table A] and infact [table A] is a view which inturn uses/joins multiple underlying tables. And it will be growing day by day. 

BTW, Our report has multiple Yes/No filter/user input like this, that has a similar pair of columns/fields in the view definition. So we are looking out for option other than un-pivot/replicating the data for the various combinations of each filter in the view. Since that would make the data grows exponentially. Pls help us out. 

2 REPLIES 2
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous ,

Since the yes/no is a dummy, why not create two buttons, and two bookmarks? Two tables that turn on and off, and are right over each other.  When yes is selected, you get the ID masked table, and when no is selected, you get the ID table.

 

Please let me know if you have any questions. You will need to turn on the bookmarks pane, and the selection pane. Add the bookmark to the action on the button.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@Nathaniel_C Thank you for the response. We have already checked on Bookmarks, but our need is to support multiple Yes/No filters on the same report. The current report has 3 filters and the combinations are below,

 

Filter 1Filter 2Filter 3
NoNoNo
NoYesNo
NoNoYes
NoYesYes
YesNoNo
YesYesNo
YesNoYes
YesYesYes

 

It will be great, if we get any solution for this scenario.

 

Regards,

@Anonymous 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors