Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Comparing two Excel tables

Hi All,

 

I was looking for a way to have powerbi to compare two spreadsheets, hihlight the changed filed and be able to output only the changed fields from the cells data to a table visual.

 

Thanks

 

  • Hi Anonymous ,

    If you want to show the changed fields in a visual, here's my solution.

    Sample:

    Table1

    Table2

    The two tables are related with the compared column.

    Create a measure.

    Check =
    IF ( MAX ( 'Table2'[Column] ) <> MAX ( 'Table1'[Column] ), 1, 0 )
    

    Put table2 in a visual, and put the measure in the visual filter, then set its value to 1.

    After click Apply filter, get the correct result.

    I attach my sample below for your reference.

     

    Best Regards,
    Community Support Team _ kalyj

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

     

     

2 Replies

  • Hi Anonymous ,

    If you want to show the changed fields in a visual, here's my solution.

    Sample:

    Table1

    Table2

    The two tables are related with the compared column.

    Create a measure.

    Check =
    IF ( MAX ( 'Table2'[Column] ) <> MAX ( 'Table1'[Column] ), 1, 0 )
    

    Put table2 in a visual, and put the measure in the visual filter, then set its value to 1.

    After click Apply filter, get the correct result.

    I attach my sample below for your reference.

     

    Best Regards,
    Community Support Team _ kalyj

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