What is the proper way to format query data for Report Tables?

If there are DB performance reasons to collect all the chart data in one query, consider constructing the required nesting in a script data source. Like so:

1 Like