Is it possible to arbitrarily reset the cumulative value of the cumulative sum function?

In the following pivot table, I would like to display the sales amount by customer, department, manager, and day as cumulative values ​​for each day and month.
Is it possible to reset the accumulated value and accumulate again if the manager changes?


Not possible, you are looking for this Should cumulative aggregations with multiple breakouts reset count/sum when values of one specific breakout columns change? · Issue #2862 · metabase/metabase · GitHub

got it.
Make it compatible with the SQL query.