Forum Discussion
Last Modified Time
- Anonymous3 years ago
Hi surajde ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2)Click on "transform data" to enter the power query and add index a column.
(3) We can create calculated columns.
Column = MAXX(FILTER('Table',[Request ID]=EARLIER('Table'[Request ID])&&[Index]=EARLIER('Table'[Index])-1),[Group Name])Column 2 = IF(OR([Column]=BLANK(),[Group Name]<>[Column]),[Request Modified on ])Column 3 = var a=MAXX(FILTER('Table',[Request ID]=EARLIER('Table'[Request ID])&&[Group Name]=EARLIER('Table'[Group Name])&&[Index]<EARLIER('Table'[Index])&&[Column 2]<>BLANK()),[Index]) return IF([Column 2]<>BLANK(),[Column 2],IF([Group Name]=[Column],LOOKUPVALUE('Table'[Column 2],'Table'[Index],a)))(4) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi surajde ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2)Click on "transform data" to enter the power query and add index a column.
(3) We can create calculated columns.
Column = MAXX(FILTER('Table',[Request ID]=EARLIER('Table'[Request ID])&&[Index]=EARLIER('Table'[Index])-1),[Group Name])Column 2 = IF(OR([Column]=BLANK(),[Group Name]<>[Column]),[Request Modified on ])Column 3 = var a=MAXX(FILTER('Table',[Request ID]=EARLIER('Table'[Request ID])&&[Group Name]=EARLIER('Table'[Group Name])&&[Index]<EARLIER('Table'[Index])&&[Column 2]<>BLANK()),[Index])
return IF([Column 2]<>BLANK(),[Column 2],IF([Group Name]=[Column],LOOKUPVALUE('Table'[Column 2],'Table'[Index],a)))
(4) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.