Thanks for responding.
Please bear with me. I'm not quite sure what you mean when you say:
You can then use the TopN groups expert to limit the report to the top 5 groups based on say the sum of the random value for each group.
I took my report and sorted it by TopN where n=5. When I refreshed the report, it printed a column next to all of the employees with a two digit number ranging from 0.15 to .96. What do I need to do after than?
Thanks for your help in advance.
Main Topics
Browse All Topics





by: peter57rPosted on 2009-07-05 at 10:46:18ID: 24780701
Ypu can't force the selection of just 5 records unless you can create a Top Values sql command that includes a randomisation expression that will do that.
Within CR to get just 5 records into the report you would need to assign a random value to each record, and group the records on employeeid so thatere is just one record per group. Insert a summary to calculate the sum of the random value.
You can then use the TopN groups expert to limit the report to the top 5 groups based on say the sum of the random value for each group.