Forum Discussion

Bahhoussi's avatar
Bahhoussi
New Member
10 years ago
Solved

Identify duplicates

Hello everybody,   I want to create in Power BI desktop a new column which will compare 2 other columns. The purpose is to identify duplicates between these 2 columns. In Excel, my formula will l...
  • konstantinos's avatar
    10 years ago

    Simple than excel , in the same table create "new column"  from the ribbon of PowerBI Desktop or right click the field name on the right pane , and the formula is  

     

     

    IsDuplicate =        Column1 = Column2     This will return FALSE & TRUE...When returns true that means that is duplicated.

     

    Now if you need to add it as slicer or filter( True & False is not that good visible ) then

     

    IsDuplicate  =IF (  Column1 = Column2  ; " Yes"; "No")