การฝึกอบรม
โมดูล
Create and manage columns within a table in Microsoft Dataverse - Training
Learn how to create and manage table columns in Dataverse.
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
Table.RemoveColumns(table as table, columns as any, optional missingField as nullable number) as table
เอา ที่ระบุ columns
ออกจาก table
ที่ให้ไว้ หากคอลัมน์ที่ระบุไม่มีอยู่ ข้อผิดพลาดจะเกิดขึ้น เว้นแต่ว่าพารามิเตอร์missingField
ที่เลือกได้ระบุลักษณะการทํางานทางเลือก (ตัวอย่างเช่น MissingField.UseNull หรือ MissingField.Ignore)
ลบคอลัมน์ [Phone] ออกจากตาราง
การใช้งาน
Table.RemoveColumns(
Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
"Phone"
)
เอาท์พุท
Table.FromRecords({[CustomerID = 1, Name = "Bob"]})
พยายามลบคอลัมน์ที่ไม่มีอยู่ออกจากตาราง
การใช้งาน
Table.RemoveColumns(
Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
"Address"
)
เอาท์พุท
[Expression.Error] The column 'Address' of the table wasn't found.
การฝึกอบรม
โมดูล
Create and manage columns within a table in Microsoft Dataverse - Training
Learn how to create and manage table columns in Dataverse.
เอกสาร
Table.AddColumn - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.AddColumn
Table.SelectColumns - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.SelectColumns
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.Column