Forum Discussion
fbostan1
Helper I
4 years agopower query IF statement help
how to write a formula in powerbi for "if a column from my current table equals to a column in another table then its xxx if not xxx"? I can't do conditional column becase the two columns are in two...
- Anonymous4 years ago
Hi fbostan1 ,
My Sample is as below.
Table1:
Table2:
Custom column:
if List.Contains(Table2[Column1],[Column1]) = true then "Y" else "N"Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi fbostan1 ,
My Sample is as below.
Table1:
Table2:
Custom column:
if List.Contains(Table2[Column1],[Column1]) = true then "Y" else "N"
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.