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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dwedding3
Frequent Visitor

Copy field down throughout column to fix formatting

So I basically want to change a file from this:

 

dwedding3_0-1743439049847.png


To this

dwedding3_1-1743439087344.png



In power query. How do I do that dynamically?

 

1 ACCEPTED SOLUTION
jgeddes
Super User
Super User

You can use Table.FillDown() to achieve the result.
As Table.FillDown replaces null values you will have to replace the blank values in Column1 with null values prior to using Table.FillDown.
A sample code for that would be...

= Table.FillDown(Table.ReplaceValue(yourPreviousStep, "", null, Replacer.ReplaceValue, {"Column1"}), {"Column1"})

Hope this helps. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
jgeddes
Super User
Super User

You can use Table.FillDown() to achieve the result.
As Table.FillDown replaces null values you will have to replace the blank values in Column1 with null values prior to using Table.FillDown.
A sample code for that would be...

= Table.FillDown(Table.ReplaceValue(yourPreviousStep, "", null, Replacer.ReplaceValue, {"Column1"}), {"Column1"})

Hope this helps. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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