hello,
I have a problem when graphing two dates on 1 graph.
I am using Crystal 8.0.
I have 1 new-time (when something comes in , and one close_time(when the same thing is closed). Now I want to graph them on 1 graph, so that that u can see per month the incoming and closed events on a daterange given by me.
So far I've managed to get only 1 right. So if I do new first it wil display the correct amount per month, and vice versa, but not both. Then it screws up one of them, depending on which formula i use first. These r the formulas i use.
Closed for summing on graph:
- if {HPD:HelpDesk.Status-History.Closed.TIME}>={?begindatum} and {HPD:HelpDesk.Status-History.Closed.TIME}<={?einddatum} and {HPD:HelpDesk.Company/ Organisation}={?klant} then 1 else 0
Incoming for summing on graph:
-if {HPD:HelpDesk.Status-History.New.TIME}>={?begindatum} and {HPD:HelpDesk.Status-History.New.TIME}<={?einddatum} and {HPD:HelpDesk.Company/ Organisation}={?klant}
then 1 else 0
Two Month converters one for incoming, one for closed.
(the if Month {date.table} = 1 then MonthVar := 'Januari')
and the last "On change Of" in the graph.
-WhilePrintingRecords;
if {HPD:HelpDesk.Status-History.Closed.TIME}>={?begindatum}
and {HPD:HelpDesk.Status-History.Closed.TIME}<={?einddatum}
and {HPD:HelpDesk.Company/ Organisation}={?klant}
then {@Periode.Afgesloten.Calls}
else if {HPD:Helpdesk.Status-History.New.TIME}>={?begindatum} and {HPD:HelpDesk.Status-History.New.TIME}<={?einddatum} and {HPD:HelpDesk.Compagny/ Organisation}={?klant} then {@Periode.Binnengekomen.Calls}
Now this wil print Closed event perfectly, but Incoming not.If i print first incoming, then that will be displayed perfectly. Can someone help me, it's getting really frustrating. TIA.
Robert
I have a problem when graphing two dates on 1 graph.
I am using Crystal 8.0.
I have 1 new-time (when something comes in , and one close_time(when the same thing is closed). Now I want to graph them on 1 graph, so that that u can see per month the incoming and closed events on a daterange given by me.
So far I've managed to get only 1 right. So if I do new first it wil display the correct amount per month, and vice versa, but not both. Then it screws up one of them, depending on which formula i use first. These r the formulas i use.
Closed for summing on graph:
- if {HPD:HelpDesk.Status-History.Closed.TIME}>={?begindatum} and {HPD:HelpDesk.Status-History.Closed.TIME}<={?einddatum} and {HPD:HelpDesk.Company/ Organisation}={?klant} then 1 else 0
Incoming for summing on graph:
-if {HPD:HelpDesk.Status-History.New.TIME}>={?begindatum} and {HPD:HelpDesk.Status-History.New.TIME}<={?einddatum} and {HPD:HelpDesk.Company/ Organisation}={?klant}
then 1 else 0
Two Month converters one for incoming, one for closed.
(the if Month {date.table} = 1 then MonthVar := 'Januari')
and the last "On change Of" in the graph.
-WhilePrintingRecords;
if {HPD:HelpDesk.Status-History.Closed.TIME}>={?begindatum}
and {HPD:HelpDesk.Status-History.Closed.TIME}<={?einddatum}
and {HPD:HelpDesk.Company/ Organisation}={?klant}
then {@Periode.Afgesloten.Calls}
else if {HPD:Helpdesk.Status-History.New.TIME}>={?begindatum} and {HPD:HelpDesk.Status-History.New.TIME}<={?einddatum} and {HPD:HelpDesk.Compagny/ Organisation}={?klant} then {@Periode.Binnengekomen.Calls}
Now this wil print Closed event perfectly, but Incoming not.If i print first incoming, then that will be displayed perfectly. Can someone help me, it's getting really frustrating. TIA.
Robert