Reputation: 17
I have a column in Powerbi with postal code and City in the same cell. I would like to have Zipcode in a column alone.
My problem is that the length of postal code varies from country to country.
Some have 5 characters others have 4 ex. 7400 Herning, 12307 Berlin
The postal code and city are separated with a "space".
Is it possible to have a code that return all characters that returns everything until the first "space"?
Thanks.
Upvotes: 0
Views: 57
Reputation: 1515
You can achieve this using Column From Examples
in Power Query
Upvotes: 0