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,
I got a colum with a Whole number in minutes, I need your help in calculating a colum with the same value in hours, for example if a value is 60 the result would be 1:00
I used this calulation but didnt worked!
Time in Hours = var Duracion =CAP_TIEMPOATEN[TIEMPO_ATENCION_BLOQ2]
var Horas = INT(Duracion/3600)
var Minutos = INT(MOD(Duracion-(Horas*3600);3600)/60)
var segundos = ROUNDUP(MOD(MOD(duracion-(Horas*3600);3600);60);0)
Please I need help
@Anonymous
you can use this simple formula and then give the column a Time data type and format it to H:mm
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Thanks, @LivioLanzo it worked, is there any way to sum or get the average of this times, for example I got 4 measures every
month and I want the average time in hours
@Anonymous
do you mean average by month? you could drop the month in a matrix and calculate the average ?
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Yes an average by month, and I did drop in a matrix, but I couldnt sum or get an average of my data
Weird. Could you upload your sample? @Anonymous
thanks
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |