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 September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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