Jump to content

I need convert seconds in this format hh:mm:ss


walterweberg

Recommended Posts

I have a measure as Integer (it is seconds) and i would like convert this second in the format hh:mm:ss.

 

I tried with TimeSerial(0,0,[Measures].[Tiempo De Permanencia]) but this doesn't work. If i try with TimeSerial(0,0,70) the result is 00:01:10. it is OK but the Measure is the problem. (i think)

 

The [Measures].[Tiempo De Permanencia] was defined as datetype integer.

 

The definition of TimeSerial is:

<DateTime> TimeSerial(<Integer>, <Integer>, <Integer>)

 

I need help.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 

I have this error:

 

Mondrian Error:Internal error: argument type mismatch: parameters (int, int, int), actual (java.lang.Integer, java.lang.Integer, java.lang.Double)

 

I don´t know why, because i did the cast:

 

TimeSerial(0,0,Cast([Measures].[Tiempo De Permanencia] as INTEGER))

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...