| ฟังก์ชัน | ใช้ทำอะไร | มีตั้งแต่ | นิยม | ยาก | ประโยชน์ |
|---|---|---|---|---|---|
| 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 | |
| Date.StartOfWeek Date functions | Date.StartOfWeek(dateTime as any, optional firstDayOfWeek as nullable number) as any
คืนค่าวันแรกของสัปดาห์
|
5 | 2 | 5 | |
| Text.ToList Text functions | Text.ToList(text as text) as list
Text.ToList จะแยกข้อความหลักออกเป็น List ของ Text String โดยแต่ละสมาชิกใน List จะเป็นตัวอักษร 1 ตัว (รวมถึงช่องว่างและอักขระพิเศษ) ตามลำดับที่ปรากฏในข้อความต้นฉบับ
|
5 | 3 | 5 | |
| Odbc.Query Accessing data functions | Odbc.Query(connectionString as any, query as text, optional options as nullable record) as table
Odbc.Query ใช้สำหรับดำเนินการคำสั่ง SQL โดยตรงต่อฐานข้อมูล ODBC ใดๆ เช่น SQL Server, MySQL, PostgreSQL, Oracle และส่งคืนผลลัพธ์เป็นตาราง
|
5 | 5 | 5 | |
| Text.SplitAny Text functions | Text.SplitAny(text as text, separators as text) as list
Text.SplitAny ใช้สำหรับแยกข้อความด้วยอักขระใดๆ ในรายการ แตกต่างจาก Text.Split ที่ใช้สตริงตัวคั่นเดียว
|
5 | 3 | 5 | |
| Date.DaysInMonth Date functions | Date.DaysInMonth(dateTime as any) as nullable number
คืนค่าจำนวนวันในเดือนของวันที่กำหนด
|
5 | 2 | 5 | |
| List.ContainsAny List functions | List.ContainsAny(list as list, values as list, optional equationCriteria as any) as logical
List.ContainsAny คืนค่า true ถ้า List หลักมีสมาชิกอย่างน้อยหนึ่งตัวจาก List ที่สอง
|
5 | 3 | 5 | |
| Table.Buffer Table functions | Table.Buffer(table as table, optional options as nullable record) as table
โหลดตารางเข้าสู่หน่วยความจำ (RAM) เพื่อแยกข้อมูลจากแหล่งเดิมและป้องกันไม่ให้ Query Folding ดึงข้อมูลใหม่
|
5 | 4 | 6 | |
| Number.RoundAwayFromZero Number functions | number.roundawayfromzero(value as any) as any
Number.RoundAwayFromZero ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| List.RemoveFirstN List functions | list.removefirstn(value as any) as any
List.RemoveFirstN ลบจำนวน N รายการแรกจากรายการข้อมูล ใช้สำหรับการสุ่มตัวอย่าง การแยกข้อมูล และการตัดหัวข้อของรายการ
|
5 | 3 | 5 | |
| Json.FromValue Text functions | Json.FromValue(value as any, optional encoding as nullable number) as binary
Json.FromValue ใช้สำหรับแปลงค่าใดๆ เป็นข้อความ JSON สามารถแปลง record, list, number, logical, null และข้อความได้
|
5 | 3 | 5 | |
| Text.PadStart Text functions | Text.PadStart(text as nullable text, count as number, optional character as nullable text) as nullable text
Text.PadStart จะเพิ่มอักขระที่ระบุ (เช่น '0' หรือ '-') เข้าไปด้านหน้าของข้อความ จนกว่าความยาวของข้อความนั้นจะถึงจำนวนหลักที่ต้องการ ใช้ในการจัดรูปแบบข้อมูลให้สม่ำเสมอ หรือนำไปใช้กับ Sort ได้อย่างถูกต้อง
|
5 | 3 | 5 | |
| Number.BitwiseShiftRight Number functions | number.bitwiseshiftright(value as any) as any
Number.BitwiseShiftRight ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
5 | 3 | 5 | |
| Double.From Number functions | Double.From(value as any, optional culture as nullable text) as nullable number
Double.From แปลงค่าต่างๆ เช่น ตัวเลข (number) ข้อความ (text) เป็นประเภทข้อมูล double ประเภท double เป็นตัวเลข floating-point ที่มีความเที่ยงตรงสูงกว่า single ใช้สำหรับการคำนวณทางวิทยาศาสตร์ การวิเคราะห์ข้อมูล และการประมวลผลตัวเลขที่มีขนาดใหญ่
|
5 | 3 | 5 | |
| Table.Split Table functions | Table.Split(table as table, pageSize as number) as list
แบ่งตารางออกเป็นรายการของตารางย่อยตามจำนวนแถวที่กำหนด เหมาะสำหรับ Pagination และ Batch Processing
|
5 | 4 | 6 | |
| Number.Random Number functions | Number.Random() as number
สุ่มตัวเลขระหว่าง 0 ถึง 1
|
5 | 3 | 5 | |
| Table.FromRows Table functions | Table.FromRows(rows as list, optional columns as any) as table
Table.FromRows สร้างตารางจาก List ของ List โดยแต่ละ List ย่อยแทนข้อมูลในแถวหนึ่ง คล้ายกับการ transpose ข้อมูลแบบแถว-คอลัมน์ แต่ทำให้เป็นตารางจริงในทันที
|
5 | 4 | 6 | |
| Table.ToRows Table functions | Table.ToRows(table as table) as list
Table.ToRows แปลงตารางให้เป็น List ของ List โดยแต่ละ List ย่อยแทนข้อมูล 1 แถว ไม่มีชื่อคอลัมน์ เหมาะสำหรับส่งออกข้อมูลเป็น JSON/CSV หรือประมวลผลแถวโดยไม่สนใจชื่อฟิลด์
|
5 | 4 | 6 |
ชื่อฟังก์ชันเป็นภาษาอังกฤษเสมอ ลองสะกดอีกแบบ หรือกด Enter เพื่อค้นในคำอธิบายด้วย