Forum Discussion
error date column
Hello PBI Community,
Anyone please help me with this error in date column. Also i tried splitting the column with delimiter and had errors. Can anyone help me with either of these errors.
I have attached pictures for reference.
Regards
Hi Anonymous
Remove your current Change Type step or convert the Date column to Text type first. Then right click on the Date column and select Change Type > Using Locale... In the Change Type window, select Date for Data Type, English (United Kingdom) or other locales which has the same date format as your original Date column input. This should change the type into Date correctly.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
12 Replies
- v-jingzhangCommunity Support
Hi Anonymous
Remove your current Change Type step or convert the Date column to Text type first. Then right click on the Date column and select Change Type > Using Locale... In the Change Type window, select Date for Data Type, English (United Kingdom) or other locales which has the same date format as your original Date column input. This should change the type into Date correctly.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.- RotemshanHelper I
Hello,
I'm experiencing the same problem,
Unfortunately, the solution here didn't work,
The data type is "text" but, when trying to change it to a date, or change it by locale, all become to be "errors"
I tried to:
- Split the column to date and time
- Replace the blank values with null/blank
Nothing seems to be working
Any Ideas?
Before
After
- v-jingzhangCommunity Support
Hi Rotemshan
As your original column has both date and timestamps values, change its type to Date/Time instead of Date. When it is of Date/Time type, then you can change it to Date type without any errors.
Best Regards,
Community Support Team _ Jing
- AnonymousNot applicable
Besides making sure you are using the correct locale settings, I'm afraid the solution is to clean up that dirty data.
--Nate
- AnonymousNot applicable
I tried changing my locale but the problem still prevails. Can you see the second SS and tell how can I replace the dashes or remove those dashes.
- FowmySuper User
Anonymous
Share a sample of your data and the expected result.
- FowmySuper User
Anonymous
Your dates columns are not in Date Type, please change the type to date before this step.- AnonymousNot applicable
Can you please elaborate further, I have changed from the data type to date.
- hammedabdulazeeNew Member
Simply follow the steps below to resolve the issue. Select your local time that works for you.