cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Budget figures getting double due to multiple years. How to get the budget for each year without sum

Hi Experts,

I have an issue with my report where the requirement is to display the budget values for YTD , and the data has two years 2021 and 2022. And as per YTD it must only show for 2022. But i am getting the values summed as below:

Vaibhav_rathore_0-1659620170016.png

expected result

Vaibhav_rathore_1-1659620369118.png

for example if the value in 2021 is 10000 and in 2022 is 20000 then it must show values for 2022 i.e. 20000. But its getting summarized and giving result 30000.

 

I have drafted formulae but hard coded it:

CurrentYrBudget = CALCULATE(SUM(PolBudget[Enviro New Business Budget]),PolBudget[Year]=2022)
Hard coding is not correct, how this can be done dynamically, please help.
 
Thanks
Vaibhav
1 ACCEPTED SOLUTION
johnt75
Super User
Super User

CurrentYrBudget =
CALCULATE (
    SUM ( PolBudget[Enviro New Business Budget] ),
    PolBudget[Year] = YEAR ( TODAY () )
)

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

CurrentYrBudget =
CALCULATE (
    SUM ( PolBudget[Enviro New Business Budget] ),
    PolBudget[Year] = YEAR ( TODAY () )
)

Helpful resources

Announcements
collabdays lisbon

CollabDays Lisbon - 26 November 2022

Sessions include practical, hands-on experience that will help you take the next step in your career and know-how.

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.