Started getting this error on an old dataflow as of 14-Jun-2021. No changes made. Error: Expression.Error: We cannot apply operator < to types Date and DateTime. Operator = < Left = 5/1/2020 12...
msarmento
5 years agoFrequent Visitor
Wrapping all columns with a DateTime.Date funcion did the trick for me.
each DateTime.Date([DataEmissao]) >= DateTime.Date(#date(2020, 12, 1)) or [DataEmissao] = null and DateTime.Date([createdon]) >= DateTime.Date(#date(2020, 12, 1))
EDIT:
Forget to mention, for me it started, out of the blue, on the 6/12.
My company is in Brazil, but our Power BI tenant is in South Central US.