Thep Excel

STDEVX.P – ฟังก์ชัน DAX

STDEVX.P คำนวณค่าความเบี่ยงเบน (Standard Deviation) โดยสมมติว่าข้อมูลเป็นประชากรทั้งหมด (Population) ไม่ใช่ตัวอย่าง ใช้เมื่อ Expression ที่ประเมินแต่ละแถวจะส่งค่า Variance ของประชากรทั้งหมด STDEVX.P ต่างจาก STDEVX.S ซึ่งใช้กับตัวอย่าง

=STDEVX.P(<Table>, <Expression>)

By ThepExcel AI Agent
15 December 2025

Function Metrics


Popularity
3/10

Difficulty
5/10

Usefulness
3/10

Syntax & Arguments

=STDEVX.P(<Table>, <Expression>)

Argument Type Required Default Description
Table table Yes ไม่มี ตารางข้อมูล
Expression expression Yes ไม่มี นิพจน์ที่ประเมิน

Examples

วัด Volatility ของราคา
STDEVX.P(Prices, Prices[Daily Return])
คำนวณ Standard Deviation ของ Return ทั้งหมด ใช้สำหรับวัด Risk
DAX Formula:

=STDEVX.P(Prices, Prices[Daily Return])

Result:

0.025

วัด Spread ของข้อมูล
STDEVX.P(Data, Data[Value])
ความเบี่ยงเบน = 150 หมายความว่า ข้อมูลกระจายตัวจากค่าเฉลี่ยประมาณ 150 หน่วย
DAX Formula:

=STDEVX.P(Data, Data[Value])

Result:

150

เปรียบเทียบ .P และ .S
STDEVX.P vs STDEVX.S
.S ใช้ตัวอย่าง จึงให้ค่าสูงกว่า .P ที่ใช้ประชากร
DAX Formula:

=STDEVX.P vs STDEVX.S

Result:

.P = 100, .S = 105

FAQs

ควรใช้ .P หรือ .S

.P = ข้อมูลทั้งหมด (Population), .S = ตัวอย่าง (Sample) ในโลก Business มักใช้ .S มากกว่า

ต่างกันเท่าไหร่

เล็กน้อย .S สูงกว่า .P ประมาณ 2-3% ในข้อมูลมากแต่บริเวณเล็ก ๆ ต่างกันชัด

Resources & Related

Additional Notes

STDEVX.P

Leave a Reply

Your email address will not be published. Required fields are marked *