I'm trying to add a custom column in power bi by this query:
= Table.AddColumn(#"Filtered Rows", "IsCurrentMonth", if(Date.Month([Timestamp])=Date.Month(NOW())) then "Current Month" else "Other")
but the result is:
Expression.Error: The name 'NOW' wasn't recognized. Make sure it's spelled correctly.
so how can I get the current month?