Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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!

  • Author

Nevermind. Decided to create an additional relationship and table to handle this.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.