Forum Discussion
amanuit
4 years agoRegular Visitor
Conditional column and the value matching from different table.
I am trying to add a column and the value will depend on data from different sheets. Like i have imported two sheets 1 and 2. and trying to add a column that if value of column A in sheet1 is ava...
- Anonymous4 years ago
Hi amanuit ,
I created some data:
sheet1:
sheet2:
Here are the steps you can follow:
1. Create calculated column.
Column = IF( 'sheet1'[column A] in SELECTCOLUMNS('sheet2',"column A",'sheet2'[coulmn A]),"YES","NO")2. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
amanuit
4 years agoRegular Visitor
Hello Amit, Thank you for reply.
I am not able to enter table1.
I am getting error that column Table1[A] either does not exist or doesnot have a relationship to any table available in the current context.
I also tried to create relationship between two table, many to many.