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
fingalbrad
Helper I
Helper I

Show duplicates from different data sets

Hi,

 

There is a similiar post to this but not exactly what I want.

 

I have two Data sets. One containing M3&M4 maintenance notifications and the equipment number i.e

 

 

M3&M4                                                                                                     M2

Type     Reasons                      Notification No.                                         Type   Reasons                  Notification No.

M3       12345678abc                     ######                                                M2     12345678abc                      ######

M3       12345677abc                      ######                                               M2     12345677abc                      ######

M4       12345678abc                       ######                                              M2     12555555abc                      ######

M4       12345676abc                       ######                                              M2     12444444abc                      ######

 

I want to create a table which shows when the reasons from M3&M4 data set matches the reasons form the M2 data set. Then I want a table showing the M2 & M3/M4 notification numbers and reasons. 

 

Can I create a custom column which checks for matches ?

 

3 REPLIES 3
TeigeGao
Solution Sage
Solution Sage

Hi @fingalbrad ,

According to your description, my understanding is that you want to filter the data in M3&M4 whose reason matches that in M2, in this scenario, we can use the following DAX query:

Table = FILTER('M3&M4','M3&M4'[Reasons] in VALUES(M2[Reasons]))

Best Regards,

Teige

Thank you,

 

Will that only show the values from 'M3 & M4'? I want to show all those that match so list M2,M3 & M4 that have the same  equipment-part number. 

Reason number sorry...not equipment-part

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.