Power Query Conditional Running Total with If Statment Advanced Problem

Spreadsheet Pete 21 Reputation points
2022-07-19T21:20:32.12+00:00

Hi, This is an Advanced problem in M language with a very simple excel formula solution.
And after many tryouts with many codes I am kindly asking for Help, please

Here are the basic example of excel files explaining the problem statement
222511-calculated-table.png

And here are the formulas
222454-formulas.png

So far the solution closest to the problem was described here yet I could not tweak this code to make it works as its over two different rows to compare
https://www.mrexcel.com/board/threads/power-query-grouped-running-totals-with-a-maximum-condition-and-a-verifier.1186541/

Please Help

Community Center | Not monitored
0 comments No comments
{count} votes

Answer accepted by question author
  1. Anonymous
    2022-07-19T21:48:56.793+00:00

    Power query is not currently supported here on Q&A. The product group for Power Query actively monitors questions over at
    https://community.powerbi.com/t5/Power-Query/bd-p/power-bi-services

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Spreadsheet Pete 21 Reputation points
    2022-07-20T09:48:11.16+00:00

    Confusing with so many forums and redirections, yet thank you for the link


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.