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.

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
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.
Add a total to each lane
Under Sub Group Summaries, add one entry:
Field: Amount
Aggregate Function: Sum
Prefix:
TotalDisplay 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.

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.
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
Totalamount 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
Related tutorials
Build an opportunity pipeline board with column totals: the board this page starts from.
Filter, search and order a board: narrow the same board to one deal type or one lead source.
Move a deal and save it safely: stop a move a validation rule refuses.
Was this helpful?
