- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Remove Text in a specific Column
Hi,
Need help, how to remove the Ms, Mr, Ms. Miss in some of the names of this column in Power Query? Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @jhoyabel19
Please fo the following
Please also make sure to use a space behind Ms or Mrs.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @jhoyabel19
I also built a more lean solution. with an Added Column.
if Text.StartsWith([Column1],"Mr ") or Text.StartsWith([Column1],"Mrs ") or Text.StartsWith([Column1],"Ms ") then Text.AfterDelimiter([Column1], " ") else [Column1]
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Mike,
Thanks for this solution. Is there a way to add a search in a table with common prefixs? I'd rather automate the replacements based upon the everchange master data set. I have a dataset that includes DR, dr DRS. Mrs, Miss, Ms, MS, Deacon, Dcn and other combinations. I can compile a list form the data using splitter to find the most prevelant prefixes. The list looks like:
Name.1 Count Title Made
Sister | 12 | Sr. |
Sr | 137 | Sr. |
Sr. | 32 | Sr. |
Ms | 35 | Ms. |
Ms. | 23 | Ms. |
Mrs | 141 | Mrs. |
Mrs. | 97 | Mrs. |
Mr | 15 | Mr. |
Mr. | 12 | Mr. |
Miss | 12 | Miss |
Rev | 8 | Father |
Dr | 12 | Dr. |
Dr. | 15 | Dr. |
Deacon | 3 | Deacon |
5 | B | |
Alexandra | 5 | B |
Alexandria | 3 | B |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi,
Could you share some data and show the expected result.
Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @jhoyabel19
Please fo the following
Please also make sure to use a space behind Ms or Mrs.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thank you so much for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@jhoyabel19 Awesome! Thank you for your feedback! 🙂
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
05-18-2024 05:17 PM | |||
10-09-2023 09:42 PM | |||
04-12-2023 08:34 AM | |||
Anonymous
| 09-26-2023 02:02 AM | ||
08-20-2024 08:44 AM |
User | Count |
---|---|
134 | |
106 | |
88 | |
55 | |
46 |