Considering the sheet 1 - I have data on row number 2 and 3 will have same HPID and DOS, with the unique value I need to merge both the 2 and 3 row into a single row mentioned in the output sheet.
Yes, you’re correct! In the context of the For Each activity iterating over the grouped rows, rowGroup represents a collection of rows (essentially a List of DataRow objects) for each unique combination of “HPID” and "DOS
The error “Column ‘UniqueColumn’ does not belong to table DataTable” typically occurs when you try to access or assign a value to a column that doesn’t exist in the DataTable. To resolve this issue, you need to ensure that the UniqueColumn exists in both the original DataTable (dt) and the cloned DataTable (mergedDataTable)
To help you out on this problem I need a few inputs from your end.
while going through your given input file there are a few columns which getting accumulated(like “AcceptableDOSReviewed”, “NoOfVisits”), as other column values are empty so I need one clear instruction.
The columns (like “ClaimsLinked” etc) where date is appearing how we need to pick the result date in the output unique row (example which one will be the recent date of from the row sequence in input file the last one row date).