SQLDAXExcelPython
Leaderboard
Window functionsMedium20 points

Running total for 2024

For each month of 2024, return MonthNumber, that month's total Amount, and the running total from January, in month order.

Show solutionLifetime

Runs in your browser with DuckDB, whose SQL is close to PostgreSQL. Nothing you type is sent to a server unless you save a score.

SQLselect text to run only that part
Loading editor…

Press Ctrl+Enter or Run to see the result here.