power bi compare two column code example Example: power bi compare two columns in different tables Column = IF(RELATED('OtherTable'[ColumnB])=[ColumnA],1,0)