Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have an issurance data where i have to check for persistency. I need help on how many people bought the policy throughout the 3 months period or how many people cancelled their policy after one momth. How can i formulate persistency on power bi?
@Anonymous , on the way, is I create a month year column and do count distinct month year for rolling three month data. So if If you get 3 it means they got for all three months.
Canceled in next month, check for next month based on cancellation date , You need to join purchase and cancel both to same date table and the use userelationship and time intelligence
example
Rolling 3 = CALCULATE(distinctcount(Table[Month Year]),DATESINPERIOD('Date'[Date],max('Date'[Date]),-3,MONTH))
Rolling 3 = CALCULATE(distinctcount(Table[Month Year]),DATESINPERIOD('Date'[Date],eomonth(max('Date'[Date]),0),-3,MONTH))
Purcahse in last three months /Customer id or policy id(if same policy)
Example of this month next month
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
next MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],1,MONTH)))
next month Sales = CALCULATE(SUM(Sales[Sales Amount]),nextmonth('Date'[Date]))
Userelationship : https://www.youtube.com/watch?v=e6Y-l_JtCq4
Power BI — Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA
countx( values(Table[Policy ID]), if( not(isbalnk([Rolling 3])),1,blank()))
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |