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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
chuongtt
Regular Visitor

Create a new column which has value from last row

Hi I am new to power query

 

I would like to create two columns which have the fulfill date from the last row of column 1 and column 2. 

Please try to help Pic 1Pic 1

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This should work:

NewColumn1 = Table.AddColumn(PreviousStepName, "Date1", each List.Last([Column1])),

NewColumn2 = Table.AddColumn(NewColumn1, "Date2", each List.Last([Column2]))

 

--Nate

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

This should work:

NewColumn1 = Table.AddColumn(PreviousStepName, "Date1", each List.Last([Column1])),

NewColumn2 = Table.AddColumn(NewColumn1, "Date2", each List.Last([Column2]))

 

--Nate

Jakinta
Solution Sage
Solution Sage

You can remove rows that contain: "Order" and "Date" then FillUp.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors