| ฟังก์ชัน | ใช้ทำอะไร | มีตั้งแต่ | นิยม | ยาก | ประโยชน์ |
|---|---|---|---|---|---|
| AdoDotNet.DataSource Accessing data functions | adodotnet_datasource(value as any) as any
AdoDotNet.DataSource สร้างการเชื่อมต่อ ADO.NET ไปยังฐานข้อมูล SQL Server หรือแหล่งข้อมูล OLE DB อื่นๆ
|
4 | 5 | 4 | |
| Diagnostics.Trace Error handling | Diagnostics.Trace(traceLevel as number, message as anynonnull, value as any, [delayed as nullable logical]) as any
Diagnostics.Trace เขียนข้อความติดตาม (trace message) เพื่อใช้ในการแก้ไขจุดบกพร่องและตรวจสอบค่าข้อมูลในขั้นตอนต่างๆ โดยคืนค่าเดิมกลับไปยังถัดไป
|
4 | 5 | 5 | |
| Compression.Type enumerations | {{ Compression.[Type] }}
Compression.Type เป็น enumeration ใน Power Query ที่ช่วยกำหนดประเภทการบีบอัดข้อมูล เช่น GZip, Deflate, Snappy, Brotli, LZ4, Zstandard เมื่อทำงานกับ Binary.Compress หรือ Binary.Decompress
|
4 | 2 | 4 | |
| Function.Invoke Function values | = Function.Invoke(function as function, args as list) as any
Function.Invoke เรียกใช้ฟังก์ชันโดยส่งรายการอาร์กิวเมนต์เป็นพารามิเตอร์ ใช้สำหรับการเรียกฟังก์ชันแบบไดนามิก
|
4 | 7 | 5 | |
| Expression.Evaluate Expression functions | Expression.Evaluate(document as text, optional environment as nullable record) as any
Expression.Evaluate ใช้สำหรับประเมินผลนิพจน์ M ที่เก็บไว้เป็นข้อความ โดยสามารถระบุตัวแปรและฟังก์ชันที่ใช้ได้ในสภาพแวดล้อม ทำให้สามารถเขียนโค้ด M แบบไดนามิก
|
4 | 9 | 6 | |
| Text.RemoveRange Text functions | Text.RemoveRange(text as nullable text, offset as number, optional count as nullable number) as nullable text
Text.RemoveRange ใช้สำหรับลบอักขระจำนวนที่ระบุตั้งแต่ตำแหน่งที่กำหนด ค่าเริ่มต้นจะลบ 1 อักขระหากไม่ระบุจำนวน
|
4 | 3 | 4 | |
| Splitter.SplitByNothing Splitter functions | splitter_splitbynothing(value as any) as any
Splitter.SplitByNothing ใช้สำหรับการประมวลผล
|
4 | 3 | 4 | |
| List.Reverse List functions | List.Reverse(list as list) as list
List.Reverse จะคืน List ใหม่ที่สมาชิกทั้งหมดเรียงลำดับแบบกลับกันจาก List ต้นฉบับ โดยที่สมาชิกแต่ละตัวจะยังคงเดิม แต่ตำแหน่งจะเปลี่ยนไป
|
4 | 2 | 4 | |
| Replacer.ReplaceText Replacer functions | replacer_replacetext(value as any) as any
Replacer.ReplaceText ใช้สำหรับการประมวลผล
|
4 | 3 | 4 | |
| Number.Sqrt Number functions | Number.Sqrt(number as nullable number) as nullable number
หารากที่สอง (Square Root)
|
4 | 3 | 4 | |
| Text.Repeat Text functions | Text.Repeat(text as nullable text, count as number) as nullable text
ทำซ้ำข้อความตามจำนวนครั้งที่ระบุ
|
4 | 2 | 4 | |
| List.AllTrue List functions | List.AllTrue(list as list) as logical
List.AllTrue คืนค่า true หากทุกเงื่อนไขใน List เป็นจริงทั้งหมด
|
4 | 3 | 4 | |
| Number.IsOdd Number functions | number.isodd(value as any) as any
Number.IsOdd ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
4 | 2 | 4 | |
| Date.AddQuarters Date functions | Date.AddQuarters(dateTime as any, numberOfQuarters as number) as any
Date.AddQuarters เพิ่มจำนวนไตรมาส (ไตรมาส = 3 เดือน) ให้กับค่า date datetime หรือ datetimezone ที่กำหนด คืนค่าเดียวกันกับประเภทข้อมูลอินพุต ฟังก์ชันนี้มีประโยชน์สำหรับการวิเคราะห์ข้อมูลทางการเงินตามไตรมาส และการวางแผนการจัดการเชิงกลยุทธ์
|
4 | 3 | 5 | |
| Binary.Length Binary functions | Binary.Length(binary as nullable binary) as nullable number
Binary.Length ตรวจสอบและคืนค่าจำนวน Bytes ในค่า Binary เป็นตัวเลข เช่น Binary ที่มี 5 Bytes จะคืนค่า 5
|
4 | 3 | 4 | |
| List.Durations List functions | List.Durations(start as duration, count as number, step as duration) as list
List.Durations คืน List ของค่า Duration โดยเริ่มจากค่าเริ่มต้น เพิ่มทีละช่วงเวลา (duration) ตามจำนวนครั้งที่ระบุ
|
4 | 3 | 4 | |
| Table.Partition Table functions | Table.Partition(table as table, column as text, groups as number, hash as function) as list
แบ่งตารางออกเป็นรายการของตารางย่อย (List of Tables) โดยใช้ hash function กำหนดการกระจายข้อมูล
|
4 | 6 | 5 | |
| List.ReplaceRange List functions | List.Replacerange(list as list) as list
List.ReplaceRange แทนที่รายการในช่วงที่ระบุด้วยรายการใหม่ ใช้สำหรับการแก้ไขข้อมูล การจัดการรายการ และการอัปเดตข้อมูล
|
4 | 4 | 4 | |
| Table.StopFolding Table functions | = Table.StopFolding(table)
Table.StopFolding ป้องกันไม่ให้ขั้นตอน downstream ถูกส่งกลับไปประมวลผลที่ data source เดิม ช่วยเมื่อต้องดีบักหรือเมื่อการบังคับประมวลผลใน Power Query ให้ผลลัพธ์ที่คาดหวัง
|
4 | 6 | 5 | |
| Value.Metadata Value functions | value_metadata(value as any) as any
Value.Metadata ใช้สำหรับการประมวลผล
|
4 | 6 | 4 | |
| Type.ForRecord Type functions | type_forrecord(value as any) as any
Type.ForRecord ใช้สำหรับการประมวลผล
|
4 | 6 | 4 | |
| AzureStorage.Tables Accessing data functions | azurestorage_tables(value as any) as any
AzureStorage.Tables ดึงข้อมูลจากตารางใน Azure Table Storage ซึ่งเป็นบริการจัดเก็บข้อมูลแบบ NoSQL
|
4 | 5 | 4 | |
| Binary.Combine Binary functions | Binary.Combine(binaries as list) as binary
Binary.Combine รับรายการค่า Binary หลายตัวและรวมเข้าเป็นค่า Binary ตัวเดียว ลำดับของ Bytes ในผลลัพธ์จะตามลำดับของรายการที่ส่งเข้ามา
|
4 | 4 | 4 | |
| Record.ReorderFields Record functions | Record.ReorderFields(record as record, fieldOrder as list, optional missingField as nullable number) as record
Rearranges the order of fields in a record | จัดเรียงลำดับฟิลด์ใหม่ใน Record ตามที่ต้องการ
|
4 | 4 | 4 | |
| Uri.Parts Uri functions | uri_parts(value as any) as any
Uri.Parts ใช้สำหรับการประมวลผล
|
4 | 3 | 4 | |
| Progress.DataSourceProgress Splitter functions | progress_datasource(value as any) as any
Progress.DataSourceProgress ใช้สำหรับการประมวลผล
|
4 | 3 | 4 | |
| DeltaLake.Table Accessing data functions | DeltaLake.Table(directory as table, [options as nullable record]) as any
DeltaLake.Table ใช้ดึงข้อมูลจากตาราง Delta Lake โดยระบุที่อยู่ไดเรกทอรี่ของตาราง เหมาะสำหรับเชื่อมต่อกับ Data Lake หรือ Microsoft Fabric
|
4 | 5 | 5 | |
| Date.IsLeapYear Date functions | date.isleapyear(value as any) as any
Date.IsLeapYear ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
4 | 2 | 4 | |
| Type.RecordFields Type functions | type_recordfields(value as any) as any
Type.RecordFields ใช้สำหรับการประมวลผล
|
4 | 5 | 4 | |
| Date.IsInPreviousMonth Date functions | date_isinpreviousmonth(value as any) as any
Date.IsInPreviousMonth ตรวจสอบว่าวันที่นั้นตรงกับเดือนก่อนหน้าหรือไม่
|
4 | 2 | 4 | |
| List.ReplaceMatchingItems List functions | List.Replacematchingitems(list as list) as list
List.ReplaceMatchingItems แทนที่รายการที่ตรงกับเงื่อนไขด้วยค่าใหม่ ใช้สำหรับการแปลงข้อมูล การแทนที่มูลค่า และการทำความสะอาดข้อมูล
|
4 | 4 | 4 | |
| RoundingMode.Type enumerations |
ระบุทิศทางการปัดเศษเมื่อค่าอยู่กึ่งกลาง
|
4 | 2 | 4 | |
| Text.NewGuid Text functions | Text.NewGuid() as text
Text.NewGuid ใช้สำหรับสร้าง GUID (Globally Unique Identifier) ใหม่ที่เป็นเอกลักษณ์ แต่ละครั้งที่เรียกจะสร้าง GUID ที่แตกต่างกัน ใช้สำหรับสร้างรหัสเฉพาะตัวที่ไม่ซ้ำ
|
4 | 2 | 4 | |
| Record.FieldOrDefault Record functions | Record.FieldOrDefault(record as record, field as text, optional defaultValue as any) as any
ดึงค่าจาก Record ถ้าไม่เจอให้คืนค่า Default
|
4 | 4 | 4 | |
| AzureStorage.DataLakeContents Accessing data functions | azurestorage_datalakecontents(value as any) as any
AzureStorage.DataLakeContents อ่านเนื้อหาของไฟล์จากระบบไฟล์ Azure Data Lake
|
4 | 5 | 4 | |
| Number.IsEven Number functions | number.iseven(value as any) as any
Number.IsEven ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
|
4 | 2 | 4 | |
| List.DateTimes List functions | List.DateTimes(start as datetime, count as number, step as duration) as list
List.DateTimes คืน List ของค่า datetime โดยเริ่มจากค่าเริ่มต้น เพิ่มทีละช่วงเวลา (duration) ตามจำนวนครั้งที่ระบุ
|
4 | 3 | 4 | |
| Time.EndOfHour Time functions | time_endofhour(value as any) as any
Time.EndOfHour ใช้สำหรับการประมวลผล
|
4 | 3 | 4 | |
| GoogleAnalytics.Data Splitter functions | googleanalytics_data(value as any) as any
GoogleAnalytics.Data ดึงข้อมูลจาก Google Analytics
|
4 | 3 | 4 | |
| Date.IsInYearToDate Date functions | date.isinyeartodate(value as any) as any
Date.IsInYearToDate ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
|
4 | 2 | 4 | |
| List.MatchesAny List functions | List.MatchesAny(list as list, condition as function) as logical
List.MatchesAny คืนค่า true หากมีสมาชิกอย่างน้อยหนึ่งตัวใน List ผ่านเงื่อนไขที่กำหนด
|
4 | 4 | 4 | |
| Splitter.SplitTextNl enumerations | splitter_splittextnl(value as any) as any
Splitter.SplitTextNl ใช้สำหรับการประมวลผล
|
4 | 2 | 4 | |
| Logical.ToText Logical functions | logical_totext(value as any) as any
Logical.ToText ใช้สำหรับการประมวลผล
|
4 | 4 | 4 | |
| List.RemoveRange List functions | List.Removerange(list as list) as list
List.RemoveRange ลบรายการจำนวนที่ระบุโดยเริ่มจากตำแหน่งที่ระบุ ใช้สำหรับการตัดข้อมูล การจัดการรายการ และการแยกข้อมูล
|
4 | 3 | 4 | |
| Value.Is Value functions | value_is(value as any) as any
Value.Is ใช้สำหรับการประมวลผล
|
4 | 4 | 4 | |
| Comparer.FromCulture Comparer functions | Comparer.FromCulture(culture as text, optional ignoredAccents as logical, optional ignoreCase as logical) as function
Comparer.FromCulture สร้าง Comparer ที่พิจารณากฎการเปรียบเทียบตามวัฒนธรรมที่ระบุ เช่นการจัดลำดับตัวอักษร การใช้เครื่องหมายวรรคตอน และการจัดการทศนิยม สำหรับการเปรียบเทียบข้อมูลในลักษณะเฉพาะของแต่ละภาษา
|
4 | 4 | 4 | |
| DateTime.AddZone DateTime functions | DateTime.AddZone(dateTime as nullable datetime, timezoneHours as number, optional timezoneMinutes as nullable number) as nullable datetimezone
เติมข้อมูล Timezone ให้กับ DateTime (เปลี่ยนเป็น DateTimeZone)
|
4 | 3 | 4 | |
| Record.ToList Record functions | Record.ToList(record as record) as list
แปลง Record เป็น List ของค่าข้อมูล
|
4 | 3 | 4 | |
| Uri.Combine Uri functions | uri_combine(value as any) as any
Uri.Combine ใช้สำหรับการประมวลผล
|
4 | 3 | 4 | |
| GoogleAnalytics.WebProperties Splitter functions | googleanalytics_webproperties(value as any) as any
GoogleAnalytics.WebProperties ดึงลักษณะ web สำหรับบัญชี Google Analytics
|
4 | 3 | 4 |
ชื่อฟังก์ชันเป็นภาษาอังกฤษเสมอ ลองสะกดอีกแบบ หรือกด Enter เพื่อค้นในคำอธิบายด้วย