# Stack Measures in Insights

You can display:

• Contribution of each measure to the whole displayed in numbers
• Percentage contribution of each measure

You can stack measures in the following types of insights:

If a chart has a secondary axis, the stacking is displayed only on the left axis.

## Example 1 - Stack a single measure by an attribute

You have the sum of checkouts and you want to see how each region contributed to the yearly sum.

Steps:

1. Drag the Checkouts measure to the Measures section.

2. Drag a date to the View by section and set it to Year.

3. Drag Region to the Stack by section.

The column chart displays how regions contributed in absolute numbers.

4. In the Stack by section, select Stack to 100% to view the contribution.

The column chart displays how regions contributed in percentage.

## Example 2 - Stack multiple measures and view them by date

You want to see how two measures contributed to the total amount. The example shows the amount of Facebook and YouTube clicks each quarter.

Steps:

1. Drag the FB clicks and YouTube clicks measures to the Measures section.
2. Drag a date to the View by section and set it to Quarter.
3. In the Stack by section:
1. Select Stack measures to view the contribution of Facebook and YouTube clicks.
2. Select Stack to 100% to see the contribution in percentages.

## Example 3 - View measures by two attributes

You want to compare the price of goods that customers added to their carts with the price of goods they purchased. You want to view the numbers by campaign group each year.

Steps:

1. Drag the Cart additions and Checkouts measures to the Measures section.
2. Drag a date and Campaign Group to the View by section.
3. Set the date to Year.

## Example 4 - Stack multiple measures, add a secondary axis, and view by date

You want to compare the amount of emails that you sent with the number of emails that were delivered. You also want to compare it to the number of emails that customers actually opened and to compare the trend for each quarter.

Steps:

1. Drag the Emails Sent, Emails Delivered, and Emails Opened measures to the Measures section.

2. In the Measures section, click Emails Opened and select show on right axis.

3. Drag Campaign Group to the View by section.

4. In the Stack by section:

1. Select Stack measures to view the amounts of emails sent and emails delivered.
2. Select Stack to 100% to compare the contribution over time.