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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
cdawidow
Helper III
Helper III

Getting rid of duplicates!

HELPING HAND.PNG

 

As you see above the values for the same contract / catagory I am analyzing is the same but the total is right given the year (2020).  I am thinking that the contract (the catagory) I am analyzing despite the name being different given the specific years (2018, 2019 etc) they are equal.  Is there any way to get rid of these duplicates ?? 

4 REPLIES 4
lbendlin
Super User
Super User

can you show your data model and which table each of the columns are coming from?

AntrikshSharma
Super User
Super User

Difficult to figure out the issue without looking at the model and the DAX.
nandic
Super User
Super User

@cdawidow ,
As started on previous topic, it is because of data and join between tables.

relationship.PNG

If join is by concatenated field (prdlin & " " & prodno), you can see that you have two rows matching that criteria.
If 2018/19 is redundant you can filter data in power query to only display contract which contains text "2019/20".
Other option is to have another (new) column in sales table based on which you will separate duplicated amount.

Cheers,
Nemanja

Ya I just did that, included a filter and it was easy enough!  Thanks for your help !

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.