Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Experts
Not sure if the following mesure will give me what i need ( i am not after the average time, but actual time). I am trying work our the number of hours that have elapsed based on todays date and based on the created on date in the sample data below...
Measure = Averagex(
T,
VAR created_ = T(Created on)
VAR Now_ = Now()
Var SecondsPerHour = 60 * 60
Return
DateDiff(Second, Created_,Now_)
Record ID | Created On | Elapsed Time Hours |
1 | 4/7/2021 07:10:56am | 98.1 |
2 | 30/4/2021 5:55:10pm | 32.4 |
3 | 5/1/2021 2:42am | 8.3 |
Solved! Go to Solution.
@Anonymous , seem fine, A measure like
Averagex(Table, datediff([Created On], now(), second)/3600.0 )
or a column
datediff([Created On], now(), second)/360.0
@Anonymous , seem fine, A measure like
Averagex(Table, datediff([Created On], now(), second)/3600.0 )
or a column
datediff([Created On], now(), second)/360.0
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |