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

Calculate the estimated cost per year (PBIX included)

Hello everyone,

 

PBIX link to file 

 

I am very exited to almost finish my power bi report.

Since 2020 our software producer calculates the value of a contract per year.

So i want to do a little bit of forecasting on our healthcare contracts. 

 

I want to calculate the contractvalue per period(year=13 periods) against the payments per period(13 periods). (date table and contractvalue table)

 

The date table is not in any relationship. this because i dont know if this is necessary.

if it is feel free to make a relationship.

 

1. Before i can set the value of a contract per period. I want to know how many periods the contract is active.

Table: date table and contractvalue table

 

2. Then i want to divide the count of periods that the contract is active with the total contract value of a year. to get the contact value per period.

 

3. Then i want the payment per period and contractvalue per period next to eachohter

 

Like this:

Period   Payment     Contractvalue

202001       50                   100

 

 

4. The % of the divide (payments per period / contractvalue per period)

5. The difference of the payment and contractvalue per period.

6. The % of number 4  * the total contractvalue per year

7. The difference sum (number 5)per period to make the difference per year - the total contractvalue of a year

 

Result : then i will have a approximate value what we have to pay for the years per contract.

Most of the times this will be lower than the ContractValue per year.

 

I want to specify number 4 and 5 (periods) and number 6 and 7 (year) against the Dim tables to check where healtcare is not given.

Because if healthcare is not given according to our contract we want to know whats the reason.

 

1. Contractors

2. Clients

3. Productcategory

4. Products

5. Assisants

 

Can you help me make my day?

Well okay you will make my week 😉

 

Kind regards Peter

1 REPLY 1
Greg_Deckler
Super User
Super User

See if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...


@ 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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors