Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

persistency check

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?

1 REPLY 1
amitchandak
Super User
Super User

@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()))

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.