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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.