Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
Solved! Go to Solution.
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
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
thanks, work fine.
Hi @Anonymous ,
If your issues are solved, you could accept the reply you like.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |