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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Evaluate a measure for multiple dates

Hello,

 

I have a contract database containing basic contract information such as Contract number, Client name, contract value, contract signature date, contract start date and contract end date.

Our Company has contracts that vary in lenght so we use MRR as a way to compare all contracts on the same basis.

I am trying to obtain a line chart that would show the evolution of total Monthly recurring revenue (MRR) on a monthly basis for the past 3 years.

 

I am able to obtain the MRR at the current date with a measure that corresponds to this formula:

Current MRR (USD) = CALCULATE(SUM(Contract_Data[Contract MRR]),Contract_Data[Subscription Start Date]<TODAY(),TODAY()< Contract_Data[Subscription End Date])
 
In the above measure, [Contract MRR] is the following measure: 
Contract MRR = (DIVIDE(Contract_Data[Contract Value],Contract_Data[Contract Lenght],0))
I fell I could get to what I am looking for if I could only replace Today() in the above formula with a dynamic date so that the expression is evaluated for every month that I include in my report filter. Is there an easy way to do that?
 
In the end I would obtain something like this:MRR Chart.png

 

Thank you in advance for your precious help

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Check if this can help. You need only one date slicer.

https://medium.com/chandakamit/power-bi-comparing-data-across-date-ranges-36be49b68613

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Check if this can help. You need only one date slicer.

https://medium.com/chandakamit/power-bi-comparing-data-across-date-ranges-36be49b68613

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
Anonymous
Not applicable

That worked thanks for the very quick turnaround.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors