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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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