How to Show Records With Their Linked Records and Totals
This guide shows you how to make a block query return rows of chosen fields, totals and linked Records, read in one request: for example, every Stage in its order, with the total value of its Opportunities and the Opportunities themselves listed under it.