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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
GrowingPeak
New Member

Filtering on multiple rows

Hello everyone,

I have a database with the names of the project in each row and a list of porperties in the headings, if a specific project has a particular property there is a 1, otherwise the cell is null. How can I create a filter on the report tab with three options corresponding to the three properties that selects only the rows with the specific property selected? Below there is an example of the table.

image.png

Thank you

6 REPLIES 6
Anonymous
Not applicable

Hi @GrowingPeak ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1678760122206.png

Table2:

vbinbinyumsft_1-1678760138987.png

2. please create a measure with below dax formula

Measure =
VAR _property =
    SELECTEDVALUE ( Table2[Property] )
VAR _project =
    SELECTEDVALUE ( 'Table'[Projects] )
RETURN
    SWITCH (
        TRUE (),
        _property = "Property1",
            IF (
                CALCULATE ( MAX ( 'Table'[Property1] ), 'Table'[Projects] = _project ) = 1,
                1
            ),
        _property = "Property2",
            IF (
                CALCULATE ( MAX ( 'Table'[Property2] ), 'Table'[Projects] = _project ) = 1,
                1
            ),
        _property = "Property3",
            IF (
                CALCULATE ( MAX ( 'Table'[Property3] ), 'Table'[Projects] = _project ) = 1,
                1
            ),
        ISBLANK ( _property ), 1
    )

3. add a slicer with Table2 field, add a table visual with Table field, add measure to table visual filter pane and apply 

Animation02.gif

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you! I will try and let you know.

GrowingPeak
New Member

Thank you! And how can I link this filter to a map instead? Where I have different locations instead of the projects and I want to filter the locations based on the property they have?

Thank you

FreemanZ
Super User
Super User

not so sure about your expectation. could you elaborate it?

Sure! I need a filter like this:

Screenshot (2).png

where when I select, for example, Property 1, it displays data on a table like this:

ProjectsProperty 1Property 2Property 3
A1  
D1 1

Thank you

hi @GrowingPeak 

you can directly plot a table visual as it is and a slicer with Column1.

 

p.s. please consider @someone to continue a discussion.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.