> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/coreway-table/dashboard/custom-page/filter.md).

# 篩選器

### 1. 組件介紹

篩選器可以對已有的統計圖表或視圖進行二次篩選，根據配置的篩選器，可以統一、直接地篩選出符合條件的數據。

![篩選器示例](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FuUqtp5RG2qzRj5jRUniM%2Ffilter-1.png?alt=media)

### 2. 如何添加篩選器

#### 2.1 進入自定義頁面的編輯頁面

![進入編輯頁面](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2F1Wj7OZpwJ7AeDJtp1bhO%2Ffilter-2.png?alt=media)

#### 2.2 添加一個篩選器

![添加篩選器](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FIICX2ozZUDiA7xEPlvQd%2Ffilter-3.png?alt=media)

#### 2.3 選擇需要添加的圖表或視圖

可配置：啟用篩選按鈕、排序、篩選器名稱、篩選對象、篩選欄位、篩選時間、預設值。

例如：添加名稱維度篩選控件，點擊後所有指定的圖表按配置的名稱篩選，統一呈現符合篩選條件的記錄數據。

* 設置組件名稱：商品品類
* 篩選對象：圖表選擇【商品採購數量】
* 篩選欄位：名稱

![篩選器配置](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FqZa3wY0c7LRYOJCFWd68%2Ffilter-4.png?alt=media)

#### 2.4 保存

配置完以上選項之後，點擊保存，即可在自定義頁面看到篩選器，點擊即可進行篩選查詢。

![保存並使用篩選器](https://273888574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9WI4IMScYYFwRQSZY8Zr%2Fuploads%2FTbuNkhH9HnQNE6Wor2A4%2Ffilter-5.png?alt=media)

啟用篩選按鈕後，在自定義頁面使用篩選器時，需二次點擊查詢按鈕，才會顯示符合條件的數據；如果不開啟，則篩選數據實時顯示。


---

# 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://docs.coreway.com/coreway-table/dashboard/custom-page/filter.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.
