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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Vanessa250919
Helper V
Helper V

Date remove delimiter

Hi community,

 

How to removed the delimiter between this date format 04/11/2020 for have this format 20200411 ? 

 

Have  a good day and thanks ! 

1 ACCEPTED SOLUTION

@Vanessa250919 ,

 

Which date format did you input ? Also, before this new column... is your column formated as date ?

Get this new code:

 

Date.ToText([Column1], "yyyyMMdd")

 

I missed the upper double M.



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

Proud to be a Super User!



View solution in original post

7 REPLIES 7
camargos88
Community Champion
Community Champion

Hi @Vanessa250919 ,

 

Try this code on Power Query:

 

Capture.PNG



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

Proud to be a Super User!



@camargos88 Thank you, I just try but i have a null data.

 

Capture.JPG

@Vanessa250919 ,

 

It's not a problem, if null it will return null.



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

Proud to be a Super User!



@camargos88  I want say, In the new collumn the date is not correct 

 

05/05/2020 = 20200500

 

 

@Vanessa250919 ,

 

Which date format did you input ? Also, before this new column... is your column formated as date ?

Get this new code:

 

Date.ToText([Column1], "yyyyMMdd")

 

I missed the upper double M.



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

Proud to be a Super User!



It's OK ! Thank you so much ! 

Expanding on what @camargos88  provided, when adding the new column, test for null

 

if [Date] <> null then Date.ToText ([Date], "yyyymmdd") else "Invalid Date"

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.