cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
slingy_
Frequent Visitor

Dataflow weird datetime formatting mm/yy/dd h:mm:ss AM/PM

Having a problem where my dataflow is bringing in data from Oracle in a strange datetime format. My plain date field is coming in as a US formatted datetime, but the actual datetime columns (which are a standard Australian/UK format) come in as mm/yy/dd h:mm:ss AM/PM
I've set English (Australia) as the locale for the dataflow, but it doesn't make any difference. I can't even work out a way to convert it to the right format without converting to text first... Any ideas?

DateTime/Timestamp source to weird Power BI Dataflow DateTime format:

slingy__0-1607304079198.png
Date only source to Power BI Dataflow US DateTime format:

slingy__1-1607304192424.png

 

 

4 REPLIES 4
v-stephen-msft
Community Support
Community Support

Hi @slingy_ ,


Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

v-stephen-msft
Community Support
Community Support

Hi @slingy_ ,

 

Have you try the method from this thread?

 

If it still failed, you could also try to use FORMAT function to change.

 

New Date Format = FORMAT([DateFiled],"MM/YY/DD")

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

DavisBI
Solution Specialist
Solution Specialist

Hi, @slingy_ ,

 

There are some issues for powerbi dataflow to convert date.

You can refer to this blog post by @Daniil 

That's not really the issue I'm having. I don't care that my Date is being converted to DateTime, but I do care about my timestamp being converted to an inexplicable datetime format. I don't understand how dd/mm/yyyy can be changed to mm/yy/dd... I suppose Power BI thinks my format is yy/mm/dd and is changing it to US format.

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors