On the Output tab of the query, select Gift (or Gift Information), Amount To Credit To Constituent