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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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