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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

New column in power query based on key word search

Hi Experts

 

I have in my table two key columns EUC Name and EUC Description. I want to search both columns and if I find the following keybwords in either column 

Macro

Calculator 

Forms

Workflow

Lookup

Dashboard

Data Store

Financial Model

 

Then populate Y into a new column otherwise N.

3 REPLIES 3
PhilipTreacy
Super User
Super User

Hi @Anonymous 

It's always best to provide some real sample data so code cna be written specifically against it.

You could use List.ContainsAny or Text.Contains, depends on the source data.

This blog post exaplains several examples of searching for text

https://www.myonlinetraininghub.com/searching-for-text-strings-in-power-query

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Icey
Community Support
Community Support

Hi @Anonymous ,

 

Please refer to this blog: DAX – “CONTAINSX” – Finding if a value in table 1 has a matching value in table 2.

 

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

amitchandak
Super User
Super User

@Anonymous , refer if this video can help

https://www.youtube.com/watch?v=YxZ_8-vsEpE

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors