The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.