Expand picklist
A picklist is a text or period column type that includes metadata about table structure. The Expand picklist tool brings in selected columns from a pick-listed table up to three levels lower than your current table. The lower-level tables are automatically added to the Pipe builder canvas to transparently show the link between the tables.
If you select a period column type, the tool looks up the period in the Time_ table, and you can add Time_ columns such as Starting_ and Ending_ to the output.
Configuration
Use the following configuration options to help create your Expand picklist configuration.
Go to the Pipes module from the side navigation bar.
From the Pipes tab, click an existing pipe to open, or create a new pipe. To create a new pipe, read the Creating a pipe documentation.
In Pipe builder, add your data source.
On the toolbar in the canvas, click
+ Tool.In the search bar on the Tools modal, search for Expand picklist. Click + Add tool.
Tip
You can also find the Expand picklist tool in the Combine section.
Connect the tool to your data set.
Under Inputs, click to expand to find your inputs.
Under Tool to expand, click the drop-down arrow to select the tool with pick-listed data. Picklisted data comes from structural data tables created in Varicent Incentives. Continue selecting the pick-listed columns to reference and configure, going up to three levels deep. After you select the columns, the reference table is added to your canvas.
Optionally, click the + Add column to add a new picklist column.
Under Picklist column, select the picklist column to configure.
Note
You can search further down to a maximum of three levels to choose your picklist column.
Under Picklist attributes, select the column(s) to add as attributes. By default, all columns are shown from the picklist columns that were selected. For example, if you want to add the
Payee start dateto your data set, that would classify as an attribute.Click on the tool name to rename your tool node to a meaningful name. Name your tools in a way that describes the function, not the object or the data action. For example, use “Look up rate” instead of “Join to rate table”.
Usage example
For example, you have to figure out how much compensation to pay your sellers. The sellers can be active, inactive, deactivated, or have left your company. Use the Expand picklist tool to bring in selected columns to discover which sellers are still active and must be paid, using the following steps:
Add your raw data, which includes a Seller column, to Designer.
Add the Expand picklist tool to your pipe.
Select the
Sellercolumn from your Expand picklist column.In the Picklist attributes field, select
activity_status.