การฝึกอบรม
โมดูล
Author a basic formula that uses tables and records in a Power Apps canvas app - Training
Learn how to author a basic formula that uses tables and records in a Power Apps canvas app.
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
Table.IsDistinct(table as table, optional comparisonCriteria as any) as logical
ระบุว่า table
มีเฉพาะแถวที่แตกต่างกัน (ไม่ซ้ําซ้อน) หรือไม่ แสดง true
ถ้าแถวมีความแตกต่างกัน ถ้าไม่เป็นเช่น false
นั้น ระบบจะแสดง พารามิเตอร์ comparisonCriteria
ที่เลือกได้ ระบุว่าคอลัมน์ใดของตารางจะได้รับการทดสอบสําหรับการทําสําเนา ถ้า comparisonCriteria
ไม่ได้ระบุ คอลัมน์ทั้งหมดจะได้รับการทดสอบ
กําหนดว่าตารางมีค่าเฉพาะหรือไม่
การใช้งาน
Table.IsDistinct(
Table.FromRecords({
[CustomerID = 1, Name = "Bob", Phone = "123-4567"],
[CustomerID = 2, Name = "Jim", Phone = "987-6543"],
[CustomerID = 3, Name = "Paul", Phone = "543-7890"],
[CustomerID = 4, Name = "Ringo", Phone = "232-1550"]
})
)
เอาท์พุท
true
กําหนดว่าตารางมีค่าคอลัมน์เฉพาะหรือไม่
การใช้งาน
Table.IsDistinct(
Table.FromRecords({
[CustomerID = 1, Name = "Bob", Phone = "123-4567"],
[CustomerID = 2, Name = "Jim", Phone = "987-6543"],
[CustomerID = 3, Name = "Paul", Phone = "543-7890"],
[CustomerID = 5, Name = "Bob", Phone = "232-1550"]
}),
"Name"
)
เอาท์พุท
false
การฝึกอบรม
โมดูล
Author a basic formula that uses tables and records in a Power Apps canvas app - Training
Learn how to author a basic formula that uses tables and records in a Power Apps canvas app.
เอกสาร
Table.FromColumns - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.FromColumns
Table.MatchesAllRows - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.MatchesAllRows
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.Column