Forum Discussion

Element115's avatar
Element115
Memorable Member
4 years ago
Solved

Why does it take so long to execute this M code?

The following code snippet runs for hours and I do not know if it ever completes because after seeing how long the first run is, I canceled it. Here is the M code and table size is about 250K in impo...
  • HotChilli's avatar
    4 years ago

    A Table.Group with GroupKind.Local should accomplish this.  I'm not sure exactly what you want but grouping by status(?).  You can add an Index column afterwards.