Forum Discussion

alejandroezp's avatar
alejandroezp
Icon for Helper I rankHelper I
3 years ago
Solved

Comparar columnas de tablas distintas

Buenos días,   Tengo dos tablas con dos columnas cada una. Quiero sacar las filas que no coinciden entre ambas columnas, el problema es que entre todas las columnas pueden coincidir y ser de verdad...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi alejandroezp ,

     

    I'm sorry if I misunderstood you, but if you want to know the number of rows, please change the measure to:

    NonMatching_rows = 
    COUNTROWS(
        EXCEPT(
            SELECTCOLUMNS(Table1, "ConcatenatedColumn1", Table1[ConcatenatedColumn1]),
            SELECTCOLUMNS(Table2, "ConcatenatedColumn2", Table2[ConcatenatedColumn2])
        )
    )

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.