Transform a group into its compact values

Turn a checkbox group into a single element for crosstabbing, etc

Protobi's "Transform to Compact" feature simplifies the way you work with compact groups. It turns a group of elements into a single, multi-response element which can help with analysis and reporting. This feature is especially useful when you want to consolidate a group of questions into a single element to use as a crosstab banner.

In this tutorial, we'll walk you through how to use Transform to Compact, step by step.

What does Transform to Compact do?

Transform to Compact takes a group of elements—such as checkbox questions or rankings—and merges them into a single element with multiple response values.

This is especially useful for:

  • Turn checkbox groups into a single element.
  • Turn ranking and rating scales into a single element to highlight top-box items.

The compacted element can then be used for various purposes, such as:

  • Crosstabs banners.
  • Applying "Or" filters for more flexible queries.
  • Customizing sort orders or formats for responses.

Transform to Compact Example

Let’s walk through an example where we have a group of checkbox questions. The goal is to transform this group into a single element where we can easily view percent of respondents that selected the items.

Take for example, Q8 a group of checkbox questions where each option is represented by a column in the data.

A value of "1" indicates that the respondent selected the option, and "0" means they did not.

While this setup works well for many analyses, it can be cumbersome when you want to treat these options as a single, combined element for further analysis, such as in a crosstab.

Steps:

  1. Choose the group in your survey that contains the child elements you want to aggregate.

Note: To preserve the original view of the group, it's recommended that you clone the group first and then apply the transform to the clone.

  1. Press the square context menu icon for the group to bring up the transform options.

  2. Choose the "Transform..." option to open the transform dialog.

  1. Select Compact (squash) and press "Ok".

Note: You can also hide the distributions of each individual child of Q2 by checking the "Hide children" option in the transform dialog.

  1. Once the group is transformed, it will appear as a single distribution, where each option becomes a separate response value.

Keep in mind that because respondents can select multiple options, the percentages may add up to more than 100%.

Using the transformed element

Use as a crosstab banner

In its original state, Q8 (the checkbox group) cannot be used as a banner in a crosstab. However, after transforming the group to compact, Q8 can be dragged into another variable (e.g., Q10) to create a crosstab.

Use for "Or" queries

Before transforming the group, applying filters would result in an "AND" query. For example, if you filter for respondents who selected both "Easy to Use Daily" and "Easy to Switch", Protobi will only show respondents who selected both.

However, after transforming the group to compact, you can filter for respondents who selected either "Easy to Use Daily" or "Easy to Switch" (an "OR" query). This gives you more flexibility in filtering your data.

Note: When you select any item as a filter, the bars for each variable will turn yellow. This is normal behavior, especially in groups of checkbox questions, where respondents can select multiple options.

Customize sort orders

Another advantage of transforming to compact is that it allows you to customize the sort order and format for each response value. After transforming, you can edit each option (e.g., change labels or order) to match your reporting needs.

For instance, you can anchor specific responses to the bottom of the list, even if the element is sorted by frequency.

Note: You can also enter a numeric value in the "Sort as" column create a specific chronological order of values.

Result:

Revert the Transformation

If you want to go back to the original state, you can easily remove the compact transformation:

  1. Press the context menu icon again and select "Transform...".
  1. Choose "None" from the transform options.

This will restore the original layout.

Related Topics