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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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!

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors