Forum Discussion
QA comparicion between Values
- Anonymous3 years ago
Hi PedroPascual ,
We can create a calculated column.
QA = IF ( AND ( AND ( 'Table'[Column1] = "House", 'Table'[Column2] = "cat" || 'Table'[Column2] = "dog" || 'Table'[Column2] = "rabbit" || 'Table'[Column2] = "lion" ), 'Table'[Column3] = "book" || 'Table'[Column3] = "pencil" ), "YES", "NO" )Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous Wonderful. it is working properly. thanks.
last question, what about if I have information in different tables??
does not work.
QA =
IF (
AND (
AND (
'Table1'[Column1] = "House",
'Table2'[Column2] = "cat"
|| 'Table2'[Column2] = "dog"
|| 'Table2'[Column2] = "rabbit"
|| 'Table2'[Column2] = "lion"
),
'Table1'[Column3] = "book"
|| 'Table1'[Column3] = "pencil"
),
"YES",
"NO"
)
Hi PedroPascual ,
If he is in different tables, refer to Message 4, click on "Transform Data" to access the Power Query, add index columns for each table, and merge them into one table.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.