Link to home
Create AccountLog in
Avatar of bruce schroeder
bruce schroeder

asked on

How would I create a trend report in Crystal Reports?

I would like to create a report (or ultimately a dashboard) that looks at a particular value (a status for a particular record (e.g. "new", "in process", "completed")).  There is no data of the status at any particular time so all I can query is how many records are in each status at any given snapshot in time, but I would like to know where we stand and how these are changing over time.  Is there a way to automatically run the report (e.g. daily) and have all of the prior results be part of the most current report?

I hope I explained this well.

Thank you,
Bruce
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Mike McCracken
Mike McCracken

The only way to do it is as above.

You need to create a table and save the values each time you run the report with the date and time of the run.
Without the previous values and a value to trend by you can't build a trend report.

You could just save the run number.

mlmcc
Avatar of bruce schroeder

ASKER

I was afraid of that.  I failed to mention that I have read-only access to the SQL db so I guess I  can't create any new tables in that db.

Can I create a local file or table in another db somewhere else?

I have Crystal Reports Server (but I have not used it yet so I don't know if that will give me any more capabilities).

Thanks

Bruce
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
So I have created a table in  new database (separate database from the one I will be querying).

So assuming I am able to query what I need and generate a report with the current statuses, how do I then write the new data to the new database?

I guess what I want is:

1) Read the historical data from the "new" database table
2) Query the active database to get the current snapshot of statuses
3) Write the data (all of it or just add the new) to the "new" database?

Thanks in advance.

Bruce
Did you look at the solution provided by Ido?

Generally this would be done in n application built for the purpose.

mlmcc
Was hoping not to purchase another application but to do this from within Crystal if Possible.
afaik, it is not possible with just Crystal.
Agree.  I don't know of a way to do it in Crystal itself.

mlmcc