Number.BitwiseShiftLeft ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
Syntax
number.bitwiseshiftleft(value as any) as any
Number.BitwiseShiftLeft ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.bitwiseshiftleft(value as any) as any
Number.BitwiseShiftRight ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.bitwiseshiftright(value as any) as any
Number.BitwiseXor ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.bitwisexor(value as any) as any
Number.Combinations ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.combinations(value as any) as any
Number.Cos ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.cos(value as any) as any
Number.Cosh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.cosh(value as any) as any
Number.Exp คำนวณค่า e^x (e ยกกำลังของตัวเลข) เป็นฟังก์ชันที่ตรงข้ามกับ Number.Log มีประโยชน์ในการคำนวณการเติบโตแบบเอกโพเนนเชียล
Number.Exp(number as number) as number
Number.Factorial ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.factorial(value as any) as any
Number.From จะพยายามแปลงค่า Input ให้เป็น Number หากเป็น Text จะพยายาม Parse ตัวเลขออกมา หากเป็น Date/Time จะแปลงเป็น Serial Number (เช่นเดียวกับ Excel)
Number.From(value as any, optional culture as nullable text) as nullable number
Number.FromText แปลงค่าข้อความที่เป็นตัวแทนของตัวเลขเป็นค่าตัวเลขจริง รองรับการจัดรูปแบบตัวเลขต่างๆ รวมถึงสัญกรณ์วิทยาศาสตร์
Number.FromText(text as nullable text, optional culture as nullable text) as nullable number
Number.IntegerDivide ทำการหารจำนวนสองจำนวน แล้วปัดเศษลงให้เหลือแต่จำนวนเต็ม ฟังก์ชันนี้มีประโยชน์เมื่อต้องการหารและได้ผลลัพธ์เป็นจำนวนเต็ม เช่นหารจำนวนสินค้าด้วยปริมาณต่อแพ็ก
Number.IntegerDivide(dividend as number, divisor as number) as number
Number.IsEven ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.iseven(value as any) as any
Number.IsNaN ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.isnan(value as any) as any
Number.IsOdd ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.isodd(value as any) as any
Number.Ln ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.ln(value as any) as any
Number.Log คำนวณลอการิทึมธรรมชาติของตัวเลข (ลอการิทึมฐาน e) สามารถระบุฐานที่ต้องการได้ มีประโยชน์ในการคำนวณทางวิทยาศาสตร์และสถิติ
Number.Log(number as number, optional base as nullable number) as number
Number.Log10 คำนวณลอการิทึมฐาน 10 ของตัวเลข มีประโยชน์ในการวัดสเกลลอการิทึม เช่นสเกล pH และสเกล Richter
Number.Log10(number as number) as number
หาเศษจากการหาร (Modulo)
Number.Mod(number as nullable number, divisor as nullable number) as nullable number
Number.Permutations ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์ข้อมูล
number.permutations(value as any) as any
คำนวณเลขยกกำลัง
Number.Power(number as nullable number, power as nullable number) as nullable number
สุ่มตัวเลขระหว่าง 0 ถึง 1
Number.Random() as number
สุ่มตัวเลขระหว่างช่วงที่กำหนด
Number.RandomBetween(bottom as any, top as any) as any
Number.Round ปัดเศษตัวเลขทศนิยมตามจำนวนหลักที่กำหนด โดย default ใช้ RoundingMode.ToEven (Banker's Rounding) หรือเลือกวิธีปัดเศษอื่นได้
Number.Round(number as nullable number, optional digits as nullable number, optional roundingMode as nullable number) as nullable number
Number.RoundAwayFromZero ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.roundawayfromzero(value as any) as any
ปัดเศษลงเสมอ (Floor)
Number.RoundDown(number as nullable number, optional digits as nullable number) as nullable number
Number.RoundTowardZero ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.roundtowardzero(value as any) as any
ปัดเศษขึ้นเสมอ (Ceiling)
Number.RoundUp(number as nullable number, optional digits as nullable number) as nullable number
คืนค่าเครื่องหมายของตัวเลข (-1, 0, 1)
Number.Sign(number as nullable number) as nullable number
Number.Sin ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.sin(value as any) as any
Number.Sinh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.sinh(value as any) as any
หารากที่สอง (Square Root)
Number.Sqrt(number as nullable number) as nullable number
Number.Tan ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.tan(value as any) as any
Number.Tanh ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
number.tanh(value as any) as any
Number.ToText จะแปลงค่าตัวเลขให้เป็น Text String โดยสามารถระบุ format เพื่อจัดรูปแบบการแสดงผลได้ (เช่น "N2" สำหรับทศนิยม 2 ตำแหน่ง หรือ "C" สำหรับสกุลเงิน) และระบุ culture ได้
Number.ToText(number as nullable number, optional format as nullable text, optional culture as nullable text) as nullable text
Occurrence.Type เป็นชุดค่าคงที่ที่ใช้ระบุการเกิดซ้ำของค่าที่ค้นพบ เช่น Occurrence.First (ครั้งแรก), Occurrence.Last (ครั้งสุดท้าย) และ Occurrence.All (ทุกตำแหน่ง) โดยมักใช้เป็นพารามิเตอร์ occurrence ในฟังก์ชันอย่าง Text.PositionOf และ Text.PositionOfAny
Text.PositionOf(text, substring, Occurrence.First|Last) / Text.PositionOfAny(text, characters, Occurrence.All)
OData.Feed เชื่อมต่อบริการ OData และดึงข้อมูลจาก OData endpoints ซึ่งมักจะเป็น API ที่มีโครงสร้างมาตรฐาน
OData.Feed(serviceUri as text, optional headers as nullable record, optional options as any) as any
ระบุชนิดของค่าที่บริการ OData สามารถละเว้นได้
Odbc.DataSource เชื่อมต่อแหล่งข้อมูล ODBC และดึงรายชื่อตารางพร้อมวิว ช่วยให้คุณเข้าถึงฐานข้อมูลจากเครื่อง ODBC-compliant โดยไม่ต้องใช้ SQL Server Connection โดยตรง
= Odbc.DataSource(connectionString as any, optional options as nullable record) as table
Odbc.InferOptions ใช้สำหรับการประมวลผล
odbc_inferoptions(value as any) as any
Odbc.Query ใช้สำหรับดำเนินการคำสั่ง SQL โดยตรงต่อฐานข้อมูล ODBC ใดๆ เช่น SQL Server, MySQL, PostgreSQL, Oracle และส่งคืนผลลัพธ์เป็นตาราง
Odbc.Query(connectionString as any, query as text, optional options as nullable record) as table
OleDb.DataSource ใช้สำหรับเชื่อมต่อกับฐานข้อมูล OLE DB (SQL Server, Access, MySQL ผ่าน ODBC เป็นต้น) และนำเข้าตารางหรือแสดงผลจากคำสั่ง SQL
= OleDb.DataSource(connectionString as any, [options as nullable record]) as table
OleDb.Query ใช้สำหรับการประมวลผล
oledb_query(value as any) as any
Oracle.Database ใช้สำหรับการประมวลผล
oracle_database(value as any) as any
ระบุทิศทางของการเรียงลำดับ (Sorting)
Pdf.Tables ใช้สำหรับการประมวลผล
pdf_tables(value as any) as any
Percentage.From ประมวลผลข้อมูลและคืนค่าผลลัพธ์ ใช้สำหรับการจัดการข้อมูล การแปลงข้อมูล และการวิเคราะห์
percentage.from(value as any) as any
PercentileMode.Type เป็นชุดค่าคงที่สำหรับเลือกวิธีคำนวณเปอร์เซ็นไทล์ (รวมถึงวิธี “คั่นค่า/ประมาณค่า” ระหว่างข้อมูล) ตอนใช้ List.Percentile โดยระบุผ่าน options แบบ record เช่น [PercentileMode=PercentileMode.ExcelExc] เพื่อให้ผลลัพธ์สอดคล้องกับแนวคิดการคำนวณที่ต้องการ
List.Percentile(list, percentiles, [PercentileMode=PercentileMode.ExcelInc|ExcelExc|SqlCont|SqlDisc])
PostgreSQL.Database ใช้สำหรับเชื่อมต่อฐานข้อมูล PostgreSQL และดึงรายชื่อตารางและมุมมอง
= PostgreSQL.Database(server as text, database as text, [options as nullable record]) as table
ระบุความแม่นยำของการเปรียบเทียบ
Progress.DataSourceProgress ใช้สำหรับการประมวลผล
progress_datasourceprogress(value as any) as any