Skip to content
Advertisement

How to show the summation in each row of a measure with some conditions? [closed]

Let’s suppose that I have the following data:

I want to have a column let’s call it Summation:

I want that column Summation in each row to represent the total summation of customer from the first of the month until the day each row has.

How to do this in Python, SQL, or R?

Advertisement

Answer

In SQL Server

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement