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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Pinky0404
Helper III
Helper III

split by delimiter

Hi, I am new to Power BI and wanted to know ,how can i split a text column that has few host names as Ip addresses with port number separated by colon and few hosts with the website address.

Eg: 111.222.333.444:1234
http:\\www.abc.com

I want to split the hosts with ip address from port numbers and also want the host with full website address in one column.
when i try delimiting using colon though the port numbers are separated but at the same time for host with website address is just giving http. Please help!

Expected Result: 111.222.333.444
http:\\www.abc.com

1 ACCEPTED SOLUTION
erik_tarnvik
Solution Specialist
Solution Specialist

Use Replace Values to replace the text :// with for example ###. Then split the column with : as delimiter, followed by replacing ### back to ://.

 

 

View solution in original post

2 REPLIES 2
erik_tarnvik
Solution Specialist
Solution Specialist

Use Replace Values to replace the text :// with for example ###. Then split the column with : as delimiter, followed by replacing ### back to ://.

 

 

Excellent. Thank You it worked.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.