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
TBenders
Helper II
Helper II

Replace entire cell containing specified text (in query editor)

Hi,

 

Probably an easy one but I can't find the solution. I have data imported from Google Analytics and I want to replace all values in the column 'Source' that contain varieties of LinkedIn to LinkedIn.

 

 

Is there an easy way to do this by replacing entire cell if it contains "inked" to "LinkedIn"?

I have doublechecked that the only sources containing 'inked' are from LinkedIn.

 

For example

be.linkedin
linkedin
nl.linkedin
touch.www.LinkedIn

 

Should all become

LinkedIn

 

The reason I want a 'containing' solution is because I have a bunch of similar cases and I don't want to set seperate 'replace values' for all variances.

 

Thanks for any help!

 

Kind regards,

Tom Benders

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@TBenders,

 

You can create a new conditional column with the "contains" operator.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@TBenders,

 

You can create a new conditional column with the "contains" operator.

Thanks @Anonymous for your suggestion! Would have prefered to do this in the same column, but this works great too.

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.