I am trying to use the Top N functionality in Crystal and it is not working. It is ignoring the field that I want to sort on. Has anyone else experienced this problem? If so, how did you fix it?
I am counting the number of electrical outages that occured within a substation, feeder and phase grouping. I want the records to spill out in descending order by the number of outages. I have groupings on substation, feeder and phase. Within the phase group I am doing the count to get my number of outages. I want to sort descending within the group by this number.
TopN should let you sort the "phase" groups by the count for each "phase" but, obviously, it can't sort the records "within" each phase group by that count.
Are you saying you can't use TopN to sort the Phases by their count?
hth,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
If Phase is your 3rd group level, and you topN at this group, then CR will rank the Phases within each Feeder group, not within all phases in the report. Is that what you want?
If you are trying to find the TopN phases in the report, you would have to group differently, probably on a formula that combines Substation+Feeder+Phase.
What happens when you set up the TopN now, nothing? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.