New Hampshire’s total revenue collection from July through December trailed forecasts by $41 million, according to a report by the state Department of Administrative Services.