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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
AndrewInganni
New Member

Calculate number of months between 2 dates based on a financial year start and end date

Hi, first time post here so be kind!

 

I am trying to create a Power BI report which will show a cost attribution per year of a contract. I know the start and end date of a contract so know how many months overall but the contract may start and end mid year so it is not as simple as dividing the number of months by 12.  example:

contract starts on 1st April 2023 and ends 31st Match 2026 and the value of the contract is $18000.  The financial year for the business is starts in December and runs to November the following year. 

What I want to be able to calculate is how much of the contract values falls into each FY. so FY2023 will be April - November so it is nine 36ths as there are nine months of the FY left for a 36 month contract. 

what I'm struggling with is how to establish a formula(s) which will calculate this so I can present how much contract value will be realised in each FY. 

 

Has anyone tied to do anything like this and have a suitable solution?

 

Thanks in Advance

Andrew

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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