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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
gianmarco
Helper IV
Helper IV

Dynamic filter on visual with Field Parameters

Hey there,

is it possible to dinamically change filter on a visual with Field Parameters?
Measure shall stay the same, the only thing that shall change is the selection on a visual filter.


Thank you

gianmarco

1 ACCEPTED SOLUTION
lucadelicio
Super User
Super User

Yes it is possible.

Create the field parameter. With this operation you would see appear a new table.

In this table create a new column (with the id) and connect it in the relationship you would to choose your value.
The table is rapresent like this:
Description
Fields
Order Fields
Id

Parametric Slicer = {
    ("NameField1", NAMEOF('Table1'[Field1]), 0, "ID_01")
    ,("NameField2", NAMEOF('Table2'[Field2]), 0, "ID_02")
    ,("NameField1", NAMEOF('Table3'[Field3]), 0, "ID_03")

}
If you want more support please upload the pbix file.
If i resolve your problem please mark it as a solution.
Ciao!

Luca D'Elicio

View solution in original post

2 REPLIES 2
lucadelicio
Super User
Super User

Yes it is possible.

Create the field parameter. With this operation you would see appear a new table.

In this table create a new column (with the id) and connect it in the relationship you would to choose your value.
The table is rapresent like this:
Description
Fields
Order Fields
Id

Parametric Slicer = {
    ("NameField1", NAMEOF('Table1'[Field1]), 0, "ID_01")
    ,("NameField2", NAMEOF('Table2'[Field2]), 0, "ID_02")
    ,("NameField1", NAMEOF('Table3'[Field3]), 0, "ID_03")

}
If you want more support please upload the pbix file.
If i resolve your problem please mark it as a solution.
Ciao!

Luca D'Elicio

If i resolve your problem please mark it as a solution.

Luca D'Elicio

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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