Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a column in json format that collects seconds & nanos this way --> "{""seconds"":1714393064,""nanos"":0}"
Please help me convert this to DD:HH:MM:SS or date(if possible).
Solved! Go to Solution.
@sa34techer So like this?
let
Source = Json.Document(File.Contents("C:\temp\testjson1.json")),
#"Converted to Table" = Table.FromRecords({Source}),
#"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"seconds", Int64.Type}, {"nanos", Int64.Type}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each #duration(0,0,0,[seconds]))
in
#"Added Custom"
@sa34techer So like this?
let
Source = Json.Document(File.Contents("C:\temp\testjson1.json")),
#"Converted to Table" = Table.FromRecords({Source}),
#"Changed Type" = Table.TransformColumnTypes(#"Converted to Table",{{"seconds", Int64.Type}, {"nanos", Int64.Type}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each #duration(0,0,0,[seconds]))
in
#"Added Custom"
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
141 | |
75 | |
64 | |
52 | |
47 |
User | Count |
---|---|
219 | |
89 | |
73 | |
66 | |
60 |