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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lzhang17
New Member

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

@lzhang17 , 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-Anal...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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