The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Dear all,
as you may see in the above picture of column[current - consult].
I would like to make a column the value will be like the following:
New current - consult
22
32
null
15
39
Thanks
Solved! Go to Solution.
I make the new column be like:
((Time.Hour(DateTime.LocalNow()) - Time.Hour([CONSULT_TIME]))*60)
+((Time.Minute(DateTime.LocalNow()) - Time.Minute([CONSULT_TIME])))
to solve my problem, thanks all.
I make the new column be like:
((Time.Hour(DateTime.LocalNow()) - Time.Hour([CONSULT_TIME]))*60)
+((Time.Minute(DateTime.LocalNow()) - Time.Minute([CONSULT_TIME])))
to solve my problem, thanks all.
Use this in a custom column
= DateTime.ToText(DateTime.From(Text.Middle([#"current - consult"],2)),"mm")
this method only available to "Import" mode
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.