Forum Discussion

Junaid11's avatar
Junaid11
Helper V
4 years ago
Solved

M code for counting rows

Hello, I want to have the M code where I want to count consecutive rows of Flag based on sorted index column (Week_Index) and based on the group (Item), however, value "999" should be ignored. The ...
  • latimeria's avatar
    latimeria
    4 years ago

    replace first line with this code

    Source = Excel.Workbook(File.Contents("Your file path + name.xlsx"), null, true),