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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Aruna_ln
Helper III
Helper III

Century date format to current date format

Hi My date format centure date(7 numbers)

example:1170228

left to right:first number is centure1 for 20,0 for 19

then two digit is years mean 197 mean 2017 years

then 02 mean MM

then 28 is DD

 

I need date format 2017/02/28

 

Please any help on DAX formal or any Power Bi date format option availble 

 

Thanks

Aruna

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Aruna_ln,

You can change the data type of the Date column to Date.

1.PNG

Regards,
Lydia

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Aruna_ln,

Create the following columns in your table.

Column = IF(LEFT(Table[Column1],1)="0","19","20")

 

Date = Table[Column]&MID(Table[Column1],2,2) &"/"& MID(Table[Column1],4,2) &"/" &RIGHT(Table[Column1],2)

1.PNG

Regards,
Lydia

Thanks You but ineed data type is Date

Anonymous
Not applicable

@Aruna_ln,

You can change the data type of the Date column to Date.

1.PNG

Regards,
Lydia

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors