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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

dashboard brings total values 2 times higher than current one for previous years

I prepared a dashboard but as you see on attachment, only for previous years formula multuply total stocks by 2. but it  does not happen for current year. 

may you help me why ?

Baris2836_0-1732883441221.jpeg

 

Baris2836_1-1732883451577.jpeg

 

Thank you in advance

Baris 

 

1 ACCEPTED SOLUTION
Bibiano_Geraldo
Super User
Super User

Hi @Anonymous ,
The issue lies in your formula not filtering by the year in addition to the month. As a result, it pulls all data for November across all years, rather than just for November of the current year.
To ensure the formula only brings values for the current month and current year, modify it as follows:

Current Backlog = 
IF(
    MONTH('Raw data'[Req. Del. Dt.]) = MONTH(TODAY()) &&
    YEAR('Raw data'[Req. Del. Dt.]) = YEAR(TODAY()),
    "Current",
    " "
)

 

View solution in original post

3 REPLIES 3
Bibiano_Geraldo
Super User
Super User

Hi @Anonymous ,
The issue lies in your formula not filtering by the year in addition to the month. As a result, it pulls all data for November across all years, rather than just for November of the current year.
To ensure the formula only brings values for the current month and current year, modify it as follows:

Current Backlog = 
IF(
    MONTH('Raw data'[Req. Del. Dt.]) = MONTH(TODAY()) &&
    YEAR('Raw data'[Req. Del. Dt.]) = YEAR(TODAY()),
    "Current",
    " "
)

 

Anonymous
Not applicable

Hello

actually problem is this formula = 

Current BAcklog = IF(MONTH('Raw data'[Req. Del. Dt.])=MONTH(TODAY()),"Current"," ")
but we are in November so formula brings all other November's value not only November-2024 .
how can I bring only current years value?
Thank you
Baris 
daircom
Resolver II
Resolver II

can you show us the formula?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.