Forum Discussion

rangeet1's avatar
rangeet1
Frequent Visitor
4 years ago
Solved

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 

  • Anonymous's avatar
    Anonymous
    4 years ago

    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

3 Replies

  • Anonymous's avatar
    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

  • Anonymous's avatar
    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