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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
wireu3
New Member

Doubling Duplicate Values

Hello everyone,

 

Did a little searching and I can't seem to find a solution to my issue so I'm hoping someone here can help me out.  I'm responsible for a few dashboards at my company and one of them takes units shipped and divides them into various groups of exclusive catagories.  Unfortunately the totals of all catagories are greater than the sum without catagories.  The table below shows the unfiltered total on the LEFT and one of the filtered totals on the RIGHT.  In this case I have filtered down to a very narrow view to highlight the problem so all values are identical except the TOTAL at the top and the 6th value below the TOTAL.

 

LEFT VALUE = Units Shipped = CALCULATE(SUM('Raw Data'[Shipped]))

 

RIGHT VALUE = LVS Units Shipped = CALCULATE(SUMX('Raw Data',[Units Shipped]),'Customer Type'[Customer Type]="LVS")

 

Power BI - Help Me pic - doubling duplicates.png

 

 

 

 

 

 

 

 

 

 

So when I went to the Data view and filtered down to the same level, these were the values present:


Power BI - Help Me pic - doubling duplicates2.png

 

 

 

 

 

 

 

 

 

The two values of 39,452 match up with the 78,904.  There are two lines for that location in that Year-Month.  (I can't remove the duplicate line from the source data due to business rules).  I cannot for the life of me figure out why the 78,904 is doubling again.  Any ideas?

1 REPLY 1
vanessafvg
Super User
Super User

@wireu3  could it be related to a relationship you have on the table?  what does your relationship view look like can you post it?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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