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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Filtering Matrix Visual

Hi all,

I want to put some more complex filters on the matrix visual.

Basically I want to only show

1) Avg Pos > 0. All those " - " in this column, I don't want them to show in the visual but I don't know how to do this.

OR 

2) Pos % Change > 0.1 or < -0.1.  -> This is already achieved by setting the filter in the picture.

mhsieh_0-1655152040765.png

Here are the DAX calculation for all those columns in the matrix:

 

Avg Pos = 
IF(
    ISBLANK(
        AVERAGE('GSC query analysis'[Position])
    ),
    "-",
    AVERAGE('GSC query analysis'[Position])
)

 

 

Prev Month Avg Pos =
CALCULATE(
    [Avg Pos],
    DATEADD(
        'Calendar Lookup'[Start of Month],
        -1,
        MONTH
    )
)

 

 

Pos % Change = 
IFERROR(
    ([Avg Pos] - [Prev Month Avg Pos]) / [Prev Month Avg Pos],
    "-"
)

 

You help is much appreciated!!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I have got it work myself by changing the DAX Calculation:

 

Avg Pos (Outliers) = 
        AVERAGE('GSC query analysis'[Position])
Prev Month Avg Pos (Outliers) = 
CALCULATE(
    [Avg Pos (Outliers)],
    DATEADD(
        'Calendar Lookup'[Start of Month],
        -1,
        MONTH
    )
)
Pos % Change = 
IFERROR(
    ([Avg Pos] - [Prev Month Avg Pos]) / [Prev Month Avg Pos],
    "-"
)

 And set the filter

mhsieh_0-1655238650282.png

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I have got it work myself by changing the DAX Calculation:

 

Avg Pos (Outliers) = 
        AVERAGE('GSC query analysis'[Position])
Prev Month Avg Pos (Outliers) = 
CALCULATE(
    [Avg Pos (Outliers)],
    DATEADD(
        'Calendar Lookup'[Start of Month],
        -1,
        MONTH
    )
)
Pos % Change = 
IFERROR(
    ([Avg Pos] - [Prev Month Avg Pos]) / [Prev Month Avg Pos],
    "-"
)

 And set the filter

mhsieh_0-1655238650282.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.