Maven4Champ
Technical User
- Jun 16, 2004
- 154
Greetings,
I have a report that has the following calculation called TTCM_TA:
NumberVar avgmins := Sum({TABLE.TTCM}, {TABLE.CODE})
/ Count({TABLE.DEALS}, {TABLE.CODE});
NumberVar dys := avgmins \ 1440;
NumberVar hrs := (avgmins mod 1440)\ 60;
NumberVar mins := avgmins mod 60;
ToText (dys, 00) & ":" & ToText(hrs, 00) & ":" & Right("00" & ToText(mins, 0), 2);
----------------------
My result is as follows (i.e. 41:16:45 - 41 days, 16 hrs, 45 mins).
However, when saving report as excel, it comes in as 41:16:45 and this is un-chartable data format. I have tried every cell formatting in Excel and there is no hope there. My hope is that I could convert it into something in Crystal using a formula conversion and then pass that to Excel to graph. Has anyone run into this problem and know how to resolve it?
It would be easier if Crystal could graph the results themselves but unfortunately it cannot graph a formula/calculation from what I have seen.
Using Crystal 8.5 and an Oracle database and Excel 2000.
Thanks!
I have a report that has the following calculation called TTCM_TA:
NumberVar avgmins := Sum({TABLE.TTCM}, {TABLE.CODE})
/ Count({TABLE.DEALS}, {TABLE.CODE});
NumberVar dys := avgmins \ 1440;
NumberVar hrs := (avgmins mod 1440)\ 60;
NumberVar mins := avgmins mod 60;
ToText (dys, 00) & ":" & ToText(hrs, 00) & ":" & Right("00" & ToText(mins, 0), 2);
----------------------
My result is as follows (i.e. 41:16:45 - 41 days, 16 hrs, 45 mins).
However, when saving report as excel, it comes in as 41:16:45 and this is un-chartable data format. I have tried every cell formatting in Excel and there is no hope there. My hope is that I could convert it into something in Crystal using a formula conversion and then pass that to Excel to graph. Has anyone run into this problem and know how to resolve it?
It would be easier if Crystal could graph the results themselves but unfortunately it cannot graph a formula/calculation from what I have seen.
Using Crystal 8.5 and an Oracle database and Excel 2000.
Thanks!