Skip to content

doc_type: example title: Live Pivot Style Grid summary: End-to-end Runline U example: build a pivot-style summary from dynamic report data. product: u tags: - tables - grids - live-data use_case: Summarize live report data without reconfiguring an Excel pivot table audience: intermediate


Live Pivot Style Grid

A workbook retrieves or stages a table, sorts or filters it, and converts it into a dynamic grid that behaves like a formula-driven pivot table.

Files Used in This Example


Step 1: Retrieve the Source Table

Use a report body or staged range as the table input.

=U.GET(report_group,report_name)

Step 2: Sort or Filter Before Aggregation

Shape the rows before converting them into a grid.

=U.VSORT(source_table,{"Time",-1;"Strategy",1})

Step 3: Build the Grid

Group row labels, column labels, and a value field.

=U.TABLE_TO_GRID(sorted_table,"trunc(Time),Strategy","Broker","PnL",,TRUE)

What’s happening here?

The grid formula recalculates from the current source. That can be simpler for live data than updating an Excel pivot table source range and refreshing the pivot table.