Forum Discussion
James__
Helper I
3 years agoHelp in Identifying Renewal Customers
Hi, I have a list of policy sales and i need to identify which customers have renewed. Each policy is 12 months in duration and each customer has an unique ID. Can anyone help identify which ...
- 3 years ago
Try this measure:
Renewed = VAR _ID = MAX ( 'Table'[Unique ID] ) VAR _Reg = MAX ( 'Table'[Reg] ) VAR _Renewed = IF ( COUNTROWS ( SUMMARIZE ( FILTER ( ALL ( 'Table' ), 'Table'[Unique ID] = _ID && 'Table'[Reg] = _Reg ), 'Table'[Unique ID], 'Table'[Reg], 'Table'[Inception Date] ) ) > 1, "Renewed" ) VAR _date = CALCULATE ( MAX ( 'Table'[Inception Date] ), FILTER ( ALLEXCEPT ( 'Table', 'Table'[Unique ID] ), NOT ISBLANK ( _Renewed ) ) ) RETURN IF ( MAX ( 'Table'[Inception Date] ) = _date, _date )
amitchandak
Super User
3 years agoJames__ ,
Can you please share sample data and sample output in table format?