This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Power query in PBI, I am trying to find and replace a value that has a return in a cell. I am trying to replace the value with just the employees name.
I need it to go from SCOTT D HALL_x000D_ 208580 to just Scott Hall....also his name placement may change each month so how do I have power query recongize his name is in another location and modifies that information?
Solved! Go to Solution.
Generally, you can splite the column by custom separator like " " and "_", then remove the useless columns and combine the two left columns.
Or you can regular expreesion to match the pattern using python or R.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Generally, you can splite the column by custom separator like " " and "_", then remove the useless columns and combine the two left columns.
Or you can regular expreesion to match the pattern using python or R.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 19 | |
| 19 |