Forum Discussion
Customer Retention from previous period
- 7 years ago
Hi waterphil,
Then update the measure as below.
Measure = CALCULATE(DISTINCTCOUNT(vw_busdev_report_revised[Name]),FILTER(vw_busdev_report_revised,[Measure 2]=1))
Regards,Frank
Hi Frank,
i think i have to define each column
recuits - are not yet distributors
new distributors - are distributors coming from recruits who do their first sale
i want to how many new distributors will perform again on the next period
out of 399 recruits in Period 1 we were able to convert 188 new distributors
now, im interested to know out of 188 new distributors in Period 1 how many will stay/sell again on Period 2
Thanks!
this is the result I need - out of 5 new customers in P1 - 4 customers sell again in P2
| Period | New | Old | Total Customers | Result |
| 1 | 5 | 13 | 18 | 4 |
| 2 | 1 | 11 | 12 | 0 |
| 3 | 3 | 6 | 9 | 0 |
| Total | 9 | 18 | 22 | 4 |
- v-frfei-msft7 years ago
Community Support
Hi waterphil,
To create the measures as below.
Measure 2 = var no = MAX('Sheet1 (2)'[Periodno]) var t =CALCULATETABLE(VALUES('Sheet1 (2)'[Name]),FILTER(ALL('Sheet1 (2)'),'Sheet1 (2)'[Periodno]<> no )) return IF(SELECTEDVALUE('Sheet1 (2)'[New Customer])=FALSE(),BLANK(),IF(SELECTEDVALUE('Sheet1 (2)'[Name])in t,1,0))Measure 3 = SUMX('Sheet1 (2)',[Measure 2])As the data you shared, the result should be like this.
Regards,
Frank
- waterphil7 years agoRegular Visitor
Hi Frank,
my computer got hung when I tried to use measure 3 in my actual datasets, measure 2 is working fine
- waterphil7 years agoRegular Visitor
Hi v-frfei-msft
computer got hung if I'm using my actual dataset
tried to remove some rows to test, measure 2 is correct but measure 3 gives me an incorrect valueThanks!
- v-frfei-msft7 years ago
Community Support
Hi waterphil,
Then update the measure as below.
Measure = CALCULATE(DISTINCTCOUNT(vw_busdev_report_revised[Name]),FILTER(vw_busdev_report_revised,[Measure 2]=1))
Regards,Frank