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
muggydaniel
New Member

Custom Collumn searching for Duplicate Values

Hi all 

 

I have table collumn where it contains values such as: 

 

482932983

Ryan by themselves and as the main goalkeeper

482932984

Tim and John by themselves and as the main strikers

482932985

Kepa and Ronaldo by themselves and as main players

 

I am looking to grab instances where there is 2x players within the statements

 

1 certainty is that there always exists 2x "and" instances if that is true.  I am not sure how to get a custom collumn where it picks up the 2x "and" instead of just 1

 

Anyone have any ideas?

1 REPLY 1
Anonymous
Not applicable

Hi @muggydaniel ,

 

Please try the Text.Contains() function.

vstephenmsft_0-1677132660449.png

vstephenmsft_1-1677132666566.png

Text.Contains - PowerQuery M | Microsoft Learn 

                                                                                                                                                        

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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.