Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have the time in this format 14/10/2012 5:00:00 +02:00, but I would like to show this 14/10/2012 7:00:00, can you help me?
Thank´s a lot
Solved! Go to Solution.
Hello @kingkike
if this is a text string, you can do that with some Text.Split and DateTime.From and Duration.From. Here a practical example
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjTRNzTQNzIwNFIwtTIwACIFbQMjIKUUGwsA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each DateTime.From(Text.Split([Column1],"+"){0}) + Duration.From(Text.Split([Column1],"+"){1}))
in
#"Added Custom"
but I think that your data is a DateTimeZone-format, meaning +2 is CET-time zone and with this data adding +2 hours makes no logic, but then it would make sense to change the zone. Here the above example applying SwitchZone
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjTRNzTQNzIwNFIwtTIwACIFbQMjIKUUGwsA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each DateTime.From(Text.Split([Column1],"+"){0}) + Duration.From(Text.Split([Column1],"+"){1})),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Custom.1", each DateTimeZone.SwitchZone(DateTimeZone.From([Column1]),4))
in
#"Added Custom1"
Copy paste this code to the advanced editor in a new blank query to see how the solution works.
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
Hello @kingkike
if this is a text string, you can do that with some Text.Split and DateTime.From and Duration.From. Here a practical example
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjTRNzTQNzIwNFIwtTIwACIFbQMjIKUUGwsA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each DateTime.From(Text.Split([Column1],"+"){0}) + Duration.From(Text.Split([Column1],"+"){1}))
in
#"Added Custom"
but I think that your data is a DateTimeZone-format, meaning +2 is CET-time zone and with this data adding +2 hours makes no logic, but then it would make sense to change the zone. Here the above example applying SwitchZone
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjTRNzTQNzIwNFIwtTIwACIFbQMjIKUUGwsA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each DateTime.From(Text.Split([Column1],"+"){0}) + Duration.From(Text.Split([Column1],"+"){1})),
#"Added Custom1" = Table.AddColumn(#"Added Custom", "Custom.1", each DateTimeZone.SwitchZone(DateTimeZone.From([Column1]),4))
in
#"Added Custom1"
Copy paste this code to the advanced editor in a new blank query to see how the solution works.
If this post helps or solves your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)
Kudoes are nice too
Have fun
Jimmy
thank´s so much Jimmy
Best regards
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.