# 필터 조건(filter)

필터 조건(filter)은 데이터나 목록에서 특정 조건을 만족하는 항목만 선택하거나 추출해요.

예를 들어, 유저 목록에서 나이가 30세 이상인 유저를 필터링하여 따로 보여줄 수 있어요.

필터링은 원하는 정보를 빠르게 찾을 수 있도록 도와주는 중요한 역할을 해요.

**체인 필터 조건(filter)은 언제 사용하나요?**

* 커스텀 화면에서 어떤 값이 수정됨에 따라 리스트바이메타로 불러온 목록의 필터 조건을 변경할 때 사용해요.

**체인 필터 조건(filter)의 특징은 무엇인가요?**

* 단일 항목 선택, 드롭다운 선택, 단건 관계, 예약 설정 레고가 편집 모드일 때 사용 가능해요.
* 체인의 필터 조건 항목이 리스트바이메타 목록의 필터 조건 항목과 동일한 경우, 체인의 필터 조건으로 대체돼요.

***

**사용 예시**

* 커스텀 화면에서 드롭다운 선택 값(지역)이 수정 됨에 따라 리스트바이메타(커뮤니티 글)에 해당하는 결과만 표시했어요.

<figure><img src="/files/VxarKzbXLnySwS65VXD4" alt=""><figcaption><p>'지역별 필터 및 검색 헤더' 패키지를 적용한 앱 화면</p></figcaption></figure>

<div><figure><img src="/files/dXduk5jzCi1mgclnAiY4" alt=""><figcaption><p>단일 항목 선택 블록에 추가한 체인 Send</p></figcaption></figure> <figure><img src="/files/wom8sr6Vn83oQ2w822vI" alt=""><figcaption><p>리스트바이메타 블록에 추가한 체인 Receive</p></figcaption></figure></div>

2023.09.21 Nana


---

# Agent Instructions: 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:

```
GET https://docs.ohmyapp.io/main/guide/develop_app/command-execute-function/chain/filter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
