Thep Excel

Function Explainer

ฟังก์ชัน Power Query 638 ฟังก์ชัน

638 ฟังก์ชัน

เรียงตาม

ฟังก์ชัน ใช้ทำอะไร มีตั้งแต่ นิยม ยาก ประโยชน์
Number.Sqrt Number functions Number.Sqrt(number as nullable number) as nullable number

หารากที่สอง (Square Root)

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Text.Repeat Text functions Text.Repeat(text as nullable text, count as number) as nullable text

ทำซ้ำข้อความตามจำนวนครั้งที่ระบุ

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
List.AllTrue List functions List.AllTrue(list as list) as logical

List.AllTrue คืนค่า true หากทุกเงื่อนไขใน List เป็นจริงทั้งหมด

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Number.IsOdd Number functions number.isodd(value as any) as any

Number.IsOdd ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 4 ยาก 2 ประโยชน์ 4

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

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

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

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

4 6 5
List.ReplaceRange List functions List.Replacerange(list as list) as list

List.ReplaceRange แทนที่รายการในช่วงที่ระบุด้วยรายการใหม่ ใช้สำหรับการแก้ไขข้อมูล การจัดการรายการ และการอัปเดตข้อมูล

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
Table.StopFolding Table functions = Table.StopFolding(table)

Table.StopFolding ป้องกันไม่ให้ขั้นตอน downstream ถูกส่งกลับไปประมวลผลที่ data source เดิม ช่วยเมื่อต้องดีบักหรือเมื่อการบังคับประมวลผลใน Power Query ให้ผลลัพธ์ที่คาดหวัง

นิยม 4 ยาก 6 ประโยชน์ 5

4 6 5
Value.Metadata Value functions value_metadata(value as any) as any

Value.Metadata ใช้สำหรับการประมวลผล

นิยม 4 ยาก 6 ประโยชน์ 4

4 6 4
Type.ForRecord Type functions type_forrecord(value as any) as any

Type.ForRecord ใช้สำหรับการประมวลผล

นิยม 4 ยาก 6 ประโยชน์ 4

4 6 4
AzureStorage.Tables Accessing data functions azurestorage_tables(value as any) as any

AzureStorage.Tables ดึงข้อมูลจากตารางใน Azure Table Storage ซึ่งเป็นบริการจัดเก็บข้อมูลแบบ NoSQL

นิยม 4 ยาก 5 ประโยชน์ 4

4 5 4
Binary.Combine Binary functions Binary.Combine(binaries as list) as binary

Binary.Combine รับรายการค่า Binary หลายตัวและรวมเข้าเป็นค่า Binary ตัวเดียว ลำดับของ Bytes ในผลลัพธ์จะตามลำดับของรายการที่ส่งเข้ามา

นิยม 4 ยาก 4 ประโยชน์ 4

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

4 4 4
Uri.Parts Uri functions uri_parts(value as any) as any

Uri.Parts ใช้สำหรับการประมวลผล

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Progress.DataSourceProgress Splitter functions progress_datasource(value as any) as any

Progress.DataSourceProgress ใช้สำหรับการประมวลผล

นิยม 4 ยาก 3 ประโยชน์ 4

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

4 5 5
Date.IsLeapYear Date functions date.isleapyear(value as any) as any

Date.IsLeapYear ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
Type.RecordFields Type functions type_recordfields(value as any) as any

Type.RecordFields ใช้สำหรับการประมวลผล

นิยม 4 ยาก 5 ประโยชน์ 4

4 5 4
Date.IsInPreviousMonth Date functions date_isinpreviousmonth(value as any) as any

Date.IsInPreviousMonth ตรวจสอบว่าวันที่นั้นตรงกับเดือนก่อนหน้าหรือไม่

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
List.ReplaceMatchingItems List functions List.Replacematchingitems(list as list) as list

List.ReplaceMatchingItems แทนที่รายการที่ตรงกับเงื่อนไขด้วยค่าใหม่ ใช้สำหรับการแปลงข้อมูล การแทนที่มูลค่า และการทำความสะอาดข้อมูล

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
RoundingMode.Type enumerations

ระบุทิศทางการปัดเศษเมื่อค่าอยู่กึ่งกลาง

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
Text.NewGuid Text functions Text.NewGuid() as text

Text.NewGuid ใช้สำหรับสร้าง GUID (Globally Unique Identifier) ใหม่ที่เป็นเอกลักษณ์ แต่ละครั้งที่เรียกจะสร้าง GUID ที่แตกต่างกัน ใช้สำหรับสร้างรหัสเฉพาะตัวที่ไม่ซ้ำ

นิยม 4 ยาก 2 ประโยชน์ 4

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

4 4 4
AzureStorage.DataLakeContents Accessing data functions azurestorage_datalakecontents(value as any) as any

AzureStorage.DataLakeContents อ่านเนื้อหาของไฟล์จากระบบไฟล์ Azure Data Lake

นิยม 4 ยาก 5 ประโยชน์ 4

4 5 4
Number.IsEven Number functions number.iseven(value as any) as any

Number.IsEven ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล

นิยม 4 ยาก 2 ประโยชน์ 4

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

4 3 4
Time.EndOfHour Time functions time_endofhour(value as any) as any

Time.EndOfHour ใช้สำหรับการประมวลผล

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
GoogleAnalytics.Data Splitter functions googleanalytics_data(value as any) as any

GoogleAnalytics.Data ดึงข้อมูลจาก Google Analytics

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Date.IsInYearToDate Date functions date.isinyeartodate(value as any) as any

Date.IsInYearToDate ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
List.MatchesAny List functions List.MatchesAny(list as list, condition as function) as logical

List.MatchesAny คืนค่า true หากมีสมาชิกอย่างน้อยหนึ่งตัวใน List ผ่านเงื่อนไขที่กำหนด

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
Splitter.SplitTextNl enumerations splitter_splittextnl(value as any) as any

Splitter.SplitTextNl ใช้สำหรับการประมวลผล

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
Logical.ToText Logical functions logical_totext(value as any) as any

Logical.ToText ใช้สำหรับการประมวลผล

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
List.RemoveRange List functions List.Removerange(list as list) as list

List.RemoveRange ลบรายการจำนวนที่ระบุโดยเริ่มจากตำแหน่งที่ระบุ ใช้สำหรับการตัดข้อมูล การจัดการรายการ และการแยกข้อมูล

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Value.Is Value functions value_is(value as any) as any

Value.Is ใช้สำหรับการประมวลผล

นิยม 4 ยาก 4 ประโยชน์ 4

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

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

4 3 4
Record.ToList Record functions Record.ToList(record as record) as list

แปลง Record เป็น List ของค่าข้อมูล

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Uri.Combine Uri functions uri_combine(value as any) as any

Uri.Combine ใช้สำหรับการประมวลผล

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
GoogleAnalytics.WebProperties Splitter functions googleanalytics_webproperties(value as any) as any

GoogleAnalytics.WebProperties ดึงลักษณะ web สำหรับบัญชี Google Analytics

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
List.MatchesAll List functions List.MatchesAll(list as list, condition as function) as logical

List.MatchesAll คืนค่า true หากสมาชิกทุกตัวใน List ผ่านเงื่อนไขที่กำหนด

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
DateTimeZone.ToText DateTimeZone functions DateTimeZone.ToText(dateTimeZone as nullable datetimezone, optional options as any, optional culture as nullable text) as nullable text

แปลง DateTimeZone เป็นข้อความ

นิยม 4 ยาก 3 ประโยชน์ 4

4 3 4
Type.NonNullable Type functions type_nonnullable(value as any) as any

Type.NonNullable ใช้สำหรับการประมวลผล

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
Logical.FromText Logical functions logical_fromtext(value as any) as any

Logical.FromText ใช้สำหรับการประมวลผล

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4
Table.FuzzyJoin Table functions Table.FuzzyJoin(table1 as table, key1 as any, table2 as table, key2 as any, optional joinKind as nullable number, optional joinOptions as nullable record) as table

Table.FuzzyJoin ใช้สำหรับเชื่อม 2 ตารางเข้าด้วยกันโดยใช้คีย์ที่มีความคล้ายคลึงกัน (Fuzzy Matching) แทนที่จะต้องเหมือนกันทุกตัวอักษร สามารถกำหนดระดับความเหมือน (Threshold) และตัวเลือกอื่นๆ ได้

นิยม 4 ยาก 7 ประโยชน์ 6

4 7 6
Date.IsInCurrentWeek Date functions date_isincurrentweek(value as any) as any

Date.IsInCurrentWeek ตรวจสอบว่าวันที่นั้นตรงกับสัปดาห์ปัจจุบันหรือไม่

นิยม 4 ยาก 2 ประโยชน์ 4

4 2 4
Web.Headers Accessing data functions web_headers(value as any) as any

Web.Headers ใช้สำหรับการประมวลผล

นิยม 4 ยาก 5 ประโยชน์ 4

4 5 4
Value.ReplaceType Value functions = Value.ReplaceType(value as any, type as type) as any

Value.ReplaceType แทนที่ประเภทข้อมูล (type) ของค่าด้วยประเภทใหม่ที่กำหนด โดยไม่เปลี่ยนข้อมูลจริง

นิยม 4 ยาก 7 ประโยชน์ 5

4 7 5
Splitter.SplitTextByPositions Splitter functions splitter_splittextbypositions(value as any) as any

Splitter.SplitTextByPositions ใช้สำหรับการประมวลผล

นิยม 4 ยาก 4 ประโยชน์ 4

4 4 4