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
Snagalapur
Helper IV
Helper IV

Dynamic columns selection in table

Hi All,

 

Please suggest - How to select or unslect columns in table based on user controls EX: below

 

 

Thank you.

1 ACCEPTED SOLUTION
zenisekd
Super User
Super User

2 REPLIES 2
rohit1991
Super User
Super User

Hi @Snagalapur . You can achieve dynamic column selection based on user controls in various ways, depending on the platform you're using. In Excel, you can leverage filters, slicers, or Power Query to dynamically show or hide columns. If you're working with Power BI, field parameters allow users to select which columns to display in a table. For web-based applications using React, Angular, or similar frameworks, you can implement checkboxes or toggle buttons that allow users to control the visibility of columns dynamically, often using JavaScript and libraries like DataTables.js. If you're working with SQL or database reporting tools, dynamic SQL queries can be used to adjust displayed columns based on user input.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
zenisekd
Super User
Super User

Hi @Snagalapur  I guess you could use a filed parameter.

Something like here: https://www.youtube.com/watch?v=tb3eDmA7CqE&ab_channel=ChristinePayton

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.