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

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

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

## คำอธิบาย

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

## Syntax

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

## Arguments

| Name | Required | Type | Default | Description |
| --- | --- | --- | --- | --- |
| Table | Yes | table | ไม่มี | ตารางข้อมูลที่ต้องการคำนวณ |
| Expression | Yes | expression | ไม่มี | นิพจน์ที่ประเมินสำหรับแต่ละแถว เช่น [Sales Amount], [Quantity] * [Price] |
| K | Yes | decimal (0-1) | ไม่มี | เปอร์เซนไทล์ที่ต้องการ (0.00 ถึง 1.00) เช่น 0.5 = 50th percentile, 0.75 = 75th percentile |

## ตัวอย่าง

### 1. หา 50th Percentile (Median)

```excel
PERCENTILEX.EXC(Sales, Sales[Amount], 0.5)
```

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

K=0.5 หมายถึง 50th percentile ซึ่งคือค่ากลาง (Median) - 50% ของข้อมูลต่ำกว่า 5000 และ 50% สูงกว่า

### 2. หา 75th Percentile

```excel
PERCENTILEX.EXC(Sales, Sales[Quantity] * Sales[Price], 0.75)
```

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

K=0.75 หมายถึง 75th percentile - 75% ของการคำนวณ (Quantity * Price) ต่ำกว่าค่านี้

### 3. เปรียบเทียบ EXC และ INC เมื่อมี BLANK

```excel
PERCENTILEX.EXC(Sales, [Amount], 0.5) vs PERCENTILEX.INC(Sales, [Amount], 0.5)
```

**ผลลัพธ์:** `EXC = 5200, INC = 5000 (ถ้ามี BLANK)`

EXC รวม BLANK ในการคำนวณ INC ละเว้น BLANK ดังนั้น EXC มักให้ค่าสูงกว่า INC

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

⭐ สำหรับการวิเคราะห์การกระจายข้อมูล | 💡 ใช้หา Quartiles, Deciles | 🔗 เกี่ยวข้องกับ Statistical Analysis

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

**Q: PERCENTILEX.EXC vs PERCENTILEX.INC ต่างกันอย่างไร**

EXC = Exclusive (รวม BLANK), INC = Inclusive (ไม่รวม BLANK) หากข้อมูลไม่มี BLANK จะให้ผลใกล้เคียงกัน แต่ถ้ามี BLANK จะแตกต่างกัน

**Q: K ต้องเป็นค่า 0-1 ใช่ไหม**

ใช่ K=0 คือ 0th percentile (ค่าต่ำสุด), K=0.5 คือ 50th (median), K=1 คือ 100th (สูงสุด)

**Q: ใช้สำหรับอะไร**

ใช้หาตำแหน่งค่าในการกระจายข้อมูล เช่น ลูกค้า 75% ซื้อน้อยกว่า 5000 บาท หรือหาค่า Outliers

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

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

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

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

---

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