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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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