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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nicolast29
Helper V
Helper V

How to do the same as Excel

Hi

I am experiencing an offset in columns from some rows, I don't know how to handle it with Power Query

 

Capture.JPG

 

Thanks

 

https://1drv.ms/x/s!AoqtZHsX4BzvhddJ5qr_fWw_fwQLjA?e=xM73DO

1 ACCEPTED SOLUTION
isjoycewang
Super User
Super User

Demo attached. Maybe you can try below steps:

 

1. Add a [Index] column to your table

2. duplicate the orginal table

   - distinguish the two table by [Index], the first one with [Index] less than 4 and the second one greater than 4

   

isjoycewang_0-1702460896452.pngisjoycewang_1-1702460926378.png

 

3. Remove blank column in the first table and rename columns in the second table

4. Append queries, so you'll have a consolidated clean table.

isjoycewang_2-1702461042481.png

 

Best Regards,

Joyce

 

View solution in original post

2 REPLIES 2
isjoycewang
Super User
Super User

Demo attached. Maybe you can try below steps:

 

1. Add a [Index] column to your table

2. duplicate the orginal table

   - distinguish the two table by [Index], the first one with [Index] less than 4 and the second one greater than 4

   

isjoycewang_0-1702460896452.pngisjoycewang_1-1702460926378.png

 

3. Remove blank column in the first table and rename columns in the second table

4. Append queries, so you'll have a consolidated clean table.

isjoycewang_2-1702461042481.png

 

Best Regards,

Joyce

 

effective

No as beauty as i was meaning

Good job

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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
Top Kudoed Authors