dburke
New member
- Joined
- Apr 1, 2016
- Messages
- 25
- Reaction score
- 0
- Points
- 0
I am trying to split column text value '04-250-85152-000-00000-00' (an account string) using the Power Query split column function (delimiter is '-').
How can I retain the leading 0 characters for each new column (04 250 85152 000 00000 00) using a single formula?
Power Query interprets the newly created columns as numeric, not text and returns removes leading 0's (returns 4 250 85152 0 0 0)
what I want: 04 250 85152 000 00000 00
what I get: 4 250 85152 0 0 0
A work-around is to update each numeric column to get correct text values after splitting the original column but was hoping to avoid all those steps.
Any suggestions would be appreciated.
Thank you.
How can I retain the leading 0 characters for each new column (04 250 85152 000 00000 00) using a single formula?
Power Query interprets the newly created columns as numeric, not text and returns removes leading 0's (returns 4 250 85152 0 0 0)
what I want: 04 250 85152 000 00000 00
what I get: 4 250 85152 0 0 0
A work-around is to update each numeric column to get correct text values after splitting the original column but was hoping to avoid all those steps.
Any suggestions would be appreciated.
Thank you.