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

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

Reply
ToriSugden
Regular Visitor

How to calculate next quarterly review date

Hi,
I have contracts that need to be reviewed quarterly based on the contract start date. I'm trying to work out the next review date for each contract so I can send out reminders for reviews that are due in the next X days.

E.g. Contract 123 commenced on 3-May-2023. Today is 29-Jan-2025 I want to be able to calculate that the next review date is 03-Feb-2025.

1 ACCEPTED SOLUTION
v-tsaipranay
Community Support
Community Support

Hi @ToriSugden ,

Thanks for reaching out to the Microsoft fabric community forum.

 

I would also take a moment to personally thank @AlienSx , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

Yes, we can establish the date for the next quarterly review. Based on the example you provided, I have used it as sample data on my end and successfully implemented it. Therefore, please refer to the attached pbix file.

 

I hope this should resolve your issue, if you need any further assistance, feel free to reach out.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you. 

View solution in original post

3 REPLIES 3
v-tsaipranay
Community Support
Community Support

Hi @ToriSugden ,

Thanks for reaching out to the Microsoft fabric community forum.

 

I would also take a moment to personally thank @AlienSx , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

Yes, we can establish the date for the next quarterly review. Based on the example you provided, I have used it as sample data on my end and successfully implemented it. Therefore, please refer to the attached pbix file.

 

I hope this should resolve your issue, if you need any further assistance, feel free to reach out.

 

If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.

 

Thank you. 

Thanks. That has worked. After posting the question I did come up with a solution but yours is more elegant.

AlienSx
Super User
Super User

((start as date, tod as date) => if tod <= start then start
    else Date.AddQuarters(List.Last(List.Generate(() => start, (x) => x < tod, (x) => Date.AddQuarters(x, 1))), 1))
    (#date(2023, 5, 3), #date(2025, 1, 29))

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.