# Column gripper

#### 1. Sort

You can use the **Sort** option to sort your data in ascending/descending order or apply an absolute sort.  For hierarchical datasets, sorting is applied to the child rows for each level of the hierarchy.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2F1cS4ierpImc5M4kFGDgu%2Fimage.png?alt=media&#x26;token=24d538e2-2804-4736-a0a1-b6ef814ad150" alt=""><figcaption><p>Sort option</p></figcaption></figure>

In the provided example, both the Month and the Sum of Profit measures are sorted in ascending order.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FcmsSFMmA1PU6GR3K0og8%2Fimage.png?alt=media&#x26;token=075bf8a2-2901-43ef-8561-092b8e7454c6" alt=""><figcaption><p>Sorted data</p></figcaption></figure>

#### 2. Insert

The Insert option can be used for the following operations:

* **Copy as data input** - Create a new data input field. The values will be copied from the selected measure.
* **New data input** - Create a new empty data input field
* **Insert formula** - Create a new field using a built-in formula

Learn more about [data input](https://docs.inforiver.com/premium-table/working-with-premium-table/4.-adding-business-logic-and-formulae/insert-manual-input-rows) and [formula measures](https://docs.inforiver.com/premium-table/working-with-premium-table/4.-adding-business-logic-and-formulae/insert-calculated-columns).

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2F4cQUkgoCFTmn6cvnv8WD%2Fimage.png?alt=media&#x26;token=6602b6a4-d890-41a7-a7a3-dd202acad2b8" alt=""><figcaption><p>Insert option</p></figcaption></figure>

#### 3. Pin column

The pin column option allows you to tag important columns right at the beginning of your report, saving you the effort required to scroll back and forth.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FpYrIeu7IW6xPn8zWOf0U%2Fimage.png?alt=media&#x26;token=03be4287-f35c-4380-bea3-11622cb01f52" alt=""><figcaption><p>Pin column option</p></figcaption></figure>

In the example, the sum of discounts has been pinned to the beginning of the report.&#x20;

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FBCLEtwmLfCgFlSn2nv7i%2Fimage.png?alt=media&#x26;token=b7dc6ad1-f470-472c-9389-51c11bc254e6" alt=""><figcaption></figcaption></figure>

You can also choose to unpin a particular field or unpin all fields.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FWH3MS1mK8hOvfsjb7Gia%2Fimage.png?alt=media&#x26;token=7b311c4f-8d5e-46e4-bd55-a35d5d5f8082" alt=""><figcaption></figcaption></figure>

#### 4. Stick measure to last

In some cases, using field measures can cause an automatic reordering of columns in the report. You may want a particular field, for instance, a field with an embedded chart, to always retain its position at the end of the report. You can use the **Stick Measures to Last** option to assign one designated measure to the last position. The last position will be retained even if new fields are added to the visual.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FS4uPIIaQZSusIrrqTLnQ%2Fimage.png?alt=media&#x26;token=c14f0c01-8341-40fa-8228-dc4daacbfd1c" alt=""><figcaption><p>Stick measures to last</p></figcaption></figure>

#### 5. Hide Column

You can use the **Hide Column** option to mask a particular column in your report. In the animation below, notice how the *Sales* measure has been hidden in the report.&#x20;

{% hint style="info" %}
You can use the **Show All Columns** option to display hidden columns again.
{% endhint %}

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2F6jhwhSkXiRaqVyv890G7%2FHide%20columns.gif?alt=media&#x26;token=fda55d03-0d7a-4db8-969f-e19afa33ef51" alt=""><figcaption><p>Hide columns</p></figcaption></figure>

#### 6. Select header

Use the **Select Header** option to apply custom formatting to a particular measure header.&#x20;

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FTqrhxP9nzp6nVFJ8qwlm%2Fselect%20header.gif?alt=media&#x26;token=016cb182-8a3a-44cc-9d3e-af4d531eb395" alt=""><figcaption><p>Select header</p></figcaption></figure>

#### 7. Number formatting

You can use this option to directly set a custom scaling factor for a particular measure.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FBG5I05gIisCtPKjws0CF%2Fimage.png?alt=media&#x26;token=5ca39787-2e78-4b63-89d3-d29ff784077a" alt=""><figcaption><p>Number formatting</p></figcaption></figure>

#### 8. Show (-ve) sign

When this option is enabled, negative values are displayed within parentheses, and the negative sign (-) is removed.

<div><figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FlqkdNLfXEHeYSN2HjJgD%2Fimage.png?alt=media&#x26;token=ff195118-f5c5-4426-847d-ab322e21391b" alt=""><figcaption><p>show (-ve) sign disabled</p></figcaption></figure> <figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FPEQXBPvrjAKyfPNgOTBB%2Fshow%20negative.png?alt=media&#x26;token=aa8823b1-d6b7-4a79-95e6-23edf90ae2b2" alt=""><figcaption><p>show (-ve) sign enabled</p></figcaption></figure></div>

#### 9. Column gripper

The column gripper allows you to quickly rearrange columns using a simple drag-and-drop action. This makes it easy to reorder columns, group related data, and customize the layout of reports without modifying the underlying data model.

<figure><img src="https://2428652681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsB9HAei8v4FfKkH9M4gw%2Fuploads%2FSKSINzTkTkJa2fo5EZxN%2Fcg.gif?alt=media&#x26;token=eb80c01f-c747-4ce0-b8cb-e6c9932aee1b" alt=""><figcaption><p>Column gripper</p></figcaption></figure>
