> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/~/changes/mS6jwvARNLHpKqBa4cT9/working-with-inforiver/3.-basic-interactions/actions/context-menus/column-gripper.md).

# Column gripper

You can use the column gripper context menu to quickly sort or show/hide fields or insert a new field. Let's look at the various options in detail.

#### i) 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="/files/tPV43mRvrXEspk9jFGox" alt=""><figcaption></figcaption></figure>

In the example, the Jan > Profit measure has been sorted in ascending order.

<figure><img src="/files/eJkaSlKJTT9MueqCbomI" alt=""><figcaption><p>Jan>Profit sorted in ascending order</p></figcaption></figure>

#### ii) 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](/~/changes/mS6jwvARNLHpKqBa4cT9/working-with-inforiver/4.-adding-business-logic-and-formulae/insert-manual-input-rows.md) and [formula measures](/~/changes/mS6jwvARNLHpKqBa4cT9/working-with-inforiver/4.-adding-business-logic-and-formulae/insert-calculated-columns.md).

<figure><img src="/files/3D1OsoKYt5zOCFVJ56Pc" alt=""><figcaption></figcaption></figure>

#### iii) 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="/files/hVqaLdRXeiDP39FU51WU" alt=""><figcaption></figcaption></figure>

In the example, the Dec>Profits and Apr>Sales have been pinned to the beginning of the report.

<figure><img src="/files/ElBbMo5UryGkKAKVStKa" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/ZA2vAbLq7l85v58vfxaW" alt=""><figcaption></figcaption></figure>

#### iv) Stick Measure to Last

In some cases, using field measures can cause an automatic re-ordering 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="/files/fCYxhTXVjaIDs59J8w8g" alt=""><figcaption><p>Stick measures to last</p></figcaption></figure>

#### v) Hide Column

You can use the *Hide Column* option to mask a particular column in your report. In the animation below, notice how the Profit 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="/files/85YAsaPDbqPhdQKZaY74" alt=""><figcaption></figcaption></figure>

#### vii) Aggregation

Using this option, you can directly set the aggregation method used to calculate the totals and subtotals for a particular column. Learn more about [managing aggregation](/~/changes/mS6jwvARNLHpKqBa4cT9/working-with-inforiver/manage-aggregations.md).

<figure><img src="/files/v3kwuY97ormW5TtnoN85" alt=""><figcaption></figcaption></figure>

#### viii) Select Measure

You may need to perform operations such as applying uniform formatting for a measure. Rather than selecting each measure and applying formatting, you can use this option to select a particular measure across the entire report and apply formatting in a single shot. In the animation below, notice how the Discount measure has been selected for all months.

<figure><img src="/files/qva0Oyg95ByRLKRw0W3Q" alt=""><figcaption></figcaption></figure>

#### ix) Number formatting

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

<figure><img src="/files/VG5YG7dmX6Js1ccbN7NS" alt=""><figcaption></figcaption></figure>

#### x) Show (-ve) Sign

Enable this option to enclose negative values in parentheses. In the report below, negative profits are displayed inside round brackets as the *Show (-ve) Sign* option is enabled.

<figure><img src="/files/qSDC9FfJyBi52iK9xt7z" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.inforiver.com/~/changes/mS6jwvARNLHpKqBa4cT9/working-with-inforiver/3.-basic-interactions/actions/context-menus/column-gripper.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
