Sorry, I was answering another post very similar at the same time, try:
WhilePrintingRecords;
Local NumberVar Total;
If {CallLog.Application} = Next({CallLog.Application}) and
{CallLog.Cause} = Next({CallLog.Cause}) then Total := Total +1 else Total := 0;
Total;
Reebo
UK
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein (1879-1955)
What I ultimately want to do is get a top 10 of cause and application together based on the formula, eg Program Antivirus has 3 entries then Program error Apps has 2 entries etc.
I have tried this, but the group n function does not seem to work with running totals- the icon is greyed out and the running total does not appear in the drop down list.
Also, do you mean to have 2 groups, the first on Cause and the second on application?
Group on this formula and then insert a summary (count) at the group level. Then go to topN and choose "count of {@concat} as your topN field with N = 10.
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.