การฝึกอบรม
โมดูล
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.Contains(table as table, row as record, optional equationCriteria as any) as logical
ระบุว่าเรกคอร์ด row
ที่ระบุ จะปรากฏเป็นแถวใน table
หรือไม่ อาจระบุพารามิเตอร์ equationCriteria
ที่เลือกได้ เพื่อควบคุมการเปรียบเทียบระหว่างแถวของตาราง
กําหนดว่าตารางมีแถวหรือไม่
การใช้งาน
Table.Contains(
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"]
}),
[Name = "Bob"]
)
เอาท์พุท
true
กําหนดว่าตารางมีแถวหรือไม่
การใช้งาน
Table.Contains(
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"]
}),
[Name = "Ted"]
)
เอาท์พุท
false
กําหนดว่าตารางมีแถวหรือไม่เมื่อเปรียบเทียบเฉพาะกับคอลัมน์ [Name]
การใช้งาน
Table.Contains(
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"]
}),
[CustomerID = 4, Name = "Bob"],
"Name"
)
เอาท์พุท
true
การฝึกอบรม
โมดูล
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.Column
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.FindText
Table.FilterWithDataTable - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.FilterWithDataTable