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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

DAX/Visualization Table Duplicating Data for next year

Attached is sample data from my visualization table. You can see the Product Value is completing a weird calculation - each year is duplicating the product value from the previous, and my grand total is twice what is should be. 

Here is DAX for a couple columns:

Annual ACV Diff Between TY LY = SUM('Divya ACV'[Product Value]) - [Annual ACV Product Value LY]
Annual ACV Product Value LY = CALCULATE (SUM('Divya ACV'[Product Value]),SAMEPERIODLASTYEAR('Calendar Table'[Date]))
 
YearProduct CategoryProduct Value Annual ACV Product Value LY  Annual ACV Diff Between TY LY 
2011A$131,282.70  $                                                                               131,282.70
2012A$131,282.70 $                                                                   131,282.70 $                                                                            (131,282.70)
2012A$1,397,633.70  $                                                                           1,397,633.70
2013A$1,397,633.70 $                                                                1,397,633.70 $                                                                         (1,397,633.70)
2013A$2,472,531.60  $                                                                           2,472,531.60
2014A$2,472,531.60 $                                                                2,472,531.60 $                                                                         (2,472,531.60)
2014A$4,010,372.20  $                                                                           4,010,372.20
2015A$4,010,372.20 $                                                                4,010,372.20 $                                                                         (4,010,372.20)
2015A$5,295,672.70  $                                                                           5,295,672.70
2016A$5,295,672.70 $                                                                5,295,672.70 $                                                                         (5,295,672.70)
2016A$6,553,524.60  $                                                                           6,553,524.60
2017A$6,553,524.60 $                                                                6,553,524.60 $                                                                         (6,553,524.60)
2017A$7,571,281.70  $                                                                           7,571,281.70
2018A$7,571,281.70 $                                                                7,571,281.70 $                                                                         (7,571,281.70)
 

Not sure why this is happening!

 

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

 

Based on my test,  if we don’t summarize the [Product value] field, then we can get the table like this, each year is duplicating the product value from the previous

 

33.png

 

But if We select  Sum the value field, we can get the correct result as following,

 

34.png

 

BTW , pbix file as attached


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

 

Based on my test,  if we don’t summarize the [Product value] field, then we can get the table like this, each year is duplicating the product value from the previous

 

33.png

 

But if We select  Sum the value field, we can get the correct result as following,

 

34.png

 

BTW , pbix file as attached


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Sample source data would be helpful here: 

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors