The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi!
Hope ur doing fine.
Im facing a problem on the displayed hour in my dashboard. As shown below, you'll see that a sum of hours is perfectly fine and the other, following the same dax and idea, doesn't happen to be the same as the first one. I'd like to understand whay the difference between them and how can I fix it.
The correct one:
The incorrect one:
I thank you in advance for taking your time.
@weakneee , Try like
var _hr = Sumx(Table, hour([Time])+ minute([Time])/60 + second([Time]) )
return
Time(0,0,0) +_hr
or refer
https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-usi...
https://social.technet.microsoft.com/wiki/contents/articles/33644.powerbi-aggregating-durationtime-i...
https://www.pbiusergroup.com/communities/community-home/digestviewer/viewthread?GroupId=547&MessageK...
https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389