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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
wherdzik
Helper III
Helper III

Unstructured Table - Take Name from Row and Put on new column and individual Rows

Hi All, This seems pretty challenging and not sure if its doable but I know this is the place to bring up this issue. 

I am not sure I can change the source data so this is what I have to work with.  I have a file that I pull from a vendor which has 11 columns indicating schedule details.  Each section is for a specific person.  I would like to come up with some sort of a process that I can paste an updated data pull each month and then have PowerQuery create a new column with the persons name on each row, related to that data set.  So if you open up my sample file the first section is related to Peck, Stevens on line 7.  I would like to add a column with a header name and then have Peck Stevens on each row starting on line 9 until it reaches the next data section which is Dean, James.  This would be repeated until all data set has a name on each row related to their respective section.

 

I dont know how to attach the PBIX to here otherwise I would add it here so you can play with the actual sample data.

wherdzik_0-1701275535663.png

 

1 ACCEPTED SOLUTION
slorin
Super User
Super User

Hi,

Add new column

if Text.Contains([YourColumn],",") then [YourColumn] else null

and fill down

 

Stéphane 

View solution in original post

2 REPLIES 2
wherdzik
Helper III
Helper III

Got it to work. Thank you.

slorin
Super User
Super User

Hi,

Add new column

if Text.Contains([YourColumn],",") then [YourColumn] else null

and fill down

 

Stéphane 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors