Verify that the gift types being used are the same for both the summary on the constituent's record and the criteria for Summary Total Gift Amount in the query.
For example, the query may be including pledges while the Gift Summary is not.

If the total amount on the Giving Summary is still incorrect, refer to Amounts are incorrect, gifts or constituents are missing or receiving an error: No records met specified criteria when processing reports, query, or mailing functions in The Raiser's Edge 7 (BB110284)