It is still returning the females in that count. What am I doing wrong?
Probably shouldn't affect this, but is the calculation field stored or unstored?
The method ID_User describes should work. Here's an alternative approach:
Define a "count of" summary field in the Student table and set it to count a field in the table that is never empty.
Make a copy of your portal and modify this copy as follows:
Reduce it to a single portal row.
Add this portal filter expression:
Participants::PartGender = "Male" //Like IT_User I am assuming that Participants is the name of the portal's table occurrence.
Put the "count of" summary field as the lone field in this single row portal.
Repeat the process but use "Female" instead of "Male" in the filter expression.
You should now have two one row filters that give you male and female counts.