Pls help me in power query
I've seen it but it doesn't work, you can check the file
Column(G)=IF(E3>0,F3,SUM(N(+G$2:G2)))
If you actually try to provide detail about what it is and explain clearly the result you want, it'll be much easier to help you.
To start, in your workbook (and in your previous reply) you have an Excel formula. This isn't M code, so I'm not clear on whether you want a Power Query solution, or to use an Excel formula.
Secondly, I can't see what is wrong. Your formula is doing what it is written to do. How exactly does the result it gives differ from what you want.
Thirdly, if you have seen the posts on running totals in Power Query (which do work) and tried the code, you haven't explained why they don't produce the result you are after.
Regards
Phil
Also cross-posted here: https://chandoo.org/forum/threads/running-total-in-power-query.52167/