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
Laeti
Frequent Visitor

new column to exclude rows containing or equal value

Hello,

 

I have 3 columns with different information and I would like to exclude some values and I am stuck as I have too many different arguments.

For exemple I would like to exclude:

- all rows for which column A starts with T000 or

- all rows for which column B = US or

- all rows for which column C contains "tube"

 

Many thaks for your support!

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @Laeti 

whats your desired result?

you can try a column like

Column =
IF(
RIGHT([column A], 4) = "T000" || [column B] = "US" || [column C] = "tube",
FALSE(),
TRUE()
)

then filter out in visual rows with Column = FALSE


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Laeti
Frequent Visitor

Thanks.

It works perfectly well for the first 2 columns but the column C is not = but it is contains tube. How can I mnage that third one? Thanks

az38
Community Champion
Community Champion

@Laeti 

try SEARCH()

Column =
IF(
RIGHT([column A], 4) = "T000" || [column B] = "US" || SEARCH("tube",[column C]) > 0,
FALSE(),
TRUE()
)

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

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.