> For the complete documentation index, see [llms.txt](https://help.tellius.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tellius.com/tellius-5.4/embedding-tellius/embedding-url/embedding-vizpads/keep-remove-drill-sections.md).

# Keep, remove, drill sections

Learn how to edit sections of a chart in Vizpad.

On right click of any chart in a Vizpad, you will get three options:

* Keep (refers to maintaining a section)
* Remove (refers to removing a section)
* Drill (drilling down to get insights)

<figure><img src="https://files.helpdocs.io/6dnnwn52e3/articles/06jxyznka3/1673256195902/image.png" alt="Keep or remove filters" width="188"><figcaption><p>Keep, remove, and drill options</p></figcaption></figure>

### **Keeping a section of chart**

```javascript
telliusFrame.postMessage({
         actionType: "filterBySelection",
         vizId: vizId,
         selectionPointType: "single", // single or multiple
         values: value,
         filterType: "Keep",
         columns: columnName
       }, "*");
```

### **Removing a section of chart**

```javascript
telliusFrame.postMessage({
         actionType: "filterBySelection",
         vizId: vizId,
         selectionPointType: "single", // single or multiple
         values: value,
         filterType: "Remove",
         columns: columnName
       }, "*");
```

**selectionPointType** refers to single or multiple point selection with the filter on a particular data value or multiple data values respectively. The values can be either be “single” or “multiple”.

### **Drilling a Viz**

We can drill down a viz by:

1. Column Name
2. Hierarchy
3. Across another vizpad

<figure><img src="https://files.helpdocs.io/6dnnwn52e3/articles/06jxyznka3/1673256666136/image.png" alt="" width="375"><figcaption><p>Drilling a column</p></figcaption></figure>

### **Drill by column name**

```javascript
telliusFrame.postMessage({
    actionType: "drillByColumn",
    vizId: "0d4abe5e-0758-4bdd-a71c-14e5f9d9a2b0",
    drillByColumn: "Gender",
    filters: [{
        value: "Desktop",
        column: "Device_Type",
        operator: '='
    },
    {
        value: "Direct",
        column: "Source",
        operator: '='
    }]
}, "*");
```

### **Drill by hierarchy**

```javascript
telliusFrame.postMessage({
    actionType: "drillByHierarchy",
    vizId: "0d4abe5e-0758-4bdd-a71c-14e5f9d9a2b0",
    drillByColumns: ["county_name", "state_name"],
    filters: [{
        value: "Desktop",
        column: "Device_Type",
        operator: '='
    },
    {
        value: "Direct",
        column: "Source",
        operator: '='
    }]
}, "*");
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.tellius.com/tellius-5.4/embedding-tellius/embedding-url/embedding-vizpads/keep-remove-drill-sections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
