Forum Discussion

Pretengineer's avatar
Pretengineer
Frequent Visitor
4 years ago
Solved

INDEX MATCH in Power BI

Hello, I have tried a ton of suggestions in this forum but they are falling a little short for what I'm needing. Below are samples of my data, first on the left is my pn to model reference and the ...
  • v-easonf-msft's avatar
    4 years ago

    Hi, Pretengineer 

    You can create a calculated column as below:

    Match _PN = 
    CALCULATE (
        MAX ( PLM_DATA[PLM_PN] ),
        FILTER ( PLM_DATA, CONTAINSSTRING ( AP_DATA[aP_Model], PLM_DATA[PLM_Model] ) )
    )

    Please check my sample file for more details.

     

    Best Regards,
    Community Support Team _ Eason