| ฟังก์ชัน | ใช้ทำอะไร | มีตั้งแต่ | นิยม | ยาก | ประโยชน์ |
|---|---|---|---|---|---|
| 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 | |
| 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 | |
| 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 | |
| Record.TransformFields Record functions | Record.TransformFields(record as record, transformOperations as list, optional missingField as nullable number) as record
Record.TransformFields แปลงค่าในฟิลด์ที่ระบุของเรคอร์ดโดยใช้ฟังก์ชันแปลงค่า สามารถแปลงฟิลด์เดียวหรือหลายฟิลด์พร้อมกันได้ เหมาะสำหรับการทำความสะอาดข้อมูลและการแปลงประเภทข้อมูล
|
5 | 5 | 5 | |
| Text.TrimEnd Text functions | Text.TrimEnd(text as nullable text, optional trimChars as nullable list) as nullable text
Text.TrimEnd จะลบช่องว่างหรืออักขระส่วนเกินที่อยู่ด้านขวาสุดของข้อความออก สามารถระบุ List ของอักขระที่ต้องการลบได้ เป็นเครื่องมือที่ดีในการทำความสะอาดข้อมูลที่ Copy มาแล้วมี Space หรือสัญลักษณ์ต่อท้ายเกินมา
|
5 | 3 | 5 | |
| Number.Acos Number functions | number.acos(value as any) as any
Number.Acos ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| Text.ToBinary Text functions | Text.ToBinary(text as nullable text, optional encoding as nullable number, optional includeByteOrderMark as nullable logical) as nullable binary
Text.ToBinary ใช้สำหรับแปลงข้อความเป็นค่า Binary โดยใช้การเข้ารหัส UTF-8 เป็นค่าเริ่มต้น รองรับการเข้ารหัส UTF-16 และ ASCII
|
5 | 3 | 5 | |
| List.IsEmpty List functions | List.IsEmpty(list as list) as logical
List.IsEmpty ตรวจสอบว่ารายการไม่มีข้อมูลเลย คืนค่า true หากรายการว่าง false หากมีข้อมูล
|
5 | 4 | 5 | |
| Date.EndOfWeek Date functions | Date.EndOfWeek(dateTime as any, optional firstDayOfWeek as nullable number) as any
คืนค่าวันสุดท้ายของสัปดาห์
|
5 | 2 | 5 | |
| List.Intersect List functions | List.Intersect(lists as list, optional equationCriteria as any) as list
หาสมาชิกที่มีอยู่ร่วมกันในทุก List (Set Intersection)
|
5 | 3 | 5 | |
| List.Alternate List functions | List.Alternate(list as list, count as number, optional repeatInterval as nullable number, optional offset as nullable number) as list
List.Alternate ใช้สร้าง List ใหม่โดยการสลับระหว่างการข้าม (Skip) และการเก็บ (Take) สมาชิกจาก List ต้นฉบับ สามารถกำหนดจำนวนที่จะข้าม จำนวนที่จะเก็บ และจุดเริ่มต้นได้
|
5 | 4 | 5 | |
| Binary.FromText Binary functions | = Binary.FromText(text, encoding)
Binary.FromText แปลงสตริงข้อความเป็นข้อมูลไบนารี่ที่สามารถใช้กับการเข้ารหัส Base64 หรือ Hex ได้
|
5 | 4 | 5 | |
| Error.Record Error handling | = Error.Record(reason as text, optional message as nullable text, optional detail as any, optional parameters as nullable list, optional errorCode as nullable text) as record
Error.Record สร้างระเบียนข้อผิดพลาดที่มีข้อมูลโครงสร้าง ด้วย reason, message, detail และ errorCode เพื่อให้การจัดการข้อผิดพลาดละเอียดขึ้น
|
5 | 4 | 6 | |
| Number.Sin Number functions | number.sin(value as any) as any
Number.Sin ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| List.Positions List functions | List.Positions(list as list) as list
List.Positions หารายการของตำแหน่งทั้งหมดของค่าที่ระบุในรายการ ใช้สำหรับการค้นหาและการกำหนดตำแหน่งข้อมูล
|
5 | 4 | 5 | |
| Table.ColumnNames Table functions | = Table.ColumnNames(table as table) as list
Table.ColumnNames ดึงชื่อคอลัมน์ทั้งหมดจากตารางและคืนค่าเป็นลิสต์ของข้อความ เหมาะสำหรับการทำงานแบบไดนามิกกับโครงสร้างตารางที่ไม่แน่นอน
|
5 | 4 | 6 | |
| List.Union List functions | List.Union(lists as list, optional equationCriteria as any) as list
รวม List โดยตัดตัวซ้ำออก (Set Union)
|
5 | 3 | 5 | |
| Table.IsEmpty Table functions | Table.IsEmpty(table as table) as logical
Table.IsEmpty ใช้สำหรับตรวจสอบว่าตารางไม่มีข้อมูล (ไม่มีแถว) ใช่หรือไม่ คืนค่า true หากตารางว่าง false หากมีข้อมูลอย่างน้อย 1 แถว
|
5 | 4 | 6 | |
| Time.ToText Time functions | time_totext(value as any) as any
Time.ToText ใช้สำหรับการประมวลผล
|
5 | 3 | 5 | |
| Date.IsInCurrentMonth Date functions | date_isincurrentmonth(value as any) as any
Date.IsInCurrentMonth ตรวจสอบว่าวันที่นั้นตรงกับเดือนปัจจุบันหรือไม่
|
5 | 2 | 5 | |
| Number.Combinations Number functions | number.combinations(value as any) as any
Number.Combinations ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
5 | 3 | 5 | |
| Int64.From Number functions | Int64.From(value as any, optional culture as nullable text) as nullable number
Int64.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) เป็นประเภทข้อมูล Int64 ซึ่งเป็นจำนวนเต็ม 64-bit ที่มีช่วงค่าตั้งแต่ -9223372036854775808 ถึง 9223372036854775807 ใช้สำหรับตัวเลขที่ใหญ่เกินไปสำหรับ Int32 เช่น timestamp ตัวเลข ID ขนาดใหญ่
|
5 | 3 | 5 | |
| List.RemoveItems List functions | List.RemoveItems(list as list, removeItems as list) as list
List.RemoveItems จะคืน List ใหม่ที่ไม่มีสมาชิกที่ตรงกับสมาชิกใน removeItems List โดยการเปรียบเทียบจะเป็นแบบ Case Sensitive และตรงกันทุกประการ (Ordinal Comparison)
|
5 | 3 | 5 | |
| Record.RenameFields Record functions | Record.RenameFields(record as record, renames as list, optional missingField as nullable number) as record
Returns a record after renaming specified fields | เปลี่ยนชื่อฟิลด์ที่ระบุใน Record
|
5 | 3 | 5 | |
| Table.ToColumns Table functions | = Table.ToColumns(table as table) as list
Table.ToColumns แปลงตาราง (Table) ให้เป็น List ของ List โดยแต่ละ List ย่อยแทนข้อมูลจากคอลัมน์เดียว เรียงตามลำดับคอลัมน์จากซ้ายไปขวา ส่วนกลับกันของ Table.FromColumns
|
5 | 4 | 6 | |
| Splitter.SplitTextByWhitespace Splitter functions | splitter_splittextbywhitespace(value as any) as any
Splitter.SplitTextByWhitespace ใช้สำหรับการประมวลผล
|
5 | 3 | 5 | |
| OleDb.DataSource Accessing data functions | = OleDb.DataSource(connectionString as any, [options as nullable record]) as table
OleDb.DataSource ใช้สำหรับเชื่อมต่อกับฐานข้อมูล OLE DB (SQL Server, Access, MySQL ผ่าน ODBC เป็นต้น) และนำเข้าตารางหรือแสดงผลจากคำสั่ง SQL
|
5 | 5 | 5 | |
| List.TransformMany List functions | list.transformmany(value as any) as any
List.TransformMany ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 4 | 5 | |
| List.IsDistinct List functions | List.IsDistinct(list as list, optional equationCriteria as any) as logical
List.IsDistinct ตรวจสอบว่า List มีค่าซ้ำหรือไม่ คืนค่า true ถ้าไม่มีตัวซ้ำเลย
|
5 | 4 | 5 | |
| List.FindText List functions | List.FindText(list as list, text as text) as list
List.FindText ค้นหาสมาชิกในรายการที่มีข้อความย่อยที่กำหนด เหมาะเมื่อต้องการกรองข้อมูลไม่ใช่แค่ตรงแม่นทั้งคำ แต่ต้องการค้นหาแบบบางส่วนก็ได้
|
5 | 4 | 5 | |
| Number.Power Number functions | Number.Power(number as nullable number, power as nullable number) as nullable number
คำนวณเลขยกกำลัง
|
5 | 3 | 5 | |
| Table.FromList Table functions | = Table.FromList(list as list, optional splitter as nullable function, optional columns as any, optional default as any, optional extraValues as nullable number) as table
แปลง List เป็น Table โดยใช้ฟังก์ชัน Splitter เพื่อแยกข้อมูลเป็นคอลัมน์
|
5 | 4 | 6 | |
| Number.RoundTowardZero Number functions | number.roundtowardzero(value as any) as any
Number.RoundTowardZero ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| Text.At Text functions | Text.At(text as nullable text, index as number) as nullable text
Text.At ใช้สำหรับดึงอักขระตัวเดียวที่ตำแหน่งที่ระบุในข้อความ โดยใช้การนับ zero-based index ที่ตำแหน่ง 0 คือตัวแรก ตำแหน่ง 1 คือตัวที่สอง เป็นต้น
|
5 | 3 | 5 | |
| Duration.From Duration functions | duration.from(value) as any
Duration.From ใช้สำหรับการประมวลผลข้อมูล
|
5 | 3 | 5 | |
| Number.BitwiseXor Number functions | number.bitwisexor(value as any) as any
Number.BitwiseXor ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
5 | 3 | 5 | |
| Int32.From Number functions | Int32.From(value as any, optional culture as nullable text) as nullable number
Int32.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) เป็นประเภทข้อมูล Int32 ซึ่งเป็นจำนวนเต็ม 32-bit ที่มีช่วงค่า -2147483648 ถึง 2147483647 ใช้สำหรับการทำงานกับระบบที่ต้องการ 32-bit integer API ที่ต้องข้อมูลในรูปแบบนี้ และการคำนวณที่ต้องความแม่นยำของจำนวนเต็ม
|
5 | 3 | 5 | |
| Day.Type enumerations | Day.Sunday | Day.Monday | Day.Tuesday | Day.Wednesday | Day.Thursday | Day.Friday | Day.Saturday
Enumeration type ที่แทนค่าวันในสัปดาห์ (0-6) สำหรับใช้กับฟังก์ชันหรือการเปรียบเทียบในการจัดการข้อมูลตามวัน
|
5 | 1 | 5 |
ชื่อฟังก์ชันเป็นภาษาอังกฤษเสมอ ลองสะกดอีกแบบ หรือกด Enter เพื่อค้นในคำอธิบายด้วย