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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Data format issue

Hi, 

 

i have a column in data set with format 1.2017 (as january 2017) but power BI reads it as 12-1899...?? how can i make it so is it read as january 2017? 

Thanks!

1 ACCEPTED SOLUTION
MatejZukovic
Resolver I
Resolver I

Hi @Anonymous ,

 

you can create new column, replace "." with "-" and convert Data type to Date.

 

Month = SUBSTITUTE('Table'[Date],".","-")

Modelling:

Data Type : 'Date'

Format : MMMM yyyy

 

Hope it helps,

Matej

 

View solution in original post

4 REPLIES 4
MatejZukovic
Resolver I
Resolver I

Hi @Anonymous ,

 

you can create new column, replace "." with "-" and convert Data type to Date.

 

Month = SUBSTITUTE('Table'[Date],".","-")

Modelling:

Data Type : 'Date'

Format : MMMM yyyy

 

Hope it helps,

Matej

 

Anonymous
Not applicable

thanks, work fine.

Hi @Anonymous ,

 

If your issues are solved, you could accept the reply you like.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
AlB
Community Champion
Community Champion

Hi @Anonymous 

You can also do it in the query editor without the need for a new column. Just click on the column with the right button of the mouse, choose "Replace value" and replace "." with "-". Then change type of the column to Date and that should be it

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.