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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Hamidrezaei
Frequent Visitor

date Format

Hi Guys, 

 

I am having an issue with date format as some of the columns are yyyy/mm/dd 00:00:00 and others are like yyyy-mm-dd 00.00.00

I could change the first format to show only dates yyyy/mm/dd, but when I try to change the format for the other columns to date only it gives me an error. is there any way to fix that?

 

Thank you 

1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Hamidrezaei ,

 

If you only want the date, you could split this column based on space.

2-1.PNG

Here is my test result.

2-2.PNG

Now you could remove another time column or transform it, it is up to you.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @Hamidrezaei ,

 

If you only want the date, you could split this column based on space.

2-1.PNG

Here is my test result.

2-2.PNG

Now you could remove another time column or transform it, it is up to you.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
AlB
Community Champion
Community Champion

Hi @Hamidrezaei 

replace the . with  with : and it should work with both  yyyy-mm-dd 00:00:00 and yyyy/mm/dd 00:00:00

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

Helpful resources

Announcements
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.

Top Solution Authors