---
title: PERCENTILEX.INC – ฟังก์ชัน DAX
url: https://www.thepexcel.com/functions/dax/statistical/percentilex-inc-dax/
type: function-explainer
program: DAX
syntax: "PERCENTILEX.INC(<Table>, <Expression>, <K>)"
date: 2025-12-15
updated: 2025-12-17
scores:
  popularity: 4
  difficulty: 5
  usefulness: 4
---

# PERCENTILEX.INC – ฟังก์ชัน DAX

> คำนวณเปอร์เซนไทล์ของนิพจน์ (Inclusive method)

## คำอธิบาย

PERCENTILEX.INC คำนวณเปอร์เซนไทล์ของค่าที่คำนวณจากการประเมินนิพจน์ในแต่ละแถว โดยใช้วิธี Inclusive ซึ่งจะไม่นับรวมค่า BLANK ต่างจาก PERCENTILEX.EXC ที่รวม BLANK หากข้อมูลมีค่า BLANK มากจะส่งผลต่อผลลัพธ์ ใช้เพื่อหา Percentile Rank เช่น Top 25% ของลูกค้าตามยอดขาย

## Syntax

```excel
PERCENTILEX.INC(&lt;Table&gt;, &lt;Expression&gt;, &lt;K&gt;)
```

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| Table | Yes | table | ไม่มี | ตารางข้อมูลที่ต้องการคำนวณ |
| Expression | Yes | expression | ไม่มี | นิพจน์ที่ประเมินสำหรับแต่ละแถว |
| K | Yes | decimal (0-1) | ไม่มี | เปอร์เซนไทล์ที่ต้องการ (0.00 ถึง 1.00) |

## ตัวอย่าง

### 1. หา 25th Percentile (Q1)

```excel
PERCENTILEX.INC(Sales, Sales[Amount], 0.25)
```

**ผลลัพธ์:** `2500 (ตัวอย่าง)`

K=0.25 = First Quartile - 25% ของข้อมูลต่ำกว่า 2500

### 2. หา 90th Percentile

```excel
PERCENTILEX.INC(Sales, Sales[Quantity], 0.90)
```

**ผลลัพธ์:** `100 (ตัวอย่าง)`

K=0.90 = 90th percentile - 90% ของปริมาณ (Quantity) ต่ำกว่า 100 หรือเพียง 10% ขายน้อยกว่า

### 3. ใช้หา Top 25% ของลูกค้า

```excel
PERCENTILEX.INC(Customers, Customers[Total Sales], 0.75)
```

**ผลลัพธ์:** `50000 (ตัวอย่าง)`

ลูกค้า Top 25% (75th percentile) มียอดขายสูงกว่า 50000 ใช้เพื่อ Segment ลูกค้าตามมูลค่า

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

⭐ มาตรฐาน Percentile Method ใน Excel | 💡 ใช้หา Quartile, Decile | 🔗 สำหรับ Customer Segmentation

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

**Q: ควรใช้ EXC หรือ INC**

ถ้ามี BLANK ค่อนข้างมาก ใช้ INC มาตรฐาน ถ้า BLANK น้อยลงหรือสำคัญ ใช้ EXC ทั่วไปส่วนใหญ่ใช้ INC

**Q: K=0 หรือ K=1 ให้ผลอะไร**

K=0 ส่งค่าต่ำสุด, K=1 ส่งค่าสูงสุด ดังนั้นเป็น MIN() และ MAX()

**Q: ใช้ได้ใน Calculated Column ไหม**

ได้ แต่ต้องระวัง เพราะคำนวณจากทั้งตาราง อาจช้าถ้าตารางมีแถวเยอะ

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

- [PERCENTILEX.EXC – ฟังก์ชัน DAX](https://www.thepexcel.com/functions/dax/statistical/percentilex-exc-dax/)
- quartile-inc-dax
- median-dax

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

- [DAX.Guide: PERCENTILEX.INC](https://dax.guide/percentilex-inc/) _(documentation)_
- [Microsoft Learn](https://learn.microsoft.com/en-us/dax/function/percentilex-inc) _(documentation)_

---

_Source: [https://www.thepexcel.com/functions/dax/statistical/percentilex-inc-dax/](https://www.thepexcel.com/functions/dax/statistical/percentilex-inc-dax/)_
