Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Hello
I am trying to filter a list for duplicate values in one column, but only when another column does not have a duplicate value.
So in my example data i would want to pull out "Ref" 112244 because there is a duplicate and the "IncidentID" is different on both "Ref".
I would not want to include "Ref" 130130" because this Ref has the same "IncidentID". Hopefully this makes sense?
How would you go about achieving this filtered list?
Thanks
Solved! Go to Solution.
You may add a calculated column.
Column = ISEMPTY ( FILTER ( 'Table', 'Table'[Ref] = EARLIER ( 'Table'[Ref] ) && 'Table'[IncidentID] <> EARLIER ( 'Table'[IncidentID] ) ) )
You may add a calculated column.
Column = ISEMPTY ( FILTER ( 'Table', 'Table'[Ref] = EARLIER ( 'Table'[Ref] ) && 'Table'[IncidentID] <> EARLIER ( 'Table'[IncidentID] ) ) )
Hi,
Just select both those columns ref & ID, and remove duplicates in PowerQuery.
You should get your desired result.
Robbe
Thanks i have used power query to de-duplicate the IncidentID field, but for the Ref field, it's the duplicates only i want to display (excluding unique records). Is this also possible in power query?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |