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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Super User
Super User

@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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.