Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
9 | |
7 | |
6 | |
6 |