Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Vlookup - Repleace Value

Hi Team,

 

I have below table and need to replace value based on matching column (MTC).

 

in below Data table replace (iTicket, iStatus) column based on below Pending table.

 

 

 

 

 

How do I replace.

 

 

Thanks,

Kali

  • Hi , Anonymous 

     

    As mentioned by Fowmy ,you can use "lookupvalue" as below:

    Replace iStatus = LOOKUPVALUE('Pending Status'[iStatus],'Pending Status'[MTC],Data[MTC])
    Replace iTicket = LOOKUPVALUE('Pending Status'[iTicket],'Pending Status'[MTC],Data[MTC])

     For more details,please refer to the attached pbix file.

     

    If you consider this issue closed, please mark it as "solved".

     

    Best Regards,
    Community Support Team _ Eason

2 Replies

  • v-easonf-msft's avatar
    v-easonf-msft
    Icon for Community Support rankCommunity Support

    Hi , Anonymous 

     

    As mentioned by Fowmy ,you can use "lookupvalue" as below:

    Replace iStatus = LOOKUPVALUE('Pending Status'[iStatus],'Pending Status'[MTC],Data[MTC])
    Replace iTicket = LOOKUPVALUE('Pending Status'[iTicket],'Pending Status'[MTC],Data[MTC])

     For more details,please refer to the attached pbix file.

     

    If you consider this issue closed, please mark it as "solved".

     

    Best Regards,
    Community Support Team _ Eason