Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Converting Decimal minutes to hh:mm:ss and using hh:mm:ss as measure in the line chart

$
0
0

Hello,

 

I have a requirement where I need to convert the decimal minutes in the database field to hh:mm:ss and display it in the line chart using WEBI.

 

For example: 1500 decimal minutes = 25:00:00. I need to use this 25:00:00 in the value axis in the line chart in WEBI

 

I converted the decimal minutes to hh:mm:ss using the below formula:

 

=FormatNumber(Floor([Column_Name]/60) ;"00") + ":" +

 

FormatNumber(Floor(Mod([Column_Name] ;60)) ;"00")+ ":" +

 

FormatNumber(Mod(Mod([Column_Name]*60 ;60) ;60) ;"00")



The above formula converts the decimal minutes to hh:mm:ss but it is a string and I couldn't be able to use it in the line chart as measure. Is there any way to convert it as measure and use it in the line chart as measure?


In crystal reports, I can write a formula on what we display as a measure in the chart but in WEBI there is no provision for that.


Is there any work around in WEBI to fulfill this requirement.


Thanks in advance!


Mohan


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>