Forum Discussion
Query Editor & POwer BI Date Transformation
- 9 years ago
Hi Anonymous,
If I understand correctly, you want to set the data type of column [Week] to Date, and display date range in format '12/6/15 - 12/12/15', right? But this is not a supported date format, it will be considered as string. That is why you got the error when you attempt to convert it to date.
Below image shows all the date formats which are supported now:
Best regards,
Yuliana Gu
Anonymous
hi, do you need Week of the year ?
1, Split by delimiter Week (Use -)
2. The First Column transform to Date-Week-Week of Year.
- Anonymous9 years agoNot applicable
Thanks for the feedback Vvelarde.
I do not need the week of the year, only to use it as a time dimension for performance during that period of time.
If I split using the delimeter, I will lose my ability to dimensionalize the data by week range. Not sure what you mean in your second step.
Seems Power BI really struggles with "dates" and date transformaiton, no?
Please advise.
- Vvelarde9 years ago
Community Champion
Anonymous
Your Column is two dates (Start of Week and End of Week) Right?
What is the result that you want to obtain.
- Anonymous9 years agoNot applicable
I simply wanted to show the range in the visulaization, and have the correct format.
When following your instructions, it does format it as a date.