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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Preserving Date format without 12:00:00 AM

Hi,

I have large table that I need to export out of Desktop into csv for some users.  Even though I used Power Query to change everything to a type of date, when I go to export this into CSV I get the below result. Is there any way to fix this? 

Thanks

 

Date
1/1/2025 0:00
2/1/2025 0:00
3/1/2025 0:00
4/1/2025 0:00
5/1/2025 0:00
6/1/2025 0:00
7/1/2025 0:00
8/1/2025 0:00
9/1/2025 0:00
10/1/2025 0:00
11/1/2025 0:00
12/1/2025 0:00
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

You can use the Format function to enforce a specific format on the date column.

 

Column = FORMAT('Table'[Date],"mm/dd/yyyy")

 

Result:

vjialongymsft_1-1738896464625.png

 

             vjialongymsft_0-1738896452011.png

 

 

 

 

 

Best Regards,

Jayleny

 

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous 

You can use the Format function to enforce a specific format on the date column.

 

Column = FORMAT('Table'[Date],"mm/dd/yyyy")

 

Result:

vjialongymsft_1-1738896464625.png

 

             vjialongymsft_0-1738896452011.png

 

 

 

 

 

Best Regards,

Jayleny

 

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

samratpbi
Super User
Super User

Hi,

I think you are exporting from Power BI desktop. Can you please change the format to date and export from Service and see if the issue persists?

if this helps to resolve your problem, then mark it as solution, thanks

Anonymous
Not applicable

Thanks. Unfortunately the client is very new to Power BI and I don't have Service or Gatewawys set up for them.   Is there a way to do in Desktop?

parry2k
Super User
Super User

@Anonymous change the format of the date column without time from the format drop down list.

 

parry2k_0-1738886419433.png

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.