| ฟังก์ชัน | ใช้ทำอะไร | มีตั้งแต่ | นิยม | ยาก | ประโยชน์ |
|---|---|---|---|---|---|
| Table.ReplacePartitionKey Table functions | Table.ReplacePartitionKey(table as table, partitionKey as nullable list) as table
Table.ReplacePartitionKey แทนที่ partition key ของตาราง ซึ่งเป็น metadata สำหรับการแบ่งพาร์ทิชันและการจัดการข้อมูลภายใน เอาไว้ควบคุมวิธีการแบ่งพาร์ทิชันของข้อมูลในตารางนั้น
|
5 | 4 | 6 | |
| Date.IsInCurrentYear Date functions | date_isincurrentyear(value as any) as any
Date.IsInCurrentYear ตรวจสอบว่าวันที่นั้นตรงกับปีปัจจุบันหรือไม่
|
5 | 2 | 5 | |
| AzureStorage.DataLake Accessing data functions | = AzureStorage.DataLake(endpoint as text, optional options as nullable record) as table
AzureStorage.DataLake ดึงข้อมูลจากเสถียร Azure Data Lake Storage (ADLS) โดยส่งคืนตารางนำทางของไฟล์ในระบบไฟล์
|
5 | 5 | 5 | |
| Duration.Seconds Duration functions | duration.seconds(value) as any
Duration.Seconds ใช้สำหรับการประมวลผลข้อมูล
|
5 | 2 | 5 | |
| Number.Factorial Number functions | number.factorial(value as any) as any
Number.Factorial ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
5 | 3 | 5 | |
| Int8.From Number functions | int8.from(value as any) as any
Int8.From แปลงค่าต่างๆ เป็นประเภท Int8 (8-bit integer) ที่มีช่วง -128 ถึง 127 ใช้สำหรับข้อมูลขนาดเล็กมากหรือเมื่อต้องการประหยัด memory สูงสุด
|
5 | 3 | 5 | |
| Tables.GetRelationships Table functions | Tables.GetRelationships(tables as table, optional dataColumn as nullable text) as table
Tables.GetRelationships ดึงข้อมูลความสัมพันธ์ (Relationships) ระหว่างตารางต่างๆ จาก Navigation Table เพื่อวิเคราะห์โครงสร้างข้อมูล
|
5 | 4 | 6 | |
| List.ReplaceValue List functions | List.ReplaceValue(list as list, oldValue as any, newValue as any, replacer as function) as list
แทนที่ค่าใน List
|
5 | 3 | 5 | |
| Value.Type Value functions | = Value.Type(value as any) as type
Value.Type คืนค่า Type ของข้อมูลที่กำหนด ช่วยตรวจสอบว่าเป็น number, text, date, table, list หรือชนิดอื่นๆ มีประโยชน์มากสำหรับ data validation และการเขียน dynamic functions
|
5 | 5 | 5 | |
| Web.Page Accessing data functions | web_page(value as any) as any
Web.Page ใช้สำหรับการประมวลผล
|
5 | 4 | 5 | |
| Pdf.Tables Accessing data functions | pdf_tables(value as any) as any
Pdf.Tables ใช้สำหรับการประมวลผล
|
5 | 4 | 5 | |
| Access.Database Accessing data functions | access_database(value as any) as any
Access.Database ใช้สำหรับการเชื่อมต่อกับไฟล์ฐานข้อมูล Microsoft Access (.mdb, .accdb) และดึงข้อมูลจากตาราต่างๆ
|
5 | 3 | 5 | |
| Number.Atan Number functions | number.atan(value as any) as any
Number.Atan ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| Number.Log10 Number functions | Number.Log10(number as number) as number
Number.Log10 คำนวณลอการิทึมฐาน 10 ของตัวเลข มีประโยชน์ในการวัดสเกลลอการิทึม เช่นสเกล pH และสเกล Richter
|
5 | 3 | 5 | |
| Table.PositionOf Table functions | Table.PositionOf(table as table, row as record, optional occurrence as nullable number, optional equationCriteria as any) as any
ค้นหาตำแหน่ง (Index) ของแถวในตาราง
|
5 | 4 | 5 | |
| Number.Tan Number functions | number.tan(value as any) as any
Number.Tan ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| List.RemoveNulls List functions | List.Removenulls(list as list) as list
List.RemoveNulls ลบค่า null ทั้งหมดจากรายการ ใช้สำหรับการทำความสะอาดข้อมูล การลบข้อมูลที่หายไป และการเตรียมข้อมูล
|
5 | 4 | 5 | |
| List.Skip List functions | List.Skip(list as list, count as number, optional countOrCondition as any) as list
List.Skip ข้ามสมาชิกจำนวน N ตัวแรกจากรายการและคืนส่วนที่เหลือ ฟังก์ชันนี้มีประโยชน์เมื่อต้องการลบแถวหัวตารางที่ไม่ต้องการ หรือข้ามข้อมูลบางส่วนจากจุดเริ่มต้น
|
5 | 4 | 5 | |
| Text.InferNumberType Text functions | Text.InferNumberType(text as text, optional culture as nullable text) as type
Text.InferNumberType ใช้สำหรับตรวจสอบว่าข้อความแสดงตัวเลขชนิดใด เช่น Int64, Double, Decimal หรือ Single เป็นประโยชน์สำหรับการแปลงข้อมูลโดยอัตโนมัติ
|
5 | 3 | 5 | |
| Character.FromNumber Text functions | Character.FromNumber(number as nullable number) as nullable text
Character.FromNumber ใช้สำหรับสร้างอักขระจากรหัส Unicode ที่กำหนด ฟังก์ชันนี้เป็นส่วนตรงข้ามของ Character.ToNumber และสามารถสร้างอักขระพิเศษ เช่น แท็บ อีโมจิ และสัญลักษณ์อื่นๆ
|
5 | 3 | 5 | |
| DateTimeZone.ToLocal DateTimeZone functions | DateTimeZone.ToLocal(dateTimeZone as nullable datetimezone) as nullable datetimezone
แปลงค่า DateTimeZone ไปเป็น Local Time ของเครื่องที่รัน Query
|
5 | 3 | 5 | |
| Text.Insert Text functions | Text.Insert(text as text, offset as number, newText as text) as text
แทรกข้อความเข้าไปในตำแหน่งที่กำหนด
|
5 | 3 | 5 | |
| AzureStorage.Blobs Accessing data functions | AzureStorage.Blobs(account as text, optional options as nullable record) as table
AzureStorage.Blobs ดึงรายชื่อของ blobs (ไฟล์) ที่มีอยู่ในคอนเทนเนอร์ Azure Storage และสร้างตารางนำทางเพื่อเข้าถึงไฟล์เหล่านั้น
|
5 | 5 | 5 | |
| Duration.Minutes Duration functions | duration.minutes(value) as any
Duration.Minutes ใช้สำหรับการประมวลผลข้อมูล
|
5 | 2 | 5 | |
| Number.Cosh Number functions | number.cosh(value as any) as any
Number.Cosh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
5 | 3 | 5 | |
| Int16.From Number functions | int16.from(value as any) as any
Int16.From แปลงค่าต่างๆ เป็นประเภท Int16 (16-bit integer) ที่มีช่วง -32768 ถึง 32767 ใช้สำหรับข้อมูล ID เล็กหรือเมื่อต้องการประหยัด memory
|
5 | 3 | 5 | |
| Table.WithErrorContext Table functions | = Table.WithErrorContext(value as any, context as text) as any
Table.WithErrorContext เป็นฟังก์ชันภายใน Power Query ที่ใช้เพิ่มข้อมูล context ให้กับค่า เพื่อให้ error messages มีความชัดเจนมากขึ้นเวลา debug
|
5 | 4 | 6 | |
| Record.FromTable Record functions | Record.FromTable(table as table) as record
Returns a record from a table containing field names and corresponding values | แปลงตารางที่มีชื่อฟิลด์และค่าเป็น Record
|
5 | 4 | 5 | |
| Record.HasFields Record functions | Record.HasFields(record as record, fields as any) as logical
ตรวจสอบว่า Record มี Field ที่ระบุหรือไม่
|
5 | 3 | 5 | |
| Text.TrimStart Text functions | Text.TrimStart(text as nullable text, optional trimChars as nullable list) as nullable text
Text.TrimStart จะลบช่องว่างหรืออักขระส่วนเกินที่อยู่ด้านซ้ายสุดของข้อความออก สามารถระบุ List ของอักขระที่ต้องการลบได้ ทำให้เป็นเครื่องมือที่มีประโยชน์ในการทำความสะอาดข้อมูลที่ Copy มาแล้วมี Space หรือสัญลักษณ์นำหน้าเกินมา
|
5 | 3 | 5 | |
| Oracle.Database Accessing data functions | oracle_database(value as any) as any
Oracle.Database ใช้สำหรับการประมวลผล
|
5 | 4 | 5 | |
| Number.Asin Number functions | number.asin(value as any) as any
Number.Asin ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| Number.Log Number functions | Number.Log(number as number, optional base as nullable number) as number
Number.Log คำนวณลอการิทึมธรรมชาติของตัวเลข (ลอการิทึมฐาน e) สามารถระบุฐานที่ต้องการได้ มีประโยชน์ในการคำนวณทางวิทยาศาสตร์และสถิติ
|
5 | 3 | 5 | |
| Table.TransformRows Table functions | Table.TransformRows(table as table, transform as function) as list
Table.TransformRows ใช้สำหรับประมวลผลแต่ละแถวของตารางด้วยฟังก์ชนที่กำหนด แล้วคืนผลลัพธ์กลับมาเป็น List (ไม่ใช่ Table)
|
5 | 6 | 6 | |
| Value.FromText Text functions | Value.FromText(text as any, optional culture as nullable text) as any
Value.FromText ใช้สำหรับแปลงข้อความเป็นค่าที่เหมาะสม สามารถแปลงเป็น number, logical, null, datetime, duration หรือ text ตามรูปแบบ
|
5 | 3 | 5 | |
| DateTimeZone.ToUtc DateTimeZone functions | DateTimeZone.ToUtc(dateTimeZone as nullable datetimezone) as nullable datetimezone
แปลงค่า DateTimeZone ไปเป็น UTC Time
|
5 | 3 | 5 | |
| List.AnyTrue List functions | List.AnyTrue(list as list) as logical
List.AnyTrue คืนค่า true หากมีเงื่อนไขอย่างน้อยหนึ่งข้อใน List เป็นจริง
|
5 | 4 | 5 | |
| Number.Sinh Number functions | number.sinh(value as any) as any
Number.Sinh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| List.Random List functions | List.Random(list as list) as list
List.Random สร้างรายการของตัวเลขสุ่มจำนวนที่ระบุ ใช้สำหรับการสุ่มตัวอย่าง การทดลอง และการสร้างข้อมูลทดสอบ
|
5 | 4 | 5 | |
| List.Range List functions | List.Range(list as list, offset as number, optional count as nullable number) as list
List.Range ดึงช่วงของสมาชิกจาก List โดยระบุตำแหน่งเริ่มต้น (offset) และจำนวนสมาชิกที่ต้องการดึง ฟังก์ชันนี้มีประโยชน์เมื่อต้องการดึงข้อมูลชุดย่อยจากตำแหน่งใดๆ ในรายการ
|
5 | 3 | 5 | |
| Text.FromBinary Text functions | Text.FromBinary(binary as nullable binary, optional encoding as nullable number) as nullable text
Text.FromBinary ใช้สำหรับแปลงค่า Binary เป็นข้อความ โดยใช้การเข้ารหัส UTF-8 เป็นค่าเริ่มต้น รองรับการเข้ารหัสอื่นๆ เช่น UTF-16 และ ASCII
|
5 | 3 | 5 | |
| List.LastN List functions | List.LastN(list as list, count as any) as any
List.LastN จะคืน List ใหม่ที่มีสมาชิก N ตัวสุดท้ายจาก List ต้นฉบับ สามารถระบุจำนวน N ด้วยตัวเลข หรือกำหนดเป็นฟังก์ชันเงื่อนไขเพื่อให้ดึงสมาชิกที่ตรงเงื่อนไขจากจุดสิ้นสุดย้อนกลับไปเรื่อยๆ จนกว่าเงื่อนไขจะไม่เป็นจริง
|
5 | 3 | 5 | |
| Table.Last Table functions | Table.Last(table as table, optional default as any) as any
Table.Last ใช้ดึงแถวสุดท้ายของตารางออกมาเป็น Record หรือคืนค่าเริ่มต้นถ้าตารางว่างเปล่า
|
5 | 4 | 6 | |
| Table.RemoveRows Table functions | Table.RemoveRows(table as table, offset as number, optional count as nullable number) as table
Table.RemoveRows ใช้สำหรับลบแถวออกจากตาราง โดยระบุตำแหน่งเริ่มต้นและจำนวนแถวที่ต้องการลบ
|
5 | 3 | 5 | |
| Duration.Hours Duration functions | duration.hours(value) as any
Duration.Hours ใช้สำหรับการประมวลผลข้อมูล
|
5 | 2 | 5 | |
| Number.Cos Number functions | number.cos(value as any) as any
Number.Cos ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
5 | 3 | 5 | |
| Currency.From Number functions | currency_from(value as any) as any
Currency.From แปลงค่าตัวเลขเป็นค่าสกุลเงิน (currency)
|
5 | 3 | 5 | |
| GroupKind.Type enumerations | GroupKind.Local or GroupKind.Global
ระบุประเภทการจัดกลุ่มใน Table.Group ว่าจะใช้ Local (จัดกลุ่มแถวติดต่อกัน) หรือ Global (รวบรวมแถวทั้งหมดที่มี key เดียวกัน) ใช้เพื่อปรับประสิทธิภาพและควบคุมวิธีการจัดกลุ่มข้อมูล
|
5 | 2 | 5 | |
| Record.FieldValues Record functions | Record.FieldValues(record as record) as list
คืนค่าข้อมูล (Values) ทั้งหมดจาก Record เป็น List
|
5 | 3 | 5 | |
| Comparer.OrdinalIgnoreCase Comparer functions | Comparer.OrdinalIgnoreCase(x as any, y as any) as number
Comparer.OrdinalIgnoreCase เป็นฟังก์ชันที่คืนค่าเป็น 'Function' ซึ่งใช้ในการเปรียบเทียบค่า 2 ค่า โดยจะถือว่า "A" และ "a" เท่ากัน (return 0) ใช้เป็น Argument สุดท้ายในหลายๆ ฟังก์ชัน เช่น List.Contains, Text.Contains, Table.Distinct
|
5 | 3 | 5 |
ชื่อฟังก์ชันเป็นภาษาอังกฤษเสมอ ลองสะกดอีกแบบ หรือกด Enter เพื่อค้นในคำอธิบายด้วย