Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I'm importing a csv file with dates in this format: "Jan 1, 2017 6:01:12 AM PST". How do i transform these text strings to actual dates in PowerBI when importing?
Thanks.
Solved! Go to Solution.
let
Source = "Jan 1, 2017 6:01:12 AM PST",
#"Converted to Table" = #table(1, {{Source}}),
#"Extracted Text Before Delimiter" = Table.TransformColumns(#"Converted to Table", {{"Column1", each Text.BeforeDelimiter(_, " PST", 0), type text}}),
#"Parsed Date" = Table.TransformColumns(#"Extracted Text Before Delimiter",{{"Column1", each Date.From(DateTimeZone.From(_)), type date}})
in
#"Parsed Date"
https://www.mrexcel.com/forum/power-bi/1036366-date-string.html
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 52 | |
| 38 | |
| 37 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 65 | |
| 39 | |
| 33 | |
| 23 |