Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Group cards into swimlanes with totals

Split each stage of an opportunity board into one swimlane per lead source, with a total per lane, so you see where this quarter's pipeline comes from.

A sales director wants to know which channels feed the pipeline: how much of the Proposal stage came from partners, and how much from the website. Swimlanes answer that on the board itself. Each stage column is split into one horizontal lane per Lead Source, and every lane header carries its own deal count and total amount.

Opportunity Kanban split into lead source swimlanes, each lane header with a deal count and a total amount
One lane per lead source, each with its own count and total

Before you start

  • Build the pipeline board first: Build an opportunity pipeline board with column totals. This page adds lanes to that board.

  • Pick a picklist field for the lanes. The Kanban builds one lane per picklist value, the same way it builds one column per stage. A lookup such as Owner or a text field gives no lanes.

Steps

1

Choose the lane field

Open the Kanban in the property editor. In Data Mappings, set Sub Group Field Name to Lead Source.

The board now shows one lane per Lead Source value (Web, Partner, Trade Show and so on) inside every stage column. If the field depends on a record type, set Sub Group Field Record Type so only that record type's values become lanes.

2

Add a total to each lane

Under Sub Group Summaries, add one entry:

  • Field: Amount

  • Aggregate Function: Sum

  • Prefix: Total

  • Display As: Currency, with your Currency Code under Type Attributes

Sub Group Summaries works exactly like Group Summaries: same functions, same formats. The column totals you set in the first tutorial stay at the top of each stage; the lane totals sit in each lane header.

Sub Group Field Name set to Lead Source and a Sub Group Summaries entry summing Amount
Sub Group Field Name creates the lanes, Sub Group Summaries their totals
3

Count the deals in each lane

In the Properties tab, turn on Show Subgroup Item Count. Each lane header shows its number of cards in parentheses. Show Item Count does the same for the stage columns.

4

Decide which lanes appear and how they open

Open the Group By section:

  • Hide Undefined Group: Lead Source is optional, so the Kanban adds a lane for deals with no source. Rename it with Undefined Group Label (for example No source), or turn this on to remove it. The same setting also controls the undefined column, which never appears for Stage because Stage is required.

  • Collapsed: every lane starts closed, showing only its header and totals. Users click a lane header to open it. Useful once you have more than four or five lanes.

  • Show Empty Sub Groups: by default a lane with no card at all is hidden. Turn it on to keep every lead source on the board, so the director sees the empty channels too. Empty lanes open collapsed.

5

Save and test

Save and run the flow. You should see:

  • each stage column divided into lanes, one per lead source;

  • a deal count and a Total amount in every lane header, under the column totals;

  • only lanes that hold deals, unless Show Empty Sub Groups is on.

Drag a card to another stage in the same lane: only its stage changes. Drag it into a different lane and the Kanban saves the new Lead Source on the record as well, so keep Read Only on if the board is for review only.

Troubleshooting

No lanes appear

Sub Group Field Name points to a field that is not a picklist, such as Owner (a lookup) or a text field. Lanes come from the picklist values of the field. Use a picklist field, or create one if you need lanes per rep or per region.

A lead source is missing from the lanes

No deal in the board's query has that value, and empty lanes are hidden. Turn on Show Empty Sub Groups in the Group By section.

If deals carry the value but their cards are missing too, the value is not (or no longer) an active value of the Lead Source picklist. The Kanban draws lanes from the picklist's values only, so those cards are not shown, while the column counts and totals still include them. Add the value back to the picklist in Setup, or update those records to an active value.

Moving a card changed its Lead Source

Expected. A card dropped into another lane takes that lane's value, and the Kanban saves it with the stage. Drag along the same lane to change the stage only.

Was this helpful?