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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

LinkedIn Profile

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

LinkedIn Profile

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



Luca D'Elicio

LinkedIn Profile

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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