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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors