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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Riri69
Regular Visitor

Look up value from other row of same table

I am trying to populate a column value in a report from the column in the next row.

 

The below are the entries in my Tasks table so Ann completes the first task and re-assigns the case to Brendan, then Brendan completes the next task and re-assigns the case to Tom.  The person it's re-assigned to is only visible once the next task is created hence the value is in the next row.

Riri69_0-1730904323537.png

 

For Row 1 'Reassigned To' = 'Reassigned By' in Row 2.

For Row 2 'Reassigned To' = 'Reassigned By' in Row 3.

 

Any ideas on how I can get this to work, please?

 

 

 

2 ACCEPTED SOLUTIONS
AlienSx
Super User
Super User

a = Table.ToColumns(Source)

b = a & { List.Skip( List.Last( a ) ) & { null } }

c = Table.FromColumns(b, Table.ColumnNames(Source) & {"Reassigned To"})

View solution in original post

blank one. And don't forget about let and in

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Riri69 ,

Thanks for AlienSx's reply!
And @Riri69 , Have you solved your problem? If solved please mark the reply in this post which you think is helpful as a solution to help more others facing the same problem to find a solution quickly, thank you very much!

Best Regards,
Dino Tao

Omid_Motamedise
Super User
Super User

You can also use Table.SelectRows


If my answer helped solve your issue, please consider marking it as the accepted solution.
AlienSx
Super User
Super User

a = Table.ToColumns(Source)

b = a & { List.Skip( List.Last( a ) ) & { null } }

c = Table.FromColumns(b, Table.ColumnNames(Source) & {"Reassigned To"})

Thank you for this.

Do I need to create a Custom Column or Blank Query?

blank one. And don't forget about let and in

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.