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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
epelton
Helper I
Helper I

Field Parameter Filtering

I have a table with the bit columns shown in the socioeconomic slicer below - Minority Business, Small Business, etc. I've created Field Parameters to accomplish this (thanks @amitchandak)

 

Vet Owned Small Business is selected below. The current behavior is that the table on the left will show each column selected on the right. Instead, I want to only show rows that are True for Vet Owned Small Business. I do not want Vet Owned Small Business to be displayed in the table on the left - only table should be filtered for True on the selected slicer items.

 

epelton_0-1685444873493.png

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @epelton ,

According to your description, here's my solution. Create a measure.

Measure =
VAR __SelectedValue =
    SELECTCOLUMNS (
        SUMMARIZE ( Parameter, Parameter[Parameter], Parameter[Parameter Fields] ),
        "Parameter", Parameter[Parameter]
    )
RETURN
    IF (
        COUNTROWS ( __SelectedValue ) > 1,
        1,
        IF (
            __SelectedValue = "Vet owned small business"
                && MAX ( 'Table'[Vet owned small business] ) = "True"
                || __SelectedValue <> "Vet owned small business",
            1,
            0
        )
    )

Put the measure in the visual filter and select "is 1". Get the correct result:

vyanjiangmsft_0-1685608421329.png

vyanjiangmsft_1-1685608472782.png

vyanjiangmsft_2-1685608482630.png

I attach my sample below for your reference.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yanjiang-msft
Community Support
Community Support

Hi @epelton ,

According to your description, here's my solution. Create a measure.

Measure =
VAR __SelectedValue =
    SELECTCOLUMNS (
        SUMMARIZE ( Parameter, Parameter[Parameter], Parameter[Parameter Fields] ),
        "Parameter", Parameter[Parameter]
    )
RETURN
    IF (
        COUNTROWS ( __SelectedValue ) > 1,
        1,
        IF (
            __SelectedValue = "Vet owned small business"
                && MAX ( 'Table'[Vet owned small business] ) = "True"
                || __SelectedValue <> "Vet owned small business",
            1,
            0
        )
    )

Put the measure in the visual filter and select "is 1". Get the correct result:

vyanjiangmsft_0-1685608421329.png

vyanjiangmsft_1-1685608472782.png

vyanjiangmsft_2-1685608482630.png

I attach my sample below for your reference.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors