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
TungNguyen_19
Helper III
Helper III

How to Fill up or down base on ID column in Power Query?

Dear everyone,

I have this table after Pivot 

 

IDLOLO BARGETRUCKING
AMFU301452null33null
AMFU3014528nullnull
BMOU30311314nullnull
BMOU303113null66null
BMOU303113nullnull138

 

How to Fill up or Fill down base on ID column in Power Query? The result will be like this:

 

IDLOLO BARGETRUCKING
AMFU301452833null
AMFU301452833null
BMOU3031131466138
BMOU3031131466138
BMOU3031131466138

 

In power query we only have option Fill down or Fill up only so I think this must be customized by M Language. Can anyone help me, many thanks to you guys ❤️ 

1 ACCEPTED SOLUTION
spinfuzer
Super User
Super User

Group By ID and then Operation All Rows.

 

Change the each _ part of the formula to

each Table.FillDown(Table.FillUp(_,Table.ColumnNames(_)),Table.ColumnNames(_))

 

spinfuzer_0-1706003627177.png

 

 

View solution in original post

1 REPLY 1
spinfuzer
Super User
Super User

Group By ID and then Operation All Rows.

 

Change the each _ part of the formula to

each Table.FillDown(Table.FillUp(_,Table.ColumnNames(_)),Table.ColumnNames(_))

 

spinfuzer_0-1706003627177.png

 

 

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.

Top Solution Authors
Top Kudoed Authors