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..
Whenever you find weird errors appear all of the suddent to previously working dataflows, especially regarding data type conversions etc. it's this problem 9 times out of 10:
For whatever reason, Microsoft resets privacy levels on your dataflow's data sources. If you see unexplainable errors, go to Settings and make sure that all the data sources have the same (!) privacy level. After you've done, the dataflow should refresh with no problem.
Don't ask me why it's happening. Things work in misterious way in the cloud.