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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Patroxalpbi
New Member

I need to create a filter where i can switch between two colums that contains strings

Hi,

I'm trying to create a measure/column that i can use as a filter. 

 

I would like to have 

- 1 bottom: should be a slicer where i can click LOB or LOB before reclass

- 1 filter: Based on what i select in the bottom the filter should switch between the two columns

 

Unique identifierLOBLOB before reclass
x1InstallNot install
x2InstallInstall
x3InstallInstall
x4Not installNot install
x5Not installNot install
x6Not installNot install

 

Thank you

1 ACCEPTED SOLUTION
samratpbi
Super User
Super User

Hi, you may achieve this using Field parameter.

Go to Modeling tab -> New Parameter -> Fields.

On the parameter section, use LOB & LOB before class columns. and keep it default. that will introduce a slicer to select LOB or LOB before class.

Param_FM = {
    ("LOB", NAMEOF('Param'[LOB]), 0),
    ("LOB before reclass", NAMEOF('Param'[LOB before reclass]), 1)
}

now on 2nd slicer, use the Param_FM

samratpbi_0-1714993312532.png

samratpbi_1-1714993355635.png

I have created one more row col1 & col2 to demonstrate. 

 

If this helps to resolve your problem then please mark it as solution, Thanks!

View solution in original post

1 REPLY 1
samratpbi
Super User
Super User

Hi, you may achieve this using Field parameter.

Go to Modeling tab -> New Parameter -> Fields.

On the parameter section, use LOB & LOB before class columns. and keep it default. that will introduce a slicer to select LOB or LOB before class.

Param_FM = {
    ("LOB", NAMEOF('Param'[LOB]), 0),
    ("LOB before reclass", NAMEOF('Param'[LOB before reclass]), 1)
}

now on 2nd slicer, use the Param_FM

samratpbi_0-1714993312532.png

samratpbi_1-1714993355635.png

I have created one more row col1 & col2 to demonstrate. 

 

If this helps to resolve your problem then please mark it as solution, Thanks!

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.