Forum Discussion
Data type is wrong?
- 8 years ago
Nowhere. It was just an example to illustrate the solution.
In your case, go to the Query Editor, select your column with textual dates and adjust the data type using Locale.
The video below illustrates how; it starts already in the Query Editor.
Here is the Query Editor
Hi Anonymous,
What about using the datediff function for this issue...
Let us know
- Anonymous8 years agoNot applicable
Days since Last Update = DATEDIFF(TODAY(),'TPA Portfolio'[Last Update Date],DAY)
And I´m getting: In DATEDIFF function, the start date cannot be greater than the end date
I think the Power BI is messing between the date format of my PC (which is English format mm/dd/yyyy) and the format of the data base
- MarcelBeug8 years agoCommunity Champion
- Anonymous8 years agoNot applicable
I dont think that the syntax is the problem. I'm guessing that the problem is on the date formats.