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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
jayanthan
Helper III
Helper III

Contains

Hi there

 

I have column with below values. I want filter only values which has the word "Inbound". How can i do it , please advise

 

Purchase Order

Purchase Order > Inbound shipment

Purchase Order > Inbound Shipment>Purchase Invoice 

 

Regards

Jayanthan

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @jayanthan 

Please see below two possible solutions.

Measure = 
CALCULATE(
    COUNTROWS(YourTable), -- your expression or measure
    IFERROR(SEARCH("Inbound", YourTable[Column1]), 0) > 0
)
Column = IFERROR( SEARCH( "Inbound", YourTable[Column1] ), 0 ) > 0

Regards,
Mariusz

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
Mariusz
Community Champion
Community Champion

Hi @jayanthan 

Please see below two possible solutions.

Measure = 
CALCULATE(
    COUNTROWS(YourTable), -- your expression or measure
    IFERROR(SEARCH("Inbound", YourTable[Column1]), 0) > 0
)
Column = IFERROR( SEARCH( "Inbound", YourTable[Column1] ), 0 ) > 0

Regards,
Mariusz

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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