Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Operators in Power Query M

Hi,   I can use the operators = and <> between two dates.  But I get an error when I use <, >, >= or <=.  I have both my fields are a Date data type.     Expression.Error: We cannot apply operato...
  • BA_Pete's avatar
    BA_Pete
    3 years ago

     

    Are you trying to apply this comparison across different tables? If you are then, yes, you will need to provide row context for the calculation for the remote table.

    If you're making the comparison across two columns in the same table then the row context should be implicit, and there's another issue at play.

     

    Pete