Forum Discussion

RyanHare92's avatar
RyanHare92
Icon for Helper I rankHelper I
3 years ago
Solved

Power BI - Clash Matrix

I have the following dataset:       and I wanted to create a clash matrix in Power BI that looks like this:       My first issue is that, if I put the product in the Rows and Colu...
  • wdx223_Daniel's avatar
    3 years ago

    NewMeasure=IF(MAX('Table1'[Prod])<>MAX('Table2'[Prod]), COUNTROWS(INTERSECT(VALUES(Table1[ID]),CALCULATETABLE(VALUES(Table1[ID]),'Table1'[Prod]=MAX('Table2'[Prod])))))

    and there is no relationship between the two tables