Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
hello_MTC
Helper III
Helper III

Split Columns

hello_MTC_0-1652073862719.png

 

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!

1 ACCEPTED 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 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
jaipal
Resolver III
Resolver III

@hello_MTC  Open Power Query Editor, Select column and Click on Split Column, choose By Delimiter

jaipal_2-1652074389024.png

 

 

You wil get the columsn as below:

jaipal_1-1652074338439.png

 

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 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors