Forum Discussion
Adding time and minutes
Hi Everyone - good morning,
The Power Apps team has assigned me to create a report from their app. It has been imported from the dataverse.
I need to add an hour column and a minute column to find the total hours and minutes spent on a project I am unaware of what DAX expression to implement.
They are organised as below (or in attached image):
Does anyone also have any ideas on what visuals that could be created for this also?
Thanks,
Gareth
gsmyth377 , You can create a measure like
Total time in minute = sumx(Table, [Hour]*60+[Minute])
or
Total time in Hours = sumx(Table, [Hour]+[Minute]/60)
2 Replies
- amitchandak
Super User
gsmyth377 , You can create a measure like
Total time in minute = sumx(Table, [Hour]*60+[Minute])
or
Total time in Hours = sumx(Table, [Hour]+[Minute]/60)
- gsmyth377Regular Visitor
amitchandak Hi mate this worked.
I have tried to create a calculated column using this expression (this is for each individual record) :
Total Time Spent = [Hour]+[Minutes]/60
Technically this works however it comes up in a decimal format for example one of the records say 7.50 which would mean 7 hours and 30 minutes.
Do you know how I can convert this?
Thanks,
Gareth