Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
MasterSonic
Helper IV
Helper IV

Compare 2 tables

Hello,

 

I would like to build a visual pointing me which columns values are different for each IDs between these 2 tables please

 

table1   
IdCodeOrderNumberCountry 
101x2010877FR
102x4368447US
1034374649RU
104x995515FR
105x5595SG
106782156CZ
    
    
table 2   
IdCodeOrderNumberCountry 
101x2010877UK
104x4368447US
1054374649NL
102x995515JP
103x5595CN
106782156US
10788662DE
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MasterSonic ,

Please refer to my pbix file to see if it helps you.

Creat a measure.

MeasURE =
VAR _1 =
    MAX ( Table1[OrderNumber] )
VAR _2 =
    MAX ( Table2[OrderNumber] )
RETURN
    IF ( _1 = _2, _1, 0 )

Then set background for the id.

vpollymsft_0-1663815680516.png

vpollymsft_1-1663815718556.png

 

If I have misunderstood your meaning, please provide more details with your desired output.

 

Best Regards

Community Support Team _ Polly

 

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

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @MasterSonic ,

Please refer to my pbix file to see if it helps you.

Creat a measure.

MeasURE =
VAR _1 =
    MAX ( Table1[OrderNumber] )
VAR _2 =
    MAX ( Table2[OrderNumber] )
RETURN
    IF ( _1 = _2, _1, 0 )

Then set background for the id.

vpollymsft_0-1663815680516.png

vpollymsft_1-1663815718556.png

 

If I have misunderstood your meaning, please provide more details with your desired output.

 

Best Regards

Community Support Team _ Polly

 

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

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.