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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
e2liu77
Helper I
Helper I

How to use Parameter/Slicer to control the selection of differnet column

Hi,

 

I have a table with 3 different columns, like column  A = A type, column B = B type, column C = C type.

I would like to implement a slicer,  when choosing slicer value  = A Type, a new column D will show A type column value. When choosing slicer value = B Type, Column D will show B type column value, and so on.

 

Is it doable?

 

Thanks!

3 REPLIES 3
vicky_
Super User
Super User

Hi @vicky_ ,

 

I created a parameter with 3 options.

 

Parameter = {
    ("A Type", NAMEOF('Table'[A Type]), 0),
    ("B Type", NAMEOF('Table'[B Type]), 1),
    ("C Type", NAMEOF('Table'[C Type]), 2)
}
 
But how to connect Parameter to "Table"[Selected Type] as a column? When choosing parametr = A Type, I want column [Selected Type]" shows Column [A type]'s value.
 
Thanks.

You use the parameter value as the value in your visuals. If you followed the steps in the link above, there should be a slicer on your dashboard that you can use to select parameter = A, B, C etc. and that's how you select which type is shown.

vicky__0-1693521765127.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.