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
Joachim2108
Helper I
Helper I

Chart and table showing different values

Hi all,

 

I'm having issues with a "YTD last year" measure.

 

YTD_Help.png

 

 

I have the same measures presented on a chart and table, however as you can see on the picture, the YTD last year values are different, while the YTD (current year) values are correct and the same. The YTD last year values are correct on the chart, not the table. The DAX formula for YTD last year is: 

 

YTD Last year = CALCULATE([YTD];SAMEPERIODLASTYEAR('DATE'[DATE]))
 
The solution is probably very simple, however I can't seem to figure it out. Can anyone tell me why the table shows different values, and how do I fix it?? Thanks in advance.
2 REPLIES 2
Anonymous
Not applicable

Hi @Joachim2108 ,

 

Please show some sample data. You could check the blog about How to Get Your Question Answered Quickly.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 

 

Best Regards,

Jay

Joachim2108
Helper I
Helper I

Followup: I understand the issue has something to do with how PBI calculates totals, however the solutions to these problems are different depending on the context. 

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.