Forum Discussion
Splitting column
Hello
I have a column called"ADDRESS"which has street,city,pincode.Now I want only street in another column.
ex: HOUSE 1234 Manchester Rd, Knoxville, TN,12345-6789 01234
Thanks in advance
Pavani
Hi Anonymous
You can achieve it with PQ by following these steps:
1. Click right-click on your address column and choose the "split column" option << "by delimiter2. Select comma as delimiter
3 . Modify split at
Result : (From here just change column names)
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Text.BeforeDelimiter( [Adress], "," ,RelativePosition.FromStart)
2 Replies
- Ritaf1983Super User
Hi Anonymous
You can achieve it with PQ by following these steps:
1. Click right-click on your address column and choose the "split column" option << "by delimiter2. Select comma as delimiter
3 . Modify split at
Result : (From here just change column names)
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
- AhmedxSuper User
Text.BeforeDelimiter( [Adress], "," ,RelativePosition.FromStart)