cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RickOShay
Frequent Visitor

Transforming Data - Date Format Issue

Hi,

 

I have a report with several date fields that pulls in as: mm/dd/yyyy. When I pulled in my data, one of the date fields pulls in the data in my report a little different than the rest. It pulls it in by showing: Tuesday, Septemeber 22, 2020, Which is really annoying because I just want the date (not day of the week) and it's very hard to sort through. I went into transfrom data, and I can see where I can ensure that my data type is set to "date" but that does not resolve my issue. How do I fix/modify the date format?

 

Another date field pulls in the data by year and quater, which I kind of like, but I don't see where I have control over this formatting.

 

Thanks,

2 ACCEPTED SOLUTIONS
HotChilli
Super User
Super User

In Data View, select the column header and you will see the ribbon change to 'Column Tools'.

There is a Format dropdown in the ribbon where you select the one you want

View solution in original post

RickOShay
Frequent Visitor

I just figured it out.

 

The solution is once you select the field you want to add into your report, there is a new menu option called "Column tools" that appears at the top where you can control the format of the date.

 

Thanks,

View solution in original post

4 REPLIES 4
RickOShay
Frequent Visitor

I just figured it out.

 

The solution is once you select the field you want to add into your report, there is a new menu option called "Column tools" that appears at the top where you can control the format of the date.

 

Thanks,

HotChilli
Super User
Super User

In Data View, select the column header and you will see the ribbon change to 'Column Tools'.

There is a Format dropdown in the ribbon where you select the one you want

RickOShay
Frequent Visitor

Hi,

 

This does not really address my issue. I need to know how to transform Tuesday, Septemeber 22, 2020 into 09/22/2020. 

amitchandak
Super User
Super User

@RickOShay , Before importing make sure your system format is also mm/dd/yyyy

 

refer

https://community.powerbi.com/t5/Desktop/How-to-apply-UK-date-format-dd-mm-yyyy-in-Date-slicer/td-p/...

 

or you have convert using

 

DD/MM/YYYY to MM/DD/YYYY
date(( right(DD__MM__YY[date],4)), (mid(DD__MM__YY[date],4,2)) ,(left(DD__MM__YY[date],2)))

MM/DD/YYYY to DD/MM/YYYY
date(( right(DD__MM__YY[date],4)), (left(DD__MM__YY[date],2)),(mid(DD__MM__YY[Version_Id],4,2)) )

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors