Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added details on how to enable this for case data exports

In CommCare HQ the answers to multi-select questions are stored as a space separated list e.g., "item1 item2 item3". Exporting this raw data to to Excel or a CSV file makes it difficult to analyze so CommCare HQ provides the user with the option so split the multi-select answers into multiple columns. The exported data would then look as follows:

...

The exported data would look like this:

question1 | item1question1 | item2question1 | item3question1 | extra
111
  


1
  


A '1' in the cell indicates that the choice was selected, and a blank cell indicates that the choice was not selected.

Any choice that was not selected when the custom report was configured, or deleted choices from prior application versions, can be found in the "extra" column.

Form Data Export

On the CommCare HQ user interface this is configured when creating or editing a custom form export by selecting the "Expand Multiple Answer Questions" option.

Image AddedImage Removed

Case Data Export

Please note that in case exports, this you will need to ensure the "Split multi-select in case export" feature preview is enabled first. Please read on what feature previews are and how to enable them before using said feature as there are certain considerations you need to be aware of.

This concept is achieved through the 'Type' column. If the corresponding dropdown for a property in the type column is changed from plain to 'multi-select,' you can split a property created by a multi-select question into its constituent parts.