cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors