Skip to main content
Solved

Format standard measure to hh:mm format.


HI 

I am having a OLAP cube and a standard measure which needs to be in hh:mm format. currently the number is coming in float. Guidance much appreciated.

Best answer by Thomas Lind

Hi Jyothi

Just so everybody who reads this question knows it is possible to solve.

The solution to this is, you set up the format as hh:mm:ss. You cant find it in the list, but manually typing it in will work.

Before you us this, you need to divide your measure with a fraction of a day. So Seconds is 86400 (60*60*24), minutes is 1440 (60*24) and hours is 24.

View original
Did this topic help you find an answer to your question?

2 replies

Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • Answer
  • January 18, 2018

Hi Jyothi

Just so everybody who reads this question knows it is possible to solve.

The solution to this is, you set up the format as hh:mm:ss. You cant find it in the list, but manually typing it in will work.

Before you us this, you need to divide your measure with a fraction of a day. So Seconds is 86400 (60*60*24), minutes is 1440 (60*24) and hours is 24.


  • Author
  • Contributor
  • 8 replies
  • January 18, 2018

Hi Thomas,

It worked as expected. I'm glad that you gave me a solution.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings