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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Jawed
Helper III
Helper III

Remainder budget for the rest of the year

Is there any Dax already built in to calculate the reminder of the year budget? For example, I want to be able to say what is my year to date Revenue in one column and then show the remainder revenue target for the year and calculate a ratio or %age for it. That way, I will be able to show what percentage or value is still left to be generated (or spent in the case of expenditure).

1 ACCEPTED SOLUTION
nickchobotar
Skilled Sharer
Skilled Sharer

@Jawed

 

You could take a running total dax logic and use it a numerator and your yearly budget as a denominator

   ***  you will need a date/calendar table for this to work.
   *** use this measure with date / month / quarter as your row headers

 

Budget Remainder % =
VAR Numerator =
    CALCULATE (
        [Sales Amount],
        FILTER ( ALL ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) )
    )
VAR Denominator =  SUM ( Budget[Budget] )
RETURN
   1-DIVIDE ( Numerator, Denominator, 0 )  // this should give you a remainder ratio 

 

N -

View solution in original post

2 REPLIES 2
nickchobotar
Skilled Sharer
Skilled Sharer

@Jawed

 

You could take a running total dax logic and use it a numerator and your yearly budget as a denominator

   ***  you will need a date/calendar table for this to work.
   *** use this measure with date / month / quarter as your row headers

 

Budget Remainder % =
VAR Numerator =
    CALCULATE (
        [Sales Amount],
        FILTER ( ALL ( 'Date' ), 'Date'[Date] <= MAX ( 'Date'[Date] ) )
    )
VAR Denominator =  SUM ( Budget[Budget] )
RETURN
   1-DIVIDE ( Numerator, Denominator, 0 )  // this should give you a remainder ratio 

 

N -

Thank you @nickchobotar

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors