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
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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
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.


Go to My LinkedIn Page


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.