DrFrankenstein
Programmer
Hi,
I'm trying to do something with Crystal Reports that I thought would be simple (at least it was simple from my programmer mind), but it turns out to be not so obvious; at least to me.
I want to show the number of rows in a table matching some various criterion, grouped by a certain column; so, for example, if the table represented tasks, you'd get something like:
- Task priority (group by);
- Number of pending tasks;
- Number of pending tasks that are overdue;
- Number of tasks done within due date;
- Success percentage;
- Average execution time;
- Average execution time of tasks that were completed overdue;
etc. Well, you get the idea.
Now, I would know how to get the total number of tasks, or the average execution time of all tasks. However, I don't know how I'd have CR count rows in a group matching some criterion. Any advice on how I could proceed?
I'm trying to do something with Crystal Reports that I thought would be simple (at least it was simple from my programmer mind), but it turns out to be not so obvious; at least to me.
I want to show the number of rows in a table matching some various criterion, grouped by a certain column; so, for example, if the table represented tasks, you'd get something like:
- Task priority (group by);
- Number of pending tasks;
- Number of pending tasks that are overdue;
- Number of tasks done within due date;
- Success percentage;
- Average execution time;
- Average execution time of tasks that were completed overdue;
etc. Well, you get the idea.
Now, I would know how to get the total number of tasks, or the average execution time of all tasks. However, I don't know how I'd have CR count rows in a group matching some criterion. Any advice on how I could proceed?