Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Counting in the Subsummary AND over the Found Set, same value different fields


This topic is 4270 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hard to think of a good title for this.

 

I have a table with Agents and Referrals. The data shows in subsummary parts which are sorted by Agent.

 

It's easy to get a count when Agent = Referral.

 

However, is it possible to get a count of Referrals over the whole found set when sorted by Agent?

 

For example, Smith was the Agent for 10 records.

Smith was also the Referral for 8 records, 3 where Smith was the Agent and 5 where Jones was the agent.

 

On the subsummary part, sorted by Agent, I can get the 3 for when Smith is the Agent and Referral. How can I put on that same part that Smith is the Refferal for 8 records in the found set?

 

I was thinking of maybe Execute SQL but I don't know enough SQL to write a meaningful statement. Or should I go with that?

 

Thanks!

This topic is 4270 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.