The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
Please advice,
I have Train times and date and I want to calculate the Average time the trains journey has taken by Day and Month. For the below instance, the average time will be 2.30 hrs because it is 10hrs divide by 4 = 2hrs30 mins(2.5).Thanks in advance
Date Duration(HH: MM)
02/12/1989 2:30
05/12/1989 2:30
08/12/1989 2:15
22/12/1989 2:45
23/12/1989 5:00
Solved! Go to Solution.
There is probably a way to do this with fewer functions, but this seems to work. It assumes your duration column is of type duration.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
There is probably a way to do this with fewer functions, but this seems to work. It assumes your duration column is of type duration.
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |