This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I am working with dates that are stored as text. I changed the type to date/time but not all the cell are translated to date/time.
I have error in the power bi transform data with this kind of cell 43562.09275
When I try to do it in the excel via Format custom, it does work, like in the picture:
I tried to do custum colum in power bi with custumed= FORMAT([Time], "mm/dd/yyyy hh:nn:ss AMPM"),
when I do this
but I got this:
What should I do in the transform data to get all the date time to be in the right format?
Thanks a lot with this!
Solved! Go to Solution.
This should work @Anonymous in a new custom column in Power Query
try DateTime.FromText([Column1]) otherwise DateTime.From(Number.From([Column1]))
Then just rename it Date, and change the format to DateTime or Date if you don't care about the time. Make sure the first column is in text. You have data coming in in different formats so Power Query cannot do one single change to all of it to work as you'd like.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThis should work @Anonymous in a new custom column in Power Query
try DateTime.FromText([Column1]) otherwise DateTime.From(Number.From([Column1]))
Then just rename it Date, and change the format to DateTime or Date if you don't care about the time. Make sure the first column is in text. You have data coming in in different formats so Power Query cannot do one single change to all of it to work as you'd like.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reportingit works
thanks a lot
Great @Anonymous - glad I was able to assist.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingI don't want to make changes via ecel , only via power bi so it will be automatic when I will get more
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 26 | |
| 25 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 45 | |
| 20 | |
| 19 | |
| 18 |