Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.