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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
janusd27
Frequent Visitor

Check if the expressions in a column include any of the words in a list

Hello,
I am looking to perform the action provided in the tutorial below, with the Powerbi software

https://www.lecfomasque.com/power-query-verifier-si-les-expressions-dune-colonnes-comprennent-un-des...

Can you help me with this request, please?

1 ACCEPTED SOLUTION

Hi @janusd27 

Does your function mean:

cell B=if cell A1 contains "NBR" value, then return "NBR', else null(blank).

If so, you could create a conditional column in Home-> Edit queries->Add column,

Capture10.JPG

Or create a calculated column in Modeling->New column

Capture11.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
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

5 REPLIES 5
Jimmy801
Community Champion
Community Champion

Hello @janusd27 

 

but the link provided shows an exact how to do.

Just follow it 🙂

 

Jimmy

The article describes how to do with Powerquerry, but I am looking to achieve it with Powerbi and not excel

Hello @janusd27 

 

Powerquery is part of PowerBI so I don't get the point and is just the same

 

Jimmy

I am also looking for the equivalent of the formula below with Powerbi

=SI(NB.SI(A1;"*NBR*");"NBR";"")

 

Hi @janusd27 

Does your function mean:

cell B=if cell A1 contains "NBR" value, then return "NBR', else null(blank).

If so, you could create a conditional column in Home-> Edit queries->Add column,

Capture10.JPG

Or create a calculated column in Modeling->New column

Capture11.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors