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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rangeet1
Frequent Visitor

cohort

I am new in  this community. I am trying to make a cohort analysis. In which there two column dates in different tables , Enrollment date as first purchase date and sale dates as continious sales dates. Enrollemnt date takes place only once for each customer. These both dates are uniquely related by customer ID.With  * to 1 relationship.

 

I can make cohort when there is one date column. but with two dates that are both in squence im struggling. 

 

Can comeone pease help to explain the process in such a case. 

 

Thank you 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rangeet1,

Any update for these? if your table includes multiple date fields that are hard to map relationships, you can also try to unpivot the date fields to attribute and value.

After these steps, you can simply link these unpivoted data values to a calendar and use a filter with attributes to choose filter date types.

Unpivot columns (Power Query) (microsoft.com)

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @rangeet1,

Any update for these? if your table includes multiple date fields that are hard to map relationships, you can also try to unpivot the date fields to attribute and value.

After these steps, you can simply link these unpivoted data values to a calendar and use a filter with attributes to choose filter date types.

Unpivot columns (Power Query) (microsoft.com)

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @rangeet1,

It seems like you did not share the data structure or other related information. Can you please share a pbix or some dummy data that keep raw data structure with expected results? They will help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Jihwan_Kim
Super User
Super User

Hi,

I hope the below video helps.

Or, please share your sample pbix file or sample data and expected result.

Thank you.

 

https://www.youtube.com/watch?v=vbg4Je1tuis

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors