Compare Records Side by Side with Record Grid
Put an account's open opportunities side by side in a screen flow, one column per deal, so a manager can compare amounts, stages and dates at a glance.
A rep asks for a discount on one of an account's deals. Before approving, the sales manager wants that account's three open opportunities next to each other: amount, close date, stage, probability. A Record Grid turns each opportunity into a column and each field into a row, so the manager reads the same figure for every deal along one line.

Before you start
A screen flow that receives the account Id in a text variable named
recordId, available for input. How to pass your current recordId in your screen flow shows how to launch it from the Account page.The Record Grid settings are described in the Record Grid reference.
Steps
Get the opportunities to compare
Add a Get Records element before the screen:
Object: Opportunity.
Filter: AccountId Equals
{!recordId}, and IsClosed Equals{!$GlobalConstant.False}.Sort Order: Ascending by CloseDate. The grid shows the records in this order, left to right.
How Many Records to Store: All records.
How to Store Record Data: Automatically store all fields.
The grid runs no query of its own, so the manager sees exactly what this element returns.
Bind the grid to the collection
Add an Avonni Record Grid to the screen, give it the API name
Deal_Grid, and select it. The Edit Record Grid Component panel opens.At the bottom of the Properties tab, set Data Source to Variable. A new grid starts in Manual.
In Records Collection, pick the output of the Get Records element.
Add one row per field to compare
Under Row Fields, click Add Row Fields for each field, in the order the manager reads them: Amount, Close Date, Stage, Probability (%), Opportunity Type, Lead Source.
In each entry, pick the field in Field. Type fills in from the field (Currency for Amount, Date for Close Date, Percent for Probability), so leave it as it is. To rename a row, turn on Custom Label and type the new text in Label, for example Win chance for Probability. The entry keeps its field name in the panel list; the new label shows on the grid. Use Help Text for a short note shown next to the row label, such as Probability from the current stage.

Label the grid
In the Header group, set Title to Open deals. In the Properties tab, set Row Label Header to Field: it fills the empty top-left cell above the row labels.
With three deals, the default Records Per Page of 5 shows them all on one page. An account with more open deals gets chevrons in the header to page through the rest.
Save and test
Save the flow and run it from an account with open opportunities, or click Debug and enter an account Id in recordId (Test a screen flow that needs a record ID).
The screen shows one column per open opportunity, headed by its name and ordered by close date. Six rows run across them, from Amount down to Lead Source, with amounts as currency and Probability as a percentage, under Win chance if you renamed it. The row labels stay pinned on the left when the grid scrolls sideways.
Troubleshooting
Related tutorials
Build a fixed Record Grid with manual data: the same layout for values that are not stored in Salesforce.
Edit and save values in a Record Grid: let the manager change the deals in place.
Send edited Record Grid rows to Apex or a Decision: act on what the manager changed after the screen.
Was this helpful?
