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
pect
Helper I
Helper I

Split column in multiple rows

Hello,

 

I'd be very grateful if you could help me with an issue I've been struggling all the day through.

 

I have data in below format (1st image) where some columns have multiple values separated by commas. 

 

Capture.PNG

Instead, I need to split columns "task", "start date", "finish date" and "checkpoint" into as many rows as different data are in each cell. Note that each cell has the same number of items for each id (i.e. id A has 3 tasks, 3 start and finish dates, and  3 checkpoints whereas id B has 4 of each). So, the table I am trying to model is the following:

 

Capture.PNG

 

Thank you very much in advance.

 

Àlex

1 ACCEPTED SOLUTION
MarcelBeug
Community Champion
Community Champion

Yes, I overlooked one required adjustment: there is still a "Source" in that line of code, that should be adjusted to #"Promoted Headers".

Specializing in Power Query Formula Language (M)

View solution in original post

11 REPLIES 11

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.