Count is an aggregate function counting related records and the calculation where you have used it appears to be defined as a recursive calculation as it refers to itself by name in the same expression. Is this correct? What is the relationship between Depot_portal Data and Portal Completed?
If you put Depot_portal Data::Total Outstanding in your portal, what value do you see in each portal row? Are all the values greater than 0?
What relationship did you define for the portal? What field matches to what field and with what operator? (=. X . > ...) The relationship for your portal will use the relationship linking the table occurrence (box found in Manage | database | relationships ) selected in "show records from" in layout setup with the table occurrence selected in "Show Related Records From" in portal setup... Any filter expression that you define will then omit any related records where the expression does not evaluate as true for that related record.
Hi PhilModJunk - thank you for your response. I've just realised that I was filtering buy the wrong field...a little dumb. But it was your questions that prompted me to look a bit more closely!