Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Above attached is the column of address and that is the only column i have in my database.
I want to split the column by country, state and city. Since the values are not properly merged i do not understand how to seperate the columns. Please help. Thanks in advance!
Solved! Go to Solution.
@hello_MTC , Based on my obervation.
First Create a new column
Text.Combine(List.Reverse(Text.Split([Address], ",")), ",")
//I am assuming this will country, state, city, Address order
And then Split by delimiters into column into 4/5 columns as suggested by @jaipal
@hello_MTC Open Power Query Editor, Select column and Click on Split Column, choose By Delimiter
You wil get the columsn as below:
And rename the columns
Thank you for your reply, You can see not all the rows have unique. Some has address,city,state and country and some has only city,state and country.
I need only City, State and Country.
@hello_MTC , Based on my obervation.
First Create a new column
Text.Combine(List.Reverse(Text.Split([Address], ",")), ",")
//I am assuming this will country, state, city, Address order
And then Split by delimiters into column into 4/5 columns as suggested by @jaipal
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 40 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 26 |