Forum Discussion
Incorrect Errors in Appearing in Dataflows
- 5 years ago
I have discovered a workaround that seems to have removed the error, which can hopefully help some people in the short term. I don't think this should be necessary though - this seems to be a more fundamental issue in Power BI service?
The workaround for me was to cast the (date type) field to a date type in the filter logic, for example:
From[Record Date] > DateTime.Date(DateTime.LocalNow())
toDateTime.Date([Record Date]) > DateTime.Date(DateTime.LocalNow())
Just to reiterate that [Record Date] field is already of Date type..
As these were refreshing fine before, just check if source data has been updated with bad data - Time window will be same when it start failing
Also validate if you are applying the data type change before applying the operator
If this post helps, then please consider Accept it as the solution and give it a thumbs up