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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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