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

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
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!

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