I have a dataset having a duration, in seconds.
I can build a nice stacked chart out of it:
Now those 8M seconds on the left axis. I would like to display them in HH:mm:SS, and I’m stuck.
I tried to work in the dashboard itself, by adding an advanced formula which produces a TimeSpan
(return TimeSpan.FromSeconds( $duration$ );
), but this does not show at all.
I added this formatted duration
measure in the data point series, put it on its own axis, but without luck. The same happens if I return a string
from the advanced formula.
I tried to do this in the cube itself. It’s easy, I see the duration in the data preview but it’s found as a dimension.
I can believe that this doesn’t work, because if Dundas is trying to add strings or dimensions something is bound to fail.
I did see Is Time Duration a Measure or Hierarchy - If measure how do I get make it a Measure but this does not help much in my case.
So the question is: How can I nicely format the display of the axis of my graph?