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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Assigning Data According to Position in Table

Hello all,

 

I'm having an issue transforming a table that is set up for humans to read, not computers. Unfortunately, I do not control this spreadsheet and cannot change the way it is arranged. I've modified the data to look the the first table in the picture, but I'm having trouble figuring out how to get to the form in the second table (highlighted in yellow). I am confident in my ability to move from step 2 to steps 3 and 4, but need help getting from step 1 to step 2. Is this transformation possible? There is no other unique information to tie these records together.

 

holliebollie_0-1663948263854.png

 

I would greatly appreciate your help. Thanks!

1 ACCEPTED SOLUTION
edhans
Super User
Super User

Yes, in Power Query, simply use the Fill Down feature. Right click on that column and select Fill, Fill Down.

 

edhans_0-1663948893716.png

Note that the cells must be null, not just blanks. If they are blank, before you do the fill down, select the column, right-click and Replace, leave the first block blank, and type the word null in the second.

edhans_1-1663948976974.png

 

 

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Super User
Super User

Yes, in Power Query, simply use the Fill Down feature. Right click on that column and select Fill, Fill Down.

 

edhans_0-1663948893716.png

Note that the cells must be null, not just blanks. If they are blank, before you do the fill down, select the column, right-click and Replace, leave the first block blank, and type the word null in the second.

edhans_1-1663948976974.png

 

 

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors