power bi compare values of 2 columns and make a new one code example
Example: power bi compare two columns in different tables
Column = IF(RELATED('OtherTable'[ColumnB])=[ColumnA],1,0)
Column = IF(RELATED('OtherTable'[ColumnB])=[ColumnA],1,0)