Forum Discussion

vojtechsima's avatar
vojtechsima
Super User
3 years ago
Solved

IF Multiple Columns equal to Value (Power Query M)

Hello, guys, I need to know if there's a formula or function that lets me list columns and if those columns equal to a certain value on each row I want to return some value.   For example: A...
  • HotChilli's avatar
    3 years ago

    You can use List.MatchesAny  but what's the logic of the second line being equal to FALSE?  If it follows the logic of the code you provided (each condition with an 'or'), it's TRUE