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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jcastr02
Post Prodigy
Post Prodigy

Explicit language - filtering out or flagging

I have a matrix visual showing comments left on a survey from team members.  Is there a way that BI filters or flags explicit comments, I'll have this on auto-refresh so I wouldn't want them to show.  The only thing I can think of would be to use a filter to exclude specific words but wasn't sure if there was something already built in.  

2 REPLIES 2
v-lid-msft
Community Support
Community Support

Hi @jcastr02 ,

 

We can create a table with specific words you do not want to show in the matrix visual called 'Filltered Word', then create a measure as following and put in  the visual filter of matrix, set condition "equal to 1" to meet your requirement.

 

ControlShow =
VAR comment =
    SELECTEDVALUE ( 'Table'[Comment] )
RETURN
    IF (
        CALCULATE (
            COUNTROWS ( 'Filltered Words' ),
            FILTER (
                ALL ( 'Filltered Words' ),
                FIND ( 'Filltered Words'[Word], comment, -1 ) > 0
            )
        ) > 0,
        -1,
        1
    )

 


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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