Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Forecasting Overspend on contract

Hi So im a novice to PowerBi but getting better   Basically what im trying to do is show on a contract that based on the current yearly average spend if i will breach the contract value this year ...
  • v-hjannapu's avatar
    1 year ago

    Hi Anonymous,

    Thank you for reaching out to the Microsoft fabric community forum.

    You may calculate your total spend so far and average monthly spend using your invoice data in Power BI. Then, compare this against your contract value to see how much is left and estimate when you might exceed the contract if spending continues the same way. Using simple DAX measures and card visuals will help you track this easily.
    Please find the attached file for your reference.

    Contract Value = 120000

    Total Spend = SUM(Invoices[Spend])

    Invoice Month = FORMAT(Invoices[Invoice Date], "YYYY-MM")

    Average Monthly Spend =

    AVERAGEX(

      VALUES(Invoices[Invoice Month]),

      CALCULATE(SUM(Invoices[Spend]))

    )

    Remaining Value = [Contract Value] - [Total Spend]

    Estimated Months to Breach =

    DIVIDE([Remaining Value], [Average Monthly Spend])

    This will estimate how many more months until you reach your contract limit.

    If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it

    Best Regards,
    Harshitha.
    Community Support Team