Hello CDE-Users,
have you ever had a problem with time format for values from MDX Cube? My values are in minutes - e.g. 85,32 which means 01:25. I got something(1:25 without leading zero) in bar chart in extension point:
function(scene) { return Math.floor((scene.vars.value.label)/60) + " : " + ((scene.vars.value.label)-((Math.floor((scene.vars.value.label)/60))*60)).toFixed(0);}
Question to You: is it correct to do formating in extension point or should I have somewhere js?
My second problem is that in table component I do not have extension point so I do not know how to format it in this element. Can you help me?
Thanks a lot for your help and understanding that I'm not "javascript" person.
Best regards,
timfu83
have you ever had a problem with time format for values from MDX Cube? My values are in minutes - e.g. 85,32 which means 01:25. I got something(1:25 without leading zero) in bar chart in extension point:
function(scene) { return Math.floor((scene.vars.value.label)/60) + " : " + ((scene.vars.value.label)-((Math.floor((scene.vars.value.label)/60))*60)).toFixed(0);}
Question to You: is it correct to do formating in extension point or should I have somewhere js?
My second problem is that in table component I do not have extension point so I do not know how to format it in this element. Can you help me?
Thanks a lot for your help and understanding that I'm not "javascript" person.
Best regards,
timfu83