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
Migscruz
Helper I
Helper I

Convert day date into number

Hi!

 

I need help with this please:

 

I have a a column in a table that shows me the day/month/year. I would like to transform it into a number considering the day of the month:

 

Example:

DateNumber
26/11/202126
27/11/202127
28/11/202128
29/11/202129
30/11/202130
1/12/20211
2/12/20212
3/12/20213
4/12/20214

 

How can i do this? i've tried with left function but it doesn't work.

 

Thanks 🙂

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@Migscruz,

Try:

DayofMonth = Day[Date]

 

Regards,

View solution in original post

1 REPLY 1
rsbin
Super User
Super User

@Migscruz,

Try:

DayofMonth = Day[Date]

 

Regards,

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.

Top Solution Authors