Forum Discussion
admin11
Memorable Member
4 years agoI need to Extract first 3 character ?
Hi All Can some one share with me how to do the above mentioned ?
- 4 years ago
Power BI / DAX: Add a calculated column with the Code:
CalculatedColumn := LEFT([Customer/Vendor], 3)PowerQuery:
nextStep = Table.AddColumn(previousStep, "newColumn", each Text.Start([#"Customer/Vendor"], 3), type text) - 4 years ago
Hi,
In the Query Editor, you may also try the "Column from Example" feature.
Hariharan_R
Solution Sage
4 years agoHi admin11
As you are in Power query use Text.Start function in the new custom column.
Ref - https://docs.microsoft.com/en-us/powerquery-m/text-start
Thanks
Hari
Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.
My Blog :: YouTube Channel :: My Linkedin
If I helped you, click on the Thumbs Up to give Kudos.
My Blog :: YouTube Channel :: My Linkedin