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.
Hi all
Previously from this thread, https://community.fabric.microsoft.com/t5/Desktop/How-to-find-duplicate-values-in-one-column-while-a...
Thanks to one for the members, Ashish_Mathur to create a way to find the duplicate values through the formula shown below.
Column = if(CALCULATE(DISTINCTCOUNT(Scanned_Item_Two_Controllers[Scan_Controller_Node_Id]),FILTER(Scanned_Item_Two_Controllers,Scanned_Item_Two_Controllers[Page_Barcode]=EARLIER(Scanned_Item_Two_Controllers[Page_Barcode])))>1,"Duplicate Found!","Unique")
I have created another new measure that represent what I want to do where I can detect, 'Duplicate Found!'
Filter Value =
CALCULATE(
COUNTA('Scanned_Item_Two_Controllers'[Column]),
'Scanned_Item_Two_Controllers'[Column] IN { "Duplicate Found!" }
)
Solved! Go to Solution.
Hi @JonKho ,
You can try below measure.
Measure = CALCULATE( COUNTROWS('Table'), FILTER( 'Table', CALCULATE( DISTINCTCOUNT('Table'[Controller_Node_Id]), ALLEXCEPT('Table','Table'[BarCode]) )>1 ) )
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
@JonKho - If you are trying to count the number of Duplicate Values I would use:
CALCULATE ( COUNTROWS ( Table ), KEEPFILTERS ( Table[Column] = "Duplicate Value" ) )
If you would like the number of ID's with duplicates you can use:
CALCULATE ( DISTINCTCOUNT ( Table[Column] ), KEEPFILTERS ( Table[Column] = "Duplicate Value" ) )
Hi @JonKho ,
You can try below measure.
Measure = CALCULATE( COUNTROWS('Table'), FILTER( 'Table', CALCULATE( DISTINCTCOUNT('Table'[Controller_Node_Id]), ALLEXCEPT('Table','Table'[BarCode]) )>1 ) )
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Thank you @xifeng_L
Your solution works.
If you are available, I appreciate that you can help me to provide your insight on this topic, https://community.fabric.microsoft.com/t5/Desktop/Unable-to-perform-COUNT-for-flag-value/m-p/3934860...
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 |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |