I have a column that I have only been able to do in DAX so far, but I need it in Power Query as the table has many dependent queries.

In a nutshell, what the Cummulative column does is, for each part, it incrementally adds 1 just after each 1 value is found in the Non-Matching Response column. It uses the Index column as the order for this (ascending). In effect this is grouping the parts into a new group after a certain value is reached.

Is there a quick and easy way I can do this in Power Query to get the same output as the table in the Out sheet?

Here is the DAX for quick reference: