Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Expression.Error: We cannot apply operator - to types Function and DateTime.

This is really really weird. All the below is performed in the Transform Data section of Power BI   Simply the below statement causes an expression error (on around 1,000 rows or 69,000)   AGE(Da...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Use Date.From(DateTime.LocalNow())

     

     Now it's date-date. 
    --Nate