Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a date column with values as 2014-11-08 08:58:30.3 format. I am trying to convert the value as 2014/11/08 because i need to use Power bi custom Timeline slicer and it takes date in this format. When I am trying to change the Format under Modelling tab for the column, i am getting the error on We cannot convert the column automatically to Date Type
Can anyone give me steps how to approach to my solution. I have date for different years. Thanks
Solved! Go to Solution.
Hi @Anonymous
you can try convert the data column manual, as text field in Query Mode like this
First split column, then convert. If you don't need a time - remove it at last.
And HERE is full example
You can see, yours text date field was correct converted to DATE
Best regs
Hi @Anonymous,
Please do it in the Query Editor.
Best Regards,
Dale
Hi @Anonymous
you can try convert the data column manual, as text field in Query Mode like this
First split column, then convert. If you don't need a time - remove it at last.
And HERE is full example
You can see, yours text date field was correct converted to DATE
Best regs
The link provided is broken.. Can you please update the link ?
@MC - Thanks for the link 🙂 Actually in my case the text column is in this format:
2018-03-07 10:07:04 EST |
and need to convert to date time. I am able to split the column to 2 and convert the first part to date. How do I convert the second one to time?
Advanced thanks for the help.
User | Count |
---|---|
63 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
41 | |
40 |