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 waterphil,
To create a measure as below. If it doesn't meet your requirement, kindly share your excepted result to me.
Distributors from previous Period = var No = MAX(Table1[Period No]) var per = CALCULATE(SUM(Table1[Recruits]),FILTER(ALL(Table1),Table1[Period No]=No-1)) return IF(ISBLANK(per),BLANK(),per-CALCULATE(SUM(Table1[New Distributors])))
For more details, please check the pbix as attached.
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!
- waterphil7 years agoRegular Visitor
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