19 - Add suggested values to the parameters

This content is also available at learn.palantir.com ↗ and is presented here for accessibility purposes.

📖 Task Introduction

In a Contour analysis, you are able to add suggested values to parameter dropdowns. This guides viewers of your Contour analysis to enter parameter values that exist in the data. If the suggested values you would like to provide exist in one of the input datasets to the analysis, you can choose to suggest values from a linked column. In other cases, you can choose to enter values manually. In our circumstance, it could be challenging for our team to remember every airport code for each airport. Therefore, we are going to create a dropdown where our team can select the airport code from our parameters.

🔨 Task Instructions

  1. Click on the Parameters icon (x) from the left-hand sidebar.
  2. Click on the pencil icon next to origin to edit that parameter.
  3. At the bottom of the panel, toggle on Suggest values from linked column.
  4. Then, in the Link to values of a column (optional) dropdown below, select the origin column from the flights dataset.
  5. Click on the Save button near the top-right corner of the parameter panel.
  6. Click on the pencil icon next to dest to edit the parameter.
  7. At the bottom of the panel, toggle on Suggest values from linked column.
  8. Then, in the Link to values of a column (optional) dropdown below, select the dest column from the flights dataset.
  9. Click on the Save button near the top-right corner of the parameter panel. If you click into the origin parameter’s value selector now, you should see a dropdown listing airport codes that exist in the origin column of the flights dataset.