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

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

Recommended Posts

Posted

Is there a way to count the number of records in a portal (got that part figured out in a sum field) AND account for if a record has a specific field entry?

I have a portal that displays games and sometimes the games are paired together in one record. I want to be able to count the paired games as 2, not 1. I'm thinking something like If ( Qty = 2 ; ( Get ( TotalRecordCount) * 2 ) ; 1 ), but currently what I get is ALL the records, times 2.

Posted

Is it a filtered portal or not?

If it's not filtered, this is pretty simple. You can get a count of Ids from the parent table: Count ( your portal::iD ).

If it's a filtered portal, you'll need to duplicate that portal and just show one record in the duplicated portal. Create a summary field in your child table of the record Ids. Put that in your filtered portal copy. Make sure the filtering matches the original portal.

Posted

Why not Sum( related::Qty ) ?

Posted

Does the "qty "indicated 2 for a paired game? Cause if yes, then Fitch's answer is the correct one for an unfiltered portal.

This topic is 2466 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.