Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Grouping in Power Query

Dear all, Can anyone explain of how to group rows in Power Query based on whether all proper cells in column "Date" contain value or not. Example with some more information below. Thanks in ...
  • ronrsnfld's avatar
    ronrsnfld
    4 years ago
    1. Add an Index column
    2. Add a custom column with a formula similar to:  =if [Date] <> null then [Index] else null
      1. If the blank dates are not "null", you may need a different comparison:  eg [Date] <>""
    3. Fill down the custom column
    4. Group by {"Account no.","Entry number","Custom"}
    5. Then you can add a custom aggregation of a concatenated "Explanation"