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
bhaskarpbi999
Helper II
Helper II

Split Weekday name and time hours in to different columns

Hi All,

 

I need your assitance to split the below data to different columns like Weekday in one column and Hours in one column.

 

bhaskarpbi999_0-1709296523757.png

Expected format either of the 2 below.

 

bhaskarpbi999_2-1709296833130.png

 

 

bhaskarpbi999_1-1709296633865.png

 

Thanks for your assistance..

 

 

 

1 ACCEPTED SOLUTION
tharunkumarRTK
Solution Sage
Solution Sage

@bhaskarpbi999 
You can split your data first, Text.Split("Text", "#(lf)") and then expand the list into new rows and then split the column with ":" delimiter. Attached a sample for your reference. 

https://drive.google.com/file/d/1UzkpA9aohjDfwx8Sjnytox8bJJPdd5t2/view?usp=share_link 


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun



View solution in original post

2 REPLIES 2
tharunkumarRTK
Solution Sage
Solution Sage

@bhaskarpbi999 
You can split your data first, Text.Split("Text", "#(lf)") and then expand the list into new rows and then split the column with ":" delimiter. Attached a sample for your reference. 

https://drive.google.com/file/d/1UzkpA9aohjDfwx8Sjnytox8bJJPdd5t2/view?usp=share_link 


If the post helps please give a thumbs up


If it solves your issue, please accept it as the solution to help the other members find it more quickly.


Tharun



Thanks a lot for your assistance Tharun ! 

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.

Top Solution Authors