cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karinafreitass
Helper III
Helper III

Function to find text with various parameters

Hi guys! I have a column and I would like to find several values ​​and replace them in a new column.
I am using the following function: if Text.Contains ([Release], "Aplic") = true then "Application" else "Others".

How could I add more parameters?

Many thanks,

Karina

2 ACCEPTED SOLUTIONS
aj1973
Resident Rockstar
Resident Rockstar

Hi @karinafreitass 

 

use add clause in Add column inside Power Query

aj1973_0-1600200577417.png

 

 

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!

View solution in original post

aj1973
Resident Rockstar
Resident Rockstar

If it helped, could you mark it as a solution for others in the community to know

Thank you

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!

View solution in original post

3 REPLIES 3
aj1973
Resident Rockstar
Resident Rockstar

Hi @karinafreitass 

 

use add clause in Add column inside Power Query

aj1973_0-1600200577417.png

 

 

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!

View solution in original post

The condition is only returning a parameter. It is returning all lines as "Others"

Screenshot (79).png

aj1973
Resident Rockstar
Resident Rockstar

If it helped, could you mark it as a solution for others in the community to know

Thank you

Regards
Amine Jerbi
https://www.linkedin.com/in/amine-jerbi-2b3a8928/

Did I answer your question? Mark my post as a solution!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.