Forum Discussion
Nicks612
2 years agoHelper I
how to make conditional column using two tables with reference to another table
I have two tables: table A and table B as shown below. I want to make a conditional column in Table A with reference to Table B which contains OK and Nok data taking reference from Table B. Table A...
- Anonymous2 years ago
Hi Nicks612 ,
Please try using merge queryand then transform the New Status column.
In the simulated data, there will be the case of matching to more than one status, here I assume that there is "OK" in the status to return "OK", otherwise return "NG".
Please check the pbix file.Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group