Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a large data set.
I have a column with first names, however, some of the rows have first names that also include middle intials or middle names.
Example...
Mary A.
Mary Ann
I need to eliminate the middle intial/name from the row. It has to be first name only in the first name column.
Solved! Go to Solution.
Hi @dev814 ,
Try this:
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @dev814 ,
Try this:
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
You can use Text.BeforeDelimiter:
Table.TransformColumns(PriorStep, {{"Name", each Text.BeforeDelimiter(_, " ")}})
---Nate
Unfortunetly that didn't work at all
Have you tried the Column from Examples feature? Would likely work well for this.
Add a column from an example in Power BI Desktop - Power BI | Microsoft Docs
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |