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

Sort By Column

Hello there, I have a graph with a lot of different columns data inside. I want to make a drop down to select which data I want the graph to display.

 

I cannot change the data to my knowlage. I have seen others turn it from columns to rows, but then it would not work with my horizontal selector. If there is a way I can create a "duplicate" of the data, meaning I have two different tables with the same data that refernce each other, then maybe that would work. This data gets another line added to it everyday through our machines, so it is sadly not static. Any help on this would be great.

 

Here is the graph, on the right you can see all the categories selected:
column2.png

 

Here is the data inside my PowerBi excel file:
column1.png

2 REPLIES 2
mahenkj2
Solution Sage
Solution Sage

Hi @Anonymous 

 

If possible,pls share dummy data in Excel, or power bi or just a table here to replicate the matter.

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

I did something similar with making selectable columns in a matrix, I did this by creating a duplicate of the table in power query to create a list of fields that you want selectable.

 

Check out the blog here: https://github.com/DOLEARY85/Power-BI-Replicate-Excel-Table

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

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.