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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Sow-1
New Member

Date formatting

Need help in formatting the date column in the below format

ddd, dd MMM, yyyy (Fri, 22 Nov,2024).
 
Used the measure for column as below however it is converting the date into text.
FORMAT(table[Date], "ddd, dd MMM, yyyy")
 
 
1 ACCEPTED SOLUTION
Bibiano_Geraldo
Super User
Super User

Hi @Sow-1 ,

Make sure your data type is set for Date, and in format field past the the follow string: ddd, dd MMM, yyyy

Bibiano_Geraldo_0-1733216865905.png

 

Your final result will look like this:

Bibiano_Geraldo_1-1733216929120.png

 

 

View solution in original post

5 REPLIES 5
Kedar_Pande
Super User
Super User

@Sow-1 

In Power BI, the FORMAT function converts a value into a text string. Since you need to keep the column as a "Date" data type, FORMAT alone won't suffice. Unfortunately, Power BI does not allow for custom date formats directly while retaining the data type as Date.

 

Go to the Power Query Editor.
Duplicate the Date column.
Format the new column using Power Query's built-in options (under "Transform" → "Format").
Use the original Date column for calculations, and the formatted text column for display.

 

💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn

Bibiano_Geraldo
Super User
Super User

Hi @Sow-1 ,

Make sure your data type is set for Date, and in format field past the the follow string: ddd, dd MMM, yyyy

Bibiano_Geraldo_0-1733216865905.png

 

Your final result will look like this:

Bibiano_Geraldo_1-1733216929120.png

 

 

great man 

danextian
Super User
Super User

Hi @Sow-1 

 

You can change a column's format either at the semantic model or visual level. Please see the screenshots below:

danextian_0-1733208392836.png

danextian_1-1733208404028.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
123abc
Community Champion
Community Champion

It looks like you’re using DAX in Power BI to format your date column. The FORMAT function indeed converts the date into text. If you need to keep the date as a date type while displaying it in the desired format, you might need to handle the formatting at the visualization level rather than in the data model.

However, if converting to text is acceptable for your use case, you can use the FORMAT function as you did. Here’s the correct syntax:

FormattedDate = FORMAT(table[Date], "ddd, dd MMM, yyyy")

If you need to keep the date type, you can use the following approach in Power BI:

  1. Create a calculated column with the formatted date as text.
  2. Use this column in your visuals where you need the specific format.

If you need further assistance with Power BI or any other tool, feel free to ask!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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