# Blend measures

Inforiver allows you to blend two measures in a single column along with formatting, including conditional formatting.&#x20;

Let's blend the Sales and Margin% columns in a single column.&#x20;

a) In the 'Insert' tab, click on the 'Blend' option in the 'Column' section. A blank measure gets inserted and the 'Blend measure' side panel opens.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FM2SO1HMTxX3M9tdRjmY3%2FBlend%20measure.png?alt=media&#x26;token=e074172d-5523-474a-95e9-38f92395df5c" alt=""><figcaption><p>Blend</p></figcaption></figure>

b) Enter the title and select the measures as shown from the dropdown. Click 'Create'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FX3bdnAVEFMPu4hK1TiVA%2Fa.1.1%20Blend.png?alt=media&#x26;token=c33d5a25-ddad-4609-b0aa-733cbac4de1b" alt=""><figcaption><p>Blend measure panel</p></figcaption></figure>

c) The columns are blended to create a single column. Note that Margin % is displayed below Sales. This is because we have used the default 'Vertical' as 'Blend direction'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FnAoDkmVbVCEZ2I0pP8lw%2FBlend%20vertically.png?alt=media&#x26;token=a2b2c6b4-acba-4ca3-ba02-357f5fa5965e" alt=""><figcaption><p>Blend measures vertically</p></figcaption></figure>

d) If you want to display in a horizontal orientation, change the 'Blend direction' to 'Horizontal' and click 'update'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FE4dfPsnfNtVHKvjCHSOH%2FBlend%20Horizontal.png?alt=media&#x26;token=14a70d76-19db-4e15-9d72-b6c1d183d027" alt=""><figcaption><p>Blend measures horizontally</p></figcaption></figure>

e) The horizontal blending is shown.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FMNFvc2gNCPi4y4v3HK1C%2FHorizontal%20blen.png?alt=media&#x26;token=b7ed8126-963f-4ccc-90cf-cc9797fe02ec" alt=""><figcaption><p>Horizontal blending</p></figcaption></figure>

f) The other way to blend the columns is by selecting the columns to be combined and clicking the 'Blend' option from the Insert tab. For example, let's blend the Margin and Margin% columns in a single column.&#x20;

Select the columns and click 'Blend'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FhGgqTXSBjUCfu6IihTZY%2FBlend%20Measures2.png?alt=media&#x26;token=93055a06-5d88-4511-8308-2b813dee5d40" alt=""><figcaption><p>Blend by selecting columns</p></figcaption></figure>

g) The 'Blend measure' side panel opens, enter the title and click 'Create'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F1CmSMBsJjsqqwsKo4O8u%2Fa.1.2%20Blend.png?alt=media&#x26;token=2d2eaf8e-3371-4dd7-9c0a-0ce4a44840b7" alt=""><figcaption><p>Blend measure panel</p></figcaption></figure>

h) The columns are blended into a single column.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fd71TYAkIbMfbeconXPb8%2FMargin%20and%20Margin%25.png?alt=media&#x26;token=256bff64-08b2-4913-8978-0fd7e7dab7c6" alt=""><figcaption><p>Blended column</p></figcaption></figure>

i) If you want to view only the blended columns, click on 'Manage Columns' from the toolbar. You can see a list showing the row and column headers and measures.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FoEONEcvWhppjHDA2W6KG%2FManage%20Columns.png?alt=media&#x26;token=809cea06-5c46-4f09-af59-61d4964a13a5" alt=""><figcaption><p>Manage columns</p></figcaption></figure>

j) Unselect the original source columns which you want to hide in the visual. You can now see only the blended columns.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2F8ldKHTiFiEE19Il51D6U%2FUnselect%20the%20column.png?alt=media&#x26;token=7c66b045-5f8b-4820-aa0b-38eacc6fb909" alt=""><figcaption><p>Hiding source columns</p></figcaption></figure>

{% hint style="info" %}
When two columns are blended, the formatting of the source columns including conditional formatting is retained in the new merged column. &#x20;
{% endhint %}

**Example 1:** Consider an example where the font style and size are changed in the source columns.

a) Let's change the font style to bold for the 'Sales' column. You can see that the same style has been copied to the Sales values of the merged column (Sales| Margin %).

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FMWKNm1pJIuEDAROqOJcl%2FBold.png?alt=media&#x26;token=0bf5ee5b-b5fc-4531-981f-f41eeb7a4cef" alt=""><figcaption><p>Blend font style</p></figcaption></figure>

b) Let's keep the 'Sales' as it is and reduce the font size of the 'Margin %' column.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FowRDmlS3Sfyeo4UuL4EH%2FFont%20size.png?alt=media&#x26;token=000ea184-eb8f-4508-9d89-b5ee0821ac57" alt=""><figcaption><p>Formatting font size</p></figcaption></figure>

c) You can see that the values in the merged columns reflect the change.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FxbMW23wrKz5W8FFXVhB8%2FBlend%20format%20size.png?alt=media&#x26;token=3ef273dc-efe9-40b7-afac-5723cfbbb35a" alt=""><figcaption><p>Blend font size</p></figcaption></figure>

**Example 2:** Consider the below example where conditional formatting is applied to the 'Sales' column.&#x20;

a) To view the conditional formatting rule, in the 'Home' tab, click on the 'Conditional formatting' drop-down and select 'Manage rules'.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FLSIeWqu9tDj0AbuTj3BY%2FCF.png?alt=media&#x26;token=4e0b5202-a795-4098-bc64-fa0d71d72ff8" alt=""><figcaption><p>Manage rules</p></figcaption></figure>

b) A side panel opens showing a list of all the rules. Click on the 'Edit' icon next to the rule Icons - Margin %.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FVrcFB8r2lTyu2OjsKKpg%2Fedit%20cf.png?alt=media&#x26;token=71a620d2-9c7f-472e-a94d-2a3dcca1f0df" alt=""><figcaption><p>Conditional formatting panel</p></figcaption></figure>

c) Let's try changing the icon position and see what happens to the source and merged columns.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FPIZDYYFNRApptoA3Dsz3%2FIcon%20pos.png?alt=media&#x26;token=9cb83ac7-43cc-4345-a838-a7e66853b3fc" alt=""><figcaption><p>Icon position</p></figcaption></figure>

d) When you change the icon position from 'Right of data' to 'Left of data' and select 'Apply', you can see that the icons in both columns shift over.&#x20;

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FQFvvmpDft3yNTawDHSyr%2FBlend%20Cf.png?alt=media&#x26;token=367fd719-2af0-4baf-bbb0-deb3d0cc379f" alt=""><figcaption><p>Blend conditional formatting</p></figcaption></figure>

**Example 3:** Let's see how to blend the two measures in a single column with data bars. Follow the steps shown below:

a)  Select the columns and click 'Blend'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FMMFahor8yfCZiMs0koDN%2FBlend%20Data%20bars.png?alt=media&#x26;token=5cdbd253-72af-4f1c-bb21-bc54f27ed40b" alt=""><figcaption><p>Data bars</p></figcaption></figure>

b) The 'Blend measure' side panel opens, enter the title and click 'Create'.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FLvXEK3TP4yAYtEzKVOMQ%2FData%20bars.png?alt=media&#x26;token=6080c62b-7940-4a7e-a6ff-f49edd742373" alt=""><figcaption><p>Blend measure panel</p></figcaption></figure>

c) You can see the two values along with the data bars in a single column.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FjeZOIDUFEPV5OFuhoTKn%2FBlended%20bars.png?alt=media&#x26;token=1f89667c-bea3-4b31-818e-0b58c13473ce" alt=""><figcaption><p>Blended data bars</p></figcaption></figure>

In the next section, we'll look at inserting dynamic measure headers.&#x20;
