Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

How to Add Column If Contains in Power Query Power BI

When working with Power BI, I need to check if a column contains a specific word or value and then create a new column based on that. At first, I struggled with this because there are many different “contains” scenarios in Power Query. After working on e-commerce dashboard projects, I learned some easy, reliable ways to do so.

In this tutorial, I will show how to add a column in Power Query. Also, I will cover the following topic:

  • How to use Power Query M Code to Add a Column If Contains
  • Multiple Keywords Using IF Contains in Power Query
  • Add Column If Contains Number / Special Text in Power BI Power Query
  • Add Column If Contains in Another Column (Power Qu