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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Zaytoon
Frequent Visitor

Creating Dynamic Slicers in Power BI Based on Column Selection

I have a table named Submission_Models with columns: Market, Finance Mapping, and HC.
I want to create two slicers in Power BI:

1. Column Slicer: This slicer will allow users to choose between columns Market and Finance Mapping from the Submission_Models table.
2. Value Slicer: This slicer will display the unique values from the column selected in the Column Slicer.

1 ACCEPTED SOLUTION
xifeng_L
Super User
Super User

Hi @Zaytoon 

 

You can use Filed parameter.

 

Step1 : Add the columns that allow users to choose

xifeng_L_0-1724686231482.png

 

Step2 : Use the parameter to create the first slicer.

 

xifeng_L_1-1724686298832.png

 

Step3 : Copy the first slicer, and setting to "Show values of selected field"

 

xifeng_L_2-1724686372649.png

 

By following the above steps, you can obtain the results you want.

xifeng_L_3-1724686460592.png

xifeng_L_4-1724686467549.png

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

 

View solution in original post

4 REPLIES 4
xifeng_L
Super User
Super User

Hi @Zaytoon 

 

You can use Filed parameter.

 

Step1 : Add the columns that allow users to choose

xifeng_L_0-1724686231482.png

 

Step2 : Use the parameter to create the first slicer.

 

xifeng_L_1-1724686298832.png

 

Step3 : Copy the first slicer, and setting to "Show values of selected field"

 

xifeng_L_2-1724686372649.png

 

By following the above steps, you can obtain the results you want.

xifeng_L_3-1724686460592.png

xifeng_L_4-1724686467549.png

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

 

Many Thanks @xifeng_L  that was exactly what i was looking for ! 👏

Zaytoon
Frequent Visitor

thanks @dharmendars007 that helps in creating the first slicer, but the second one is still an issue?

dharmendars007
Solution Sage
Solution Sage

Hello @Zaytoon m 

You can create the Filed parameter to achieve the same...

Please find the video link which will be helpful in creating the same.

https://www.youtube.com/watch?v=-k58Clhk0Dk

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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