Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Query
Unanswered

Creating category using Cumulative Sum for Email and Date grouping

(0) ShareShare
ReportReport
Posted on by

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. 

Annotation 2023-12-13 170138.png

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. 

Annotation 2023-12-14 114243.png

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. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Query

#1
lbendlin Profile Picture

lbendlin 2 Super User 2025 Season 1

#1
mmbr1606 Profile Picture

mmbr1606 2 Super User 2025 Season 1

#1
ronaldwalcott Profile Picture

ronaldwalcott 2

Overall leaderboard

Featured topics