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

How to calculate revenue per year from contracts

Hi

Sorry I am a begginer in PowerBI

 

I have the following table of contracts. The end date is empty if the contract is still alive. 

The price is for one year subscription.

 

ContractID   StartDate           EndDate            Price for 12 months

1                  01/07/2021       01/07/2022       100

2                  01/01/2021        31/12/2021       200

3                   01/09/2021                                 300

 

I would like to calculate the revenue per year and the number of active contracts per year

Year      Revenue   Nb Contracts

2021     350                3

2022     350                2

2023     300                1

 

Thank you for your help

 

 

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@Anonymous 
Take a look at these two Quick Measures as I think you want something like them.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors