Forum Discussion

Pinky0404's avatar
Pinky0404
Helper III
8 years ago
Solved

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

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

     

     

2 Replies

  • erik_tarnvik's avatar
    erik_tarnvik
    Solution Specialist

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