Hello, everyone. I need help with creating a category using email and date data grouping. I wanted to count how many times a user was inactive or not using their account. I need it to only count the latest consecutive Inactive Users. The skip on the date was considered to be Active User and therefore the reason for the cumulative sum reset. Here is a picture to help you understand what I need.
How can I achieve the result I need? Is cumulative sum the way to achieve what I need or is there a better way to solve this issue? Thank you for the help.
Edit: This is the idea I currently had in mind. I would create a table only filled with the date and then gives all the emails the same date. Then, if the date didn't exist in the table, it would give 0 value. Then I can use the zero for cumulative sum.
But I currently have no clue on how to create the table like the above. I tried to merge it with the main data, but it would still only show the dates each email has, not all email got the date.
lbendlin
2
Super User 2025 Season 1
mmbr1606
2
Super User 2025 Season 1
ronaldwalcott
2