Forum Discussion

i820017's avatar
i820017
Icon for Resolver II rankResolver II
5 years ago
Solved

HH: MM: SS vs CalendarYearMonth Graph

Hey Everybody,

I am trying to graph HH:MM:SS (as an aggregate) vs CalendarYearMonth.

I cannot get anything to show up on my line graph when I put 'ACW___' into 'Values'. (The 'Axis' is 'CalendarYearMonth')

 

Here is the formula that I am using for 'ACW'

ACW___ =
VAR a = [ACW_Sum]
VAR hours = INT ( a / 3600 )
VAR minutes = INT ( MOD ( a - ( hours * 3600 ), 3600 ) / 60 )
VAR seconds = ROUNDUP ( MOD ( MOD ( a - ( hours * 3600 ), 3600 ), 60 ), 0 )
RETURN
TIME ( hours, minutes, seconds )
 
 
Here is the formula for 'ACW_Sum'
ACW_Sum = SUM(Metrics[ACW])
 
 
 
Thanks
Dan

3 Replies