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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Dynamic columns in table visual based on slicer selection

I have a slicer with following value

ID,Name,Category


Need to create table visual where Sales and Profit values remains consistant but based on slicer selection based on slicer selection columns shoould change.

If i select ID then my table visual should consist of ID, Sales and Profit columns.

Kindly do the needfull
Thanks

1 ACCEPTED SOLUTION
Abhilash_P
Kudo Kingpin
Kudo Kingpin

Hi @Anonymous ,
You can use Field Parameters in Power BI

Abhilash_P_0-1741674986589.png


Below is the reference 

https://www.youtube.com/watch?v=-nqEv2YXLsU&ab_channel=HowtoPowerBI

Regards

 

View solution in original post

4 REPLIES 4
ahmetyilmaz
Advocate II
Advocate II

Hi, you can do it like in this video using bookmark. https://www.youtube.com/watch?v=cFZtUzABOa8

Abhilash_P
Kudo Kingpin
Kudo Kingpin

Hi @Anonymous ,
You can use Field Parameters in Power BI

Abhilash_P_0-1741674986589.png


Below is the reference 

https://www.youtube.com/watch?v=-nqEv2YXLsU&ab_channel=HowtoPowerBI

Regards

 

Kishore_KVN
Super User
Super User

Hello @Anonymous ,

 

You can use field value parameters under parameters under modelling tab in Power BI Desktop and it will help you to fulfill your requirement. 
Please refer below video for the steps:

https://youtu.be/1eurc0EY2Xg?si=HYzys1bSwHzxZnz8

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

grazitti_sapna
Super User
Super User

Hi @Anonymous,

 

you can use Filed parametes to switch between fields, Go to ModelingNew ParameterFields and create a parameter with the required columns.

 

Here is the DAX to create the same

ColumnSelection =
{
("ID", NAMEOF('SalesData'[ID]), 0),
("Name", NAMEOF('SalesData'[Name]), 1),
("Category", NAMEOF('SalesData'[Category]), 2)
}

Now create table visual, as ColumnSelection, Sales and Profit.

Use field parameter in slicer, now when filtering the slicer table values will update as per the selection.

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.