Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Help with Cohort Analysis on Expiration Amount

Hello,

 

I was wondering if anyone could help with creating a cohort analysis/matrix for the following senario: 

 

The goal here is to see if there is anything left in the revenue that isn't spent before it's expiration date. The screenshot below is one way displaying the information built in Excel. Revenue could come in any month, and each revenue would expire in 24 months. We are trying to group them into the Month 00 column with the month in rows (y axis).The expense would also occur in any month but we are trying to assign the amount on a first come first serve basis where it will follow it's original occured date along the x-axis (columns) but also follow the right grouping of row. In our example, the expense would reach 24,000 beforer going to the next month of revenue for expense. 

lzhang17_0-1604891785516.png

 

Please let me know if this is achievable through dax or if there is any better way to structure and present this information. We want to see if there is value left unspent by the time it expires and another way to look at it would be by the end of a fiscal year end, is there any amount left and if so, which month is driving the number?

 

I've also created a similar mock up dashboard to showcase the data structure that we have.

 

Really appreciate any inputs. Thank you!

 

https://drive.google.com/file/d/1CjWDU-1DNZUIihjriEgmgPNQeI3-5PHX/view?usp=sharing 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Need to check the files.

But refer to my blog and video if that can help

https://youtu.be/Q1vPWmfI25o?t=754

#PowerBI Customer Retention Part 3: Period Of Stay – Cohort Analysis: https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-3-Period-Of-Stay-Cohort-Analysis/ba-p/1393410

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.