How to display values from dropdowns

Modified on Tue, 3 Nov at 12:56 PM

TABLE OF CONTENTS


A Tabulate column based on a dropdown question shows the name of the selected list item by default. List items often hold extra data, such as emission factors, units, or sources. The Show setting displays one of these fields in the column instead of the item name.


Use this setting to bring list item data into ad-hoc tables, for example, to show the emission factor for each selected fuel type, or to use that factor in a calculation column.


Before starting

  • The dropdown question must be listed under Measure points in the column settings.
  • The list behind the dropdown must store values for its items (for example factor_scope_1, unit or source). 

A dropdown example in Data Reporting


Add a dropdown question to a table

  1. Go to Analytics > Tabulate.
  2. Click “Create table” to start a new table, or open an existing table and click “Edit table”.
  3. In the Columns tab of the Edit table panel, select Quick add > Measure point.
  4. Search for the dropdown question, select its checkbox, and click “Add 1”.

The question is added as a new column. In the column settings, the question is listed under Measure points. To combine more questions in the same column, click “Add another question”.

A dropdown question added as a column, with its column settings open


Choose which value to show

  1. In the Columns tab, click the cog icon next to the dropdown column to open its settings.
  2. Make sure Aggregation is set to None.
  3. Open the Show menu below Aggregation. It defaults to Name and lists the fields stored on the list items, for example factor_scope_1 or unit.
  4. Select the field to display. The table preview updates to show the field.
  5. Click “Done” to close the column settings.
  6. Click “Save” to save the table. For a new table, enter a name and click “Confirm”.

The column now shows the selected field for each registration instead of the list item name. To show several fields from the same list, add the dropdown question once for each field and choose a different field in each column.

The Show setting in the column settings


How the values behave

  • Numbers stay numbers: numeric fields, such as emission factors, sort, export, and calculate as numbers. Use the column as an input to a calculation column, for example, to multiply a quantity by its emission factor.
  • No aggregation: a list item field cannot be aggregated. Choosing an aggregation such as Sum resets Show to Name and disables it. Set Aggregation back to None to choose a field again.
  • Multi-select dropdowns: when several items are selected in one answer, a calculation column uses the values joined as text.
  • Values follow the registration date: if a list item’s values change over time, the column shows the values that were valid on the date of each registration.
  • Archived items: fields that exist only on archived list items can still appear in the Show menu, because existing registrations can still point to those items.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article