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
Anonymous
Not applicable

Custom column how do i convert date (mm/dd/yyyy) to a serial number?

Good day is there a way to convert a column [date] (dd/mm/yyyy) to serial number in power query, just as the regular excel do when the column is formatted as general. I do need to get the serial number and concatenate it with [id number] because ill use it as a lookup value.

yvescn1_0-1629538177021.png

 

i need the output like the one on "WE+Entity ID" header

1 ACCEPTED SOLUTION
Anonymous
Not applicable

If your last step or Table name is "Table1", then just make a new step, and in the formula bar, type:

 

=Table.TransformColumns(Table1, {{"date", Number.From}})

 

You can concatenate if you then change the date number to text.

 

--Nate

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

If your last step or Table name is "Table1", then just make a new step, and in the formula bar, type:

 

=Table.TransformColumns(Table1, {{"date", Number.From}})

 

You can concatenate if you then change the date number to text.

 

--Nate

Anonymous
Not applicable

Wow thanks i didn't know that it was that easy! Thanks for the help 🙂

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.