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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.


Click here and Go to My LinkedIn Page


Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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