Forum Discussion

admin11's avatar
admin11
Icon for Memorable Member rankMemorable Member
4 years ago
Solved

I need to Extract first 3 character ?

Hi All

 

Can some one share with me how to do the above mentioned ?

 

  • 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)

6 Replies