Forum Discussion
Convert Column from Minutes to Hours
Hi All,
I have a column that I created through a mesuare that add two columns but it is in minutes instead of hours which I need for comparision reasons. I found several different ways to do this on the forum but was confused on how to actually impliment it.
Here is what I am wanting to do. The column in bold is what I am hoping to accomplish.
v_rpt_service Table
| ART_Resolved_Actual | ART_Resolved_Actual_Hour |
| 0 | 0 |
| 300 | 5 |
| 112 | 1.86 |
| 256 | 4.26 |
| 854 | 14.23 |
| 42 | 0.71 |
Thanks!
- Anonymous8 years ago
Divide ART_Resolved_Actual by 60.
ART_Resolved_Actual_Hour=ART_Resolved_Actual/60.
Am i missing something here , looks so simple :)
Thanks
Raj
5 Replies
- AnonymousNot applicable
Divide ART_Resolved_Actual by 60.
ART_Resolved_Actual_Hour=ART_Resolved_Actual/60.
Am i missing something here , looks so simple :)
Thanks
Raj
- slounsbury
Helper II
Unfortunatly It doesn't appear to be that simple. I also ran the forumla you posted with the same result.
- AnonymousNot applicable
How ART_Resolved_Actual is being calculated ?
Thanks
Raj
- slounsbury
Helper II
What I ended up having to do was dividing both columns by 60 that were used to create the calculated column (ART_Resolved_Actual) and then re-add them which worked.