?
Solved

Cross Tab and Graph Question

Posted on 2006-05-30
2
Medium Priority
?
429 Views
Last Modified: 2008-03-06
I have a graph and cross tab that currently use a plots time in minutes for each day. I want to be able to display the time in hh:mm:ss format on the graph and cross tab.

I usually use the formula below to display the time in the format hh:mm:ss, but am unsure on how this would apply to a cross tab and graph.

WhilePrintingRecords;
NumberVar TotalSec :=  {@Timeworked};

NumberVar Hours   := Truncate  (Remainder ( TotalSec , 86400) / 3600) ;
NumberVar Minutes := Truncate  (Remainder ( TotalSec , 3600) / 60) ;
NumberVar Seconds := Remainder (TotalSec , 60) ;

Totext ( Hours ,   '00' ) +  ':' +
Totext ( Minutes , '00' ) +  ':' +
Totext ( Seconds , '00' )

0
Comment
Question by:halifaxman
  • 2
2 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 16795483
You can't use it on the graph because graphs are done before the Printing of the report.

See this link
http://support.businessobjects.com/communityCS/TechnicalPapers/cr9_charting_print_time_formulas.pdf.asp

For the cross tab can you simply add the field?

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 16838369
Glad i could help

mlmcc
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question