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
roncruiser
Helper V
Helper V

Shift Data after column down to a new row

On specific rows of my data set, I would like to move a row of text after a specific column to a new row down.

Much like a carriage return would do.  My power query creativity is very low today.

 

Thank you...

 

For example:

Would like to move the data after the arrow to a new row.

RAW data csv.  From this....

new_row1.jpg

...to this in Power Query (new row)

Move data to new row.Move data to new row.

Stuck here.

new_row3.jpg

 

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

@roncruiser 

 

Hi, i'm sure that exist another way but i will do thiw:

 

Duplicate the Query

Filter Rows that contain max_eyew in Column 9

Remove other Columns (1 to 😎

Rename the column names (1 to 😎

 

Append to Original Query

 

Regards

 

Victor




Lima - Peru

That trick row occurs in multiple places in the data set.

If it happened only once, your solution would work, but 

that trick row happens 16 separate times.

 

...

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.