The Invalid Aggregate error is issued in the following situations:

Clicking the symbol will take you directly to source of the error.

See Also

Fetching Data from the Database | About Error Messages