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
TDuplechain
Regular Visitor

Dynamically Index a Column based off it's Header matching existing Slicer

I have one table which has a column called 'Site' and this has unique values that will match to column headers of a seperate table called 'List'. I have slicers in place right now that filter by the unique values in 'Site'. I want those existing filters to be able to reference the column headers in 'List' and return the values below in that specific Column. Seems to be having issues with being able to have a row (the Column header in 'List') be dynamically refrenced. 'Site' Column (value in the slicer)'Site' Column (value in the slicer)'List' (Column Header & contents below I want to display in a matrix or table)'List' (Column Header & contents below I want to display in a matrix or table)

2 REPLIES 2
amitchandak
Super User
Super User

@TDuplechain , as of now it seems like the VDC list is used in the column field of the matrix visual .

 

if you want a table, then you need to pivot

Pivot Data(Power Query) :https://www.youtube.com/watch?v=oKByyI09Bno&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=12

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I have another problem now seperate to this original one. 

TDuplechain_0-1689712258977.png

I need to turn on and off lines on POWER BI line chart, I've created a separate table that is serving as a slicer, and the table has a column that match the names of the lines on the line chart i want to toggle on and off. but I can't get the relationship between the lines on the chart, and the names from my slicer table to work correctly. 

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.