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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Date Formatting - Data Tab

Hi, I have done an import into Power BI for a data source and have had to create a query to =left (8) to extract the date as it has come through as a duplicate. This has given me the 'date' i need but in a text format. When i go to Modelling and change it to a Date format, it completely changes the date. Driving me round the bend! screenshots below;

 

- Using the =Left function, you can see the Date now is correct;

 

kduffy1988_1-1601548290165.png

 

- Now within modelling i change the column to a 'Date', it looks like this;

kduffy1988_2-1601548410016.png

 

Anyone know how to solve this??

 

Thanks 

Keith

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

You can create a calculated column and change it to date type:

 

Date2 = LEFT('Table'[Attribute],8)&"20"

 

Capture4.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

4 REPLIES 4
FrankAT
Community Champion
Community Champion

Hi @Anonymous 

your date is in german date format (dd-mm-yy). Use the option to change type with local (see figure).

 

01-10-_2020_12-53-28.png

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

Anonymous
Not applicable

Thanks for the quick reply! 

 

Am i just being daft and looking in the wrong area? but this is the only options to change the type i have under modelling??

kduffy1988_0-1601550141661.png

 

Hi @Anonymous ,

 

You can create a calculated column and change it to date type:

 

Date2 = LEFT('Table'[Attribute],8)&"20"

 

Capture4.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Hi @Anonymous 

my first reply refers to changing data type in Power Query. If you want to use dax than

  1. Select Model View.
  2. Select the data field and open properties pane.
  3. Change Date time format to Custom.
  4. Type the desired date format and press Enter.

01-10-_2020_15-22-14.png

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

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!

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