Forum Discussion
Length Between Purchases
Hi Experts,
I am trying to calculate the length between all customers first and second purchase. Here is a measure I have:
- Anonymous4 years ago
Hi Anonymous ,
I suggest you to create a new measure based on the original measure you created before.
Diff with correct total = SUMX(VALUES('Table'[Customer ID]),[Basic])Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- rajulshahResident Rockstar
Hello Anonymous ,
Can you please share your sample data structure?
- AnonymousNot applicable
Fact table looks like this:
Date is measure above refers to purchase date.
I hope that helps, cannot share the file for confidential reasons
- AnonymousNot applicable
Hi Anonymous ,
I suggest you to create a new measure based on the original measure you created before.
Diff with correct total = SUMX(VALUES('Table'[Customer ID]),[Basic])Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.