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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CostaBella
Frequent Visitor

Date formatting

I have a date column that i need help formatting. instead of 5/4/2021 i need it to read 05/04/2021. I just need to add a zero to any single digit month and/or day while leaving the year alone as well as the double digit months and days. Is there an easier way to do this other than extracting the month, day and year, adding zeros accordingly and then combining the columns again?

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

HI @CostaBella ,

 

Is your column with date values of DATE type in Power BI?

If yes, then you can just select your column in the Field tab as shown below:

Pragati11_0-1674753298846.png

Then on the top ribbon with multiple date formats select the highlighted one:

Pragati11_1-1674753348531.png

This will give your dates a dd/mm/yyyy format.

Pragati11_2-1674753379352.png

Hope this helps.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

3 REPLIES 3
Pragati11
Super User
Super User

HI @CostaBella ,

 

Is your column with date values of DATE type in Power BI?

If yes, then you can just select your column in the Field tab as shown below:

Pragati11_0-1674753298846.png

Then on the top ribbon with multiple date formats select the highlighted one:

Pragati11_1-1674753348531.png

This will give your dates a dd/mm/yyyy format.

Pragati11_2-1674753379352.png

Hope this helps.

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

My fault, i forgot to note that i am using Power Query Editor.

HI @CostaBella ,

 

You can easily do it outside Power Query editor 🙂

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.