I'm trying to count the difference of dates reseting for each new user:
In the above example I have the userid and Date columns and have to create the Days column as the difference of the first day with each of the following days for each userid, so I have to reset the difference when the userid changes therefore I need to take as first day the one that corresponds to the new user as in the examplePlease Login or Register to view this content.
Bookmarks