---
title: List.Modes – หาค่าที่ปรากฏบ่อยที่สุดทั้งหมด
url: https://www.thepexcel.com/functions/power-query/list-functions/list-modes/
type: function-explainer
program: Power Query
syntax: list.modes(value as any) as any
date: 2025-12-12
updated: 2025-12-17
scores:
  popularity: 5
  difficulty: 4
  usefulness: 5
---

# List.Modes – หาค่าที่ปรากฏบ่อยที่สุดทั้งหมด

> หาค่าที่ปรากฏบ่อยที่สุดทั้งหมด

## คำอธิบาย

List.Modes หารายการของค่าทั้งหมดที่ปรากฏบ่อยที่สุดในรายการ หากมีหลายค่าที่เกิดขึ้นจำนวนครั้งเท่ากัน จะคืนค่าทั้งหมด

## Syntax

```excel
list.modes(value as any) as any
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| value | Yes | any |  | ค่าหรือรายการที่ต้องการประมวลผล |

## ตัวอย่าง

### 1. ตัวอย่างที่ 1: ใช้งานพื้นฐาน

```excel
list.modes({1, 2, 3})
```

**ผลลัพธ์:** `ผลลัพธ์`

สูตรนี้ใช้ฟังก์ชันกับรายการอย่างง่าย

### 2. ตัวอย่างที่ 2: ใช้กับข้อมูลจริง

```excel
list.modes(SourceData)
```

**ผลลัพธ์:** `ผลลัพธ์จากข้อมูล`

สูตรนี้ใช้ฟังก์ชันกับข้อมูลจากแหล่งข้อมูลภายนอก

### 3. ตัวอย่างที่ 3: ใช้ในสูตรที่ซับซ้อน

```excel
let Data = {...}, Result = list.modes(Data) in Result
```

**ผลลัพธ์:** `ผลลัพธ์สุดท้าย`

สูตรนี้ใช้ฟังก์ชันภายในโครงสร้าง let-in

## หมายเหตุเพิ่มเติม

⚠️ สูตรนี้ใช้สำหรับการประมวลผลข้อมูล กรุณาอ่านเอกสารอย่างละเอียด

## คำถามที่พบบ่อย

**Q: ฟังก์ชันนี้ใช้ทำไม**

ใช้สำหรับ: การประมวลผลข้อมูล

**Q: สามารถใช้กับอาร์กิวเมนต์อื่นได้หรือไม่**

ได้ ฟังก์ชันนี้ยืดหยุ่นและสามารถใช้กับประเภทข้อมูลต่างๆ

## ฟังก์ชันที่เกี่ยวข้อง

- [List.Select – เลือกสมาชิกจาก List ตามเงื่อนไข](https://www.thepexcel.com/functions/power-query/list-functions/list-select/)
- [List.Transform – แปลงค่าในลิสต์แต่ละตัว](https://www.thepexcel.com/functions/power-query/list-functions/list-transform/)

## แหล่งข้อมูลเพิ่มเติม

- [Microsoft Learn: list.modes](https://learn.microsoft.com/en-us/powerquery-m/list-modes) _(documentation)_

---

_Source: [https://www.thepexcel.com/functions/power-query/list-functions/list-modes/](https://www.thepexcel.com/functions/power-query/list-functions/list-modes/)_
