The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
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?
Solved! Go to Solution.
a = Table.ToColumns(Source)
b = a & { List.Skip( List.Last( a ) ) & { null } }
c = Table.FromColumns(b, Table.ColumnNames(Source) & {"Reassigned To"})
You can also use Table.SelectRows
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.