Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

trying to do a summary where there are more than one customer in a time period

Posted on 2011-09-07
5
Medium Priority
?
226 Views
Last Modified: 2012-08-13
I want to count (and group) the number of customers that have visited more than once in the last two years..

the date range is in the selection criteria but I havent figured out how to summarize the visits > 1..
any ideas?
0
Comment
Question by:shockacon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 36499849
DO you want to see the customers?
If so sorted into any particular order?

Try this
Add a group on the customer id
Put the customer id field in the details
Right click it
CLick INSERT --> SUMMARY
Set the summary as COUNT
Insert it in the group footer

If you want you can drag it to the group header

You can use the GROUP SELECT EXPERT to limit/filter the customers who visited 0 or 1 time.

Click GROUP --> SELECT --> GROUP
Choose the summary field from the field list
 Count({CustomerId},{CustomerId}) > 1

You can also use the group sort to sort on the summary field either ascending or descending

If you need a count of how many visited then use 3 formulas
In the report header add a formula
WhilePrintingRecords;
Global NumberVar CustomerCount;
""

In the group header
WhilePrintingRecords;
Global NumberVar CustomerCount;
If Count({CustomerId},{CustomerId}) > 1 then
    CustomerCount := CustomerCount + 1;
""

In the report footer
WhilePrintingRecords;
Global NumberVar CustomerCount;
CustomerCount

mlmcc
0
 

Author Comment

by:shockacon
ID: 36504133
no  I do not.

option 1 doesnt apply.
option 2 makes no sense
option 3 didnt work.

not being negative or rude here.. this is what I observed. :)

I want to count all the customers that visited more than once, how many of those customers there are, by customer group. make sense?
0
 

Author Comment

by:shockacon
ID: 36504136
no  I do not.

option 1 doesnt apply.
option 2 makes no sense
option 3 didnt work.

not being negative or rude here.. this is what I observed. :)

I want to count all the customers that visited more than once, how many of those customers there are, by customer group. make sense?
0
 

Author Comment

by:shockacon
ID: 36504341
crap.. strike that. the second option did work.. just took me a second to get it in the right group/count etc. fun fun. :)
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 36506186
Not sure what you are referring to as Options 1,2,3.

The whole set of formulas is needed.

mlmcc
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question