Forum Discussion
OECvargoj
8 years agoFrequent Visitor
Matching based on conditions
Hello, I'm trying to display matching part numbers based on them having an opposite Stock Status. Using the example data below, I need a way to match Company A with Company B based on them both h...
BraneyBI
8 years agoKudo Commander
Assume the table is called "Table1", add a calculated COLUMN which will show the reciprocal company.
=CALCULATE( VALUES('Table1'[Company]),FILTER(ALL('Table1'),Table1[Part Number] = EARLIER(Table1[Part Number])&&Table1[Stock Status]<>EARLIER(Table1[Stock Status])))