การฝึกอบรม
โมดูล
Create and manage columns within a table in Microsoft Dataverse - Training
Learn how to create and manage table columns in Dataverse.
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
Table.ExpandTableColumn(table as table, column as text, columnNames as list, optional newColumnNames as nullable list) as table
ขยายตารางใน table
[column
] เป็นหลายแถวและคอลัมน์
columnNames
ถูกใช้เพื่อเลือกคอลัมน์ที่จะขยายจากตารางภายใน ระบุ newColumnNames
เพื่อหลีกเลี่ยงความขัดแย้งระหว่างคอลัมน์ที่มีอยู่และคอลัมน์ใหม่
ขยายคอลัมน์ตารางใน [a]
ในตาราง ({[t = {[a=1, b=2, c=3], [a=2,b=4,c=6]}, b = 2]})
เป็น 3 คอลัมน์ [t.a]
[t.b]
และ [t.c]
การใช้งาน
Table.ExpandTableColumn(
Table.FromRecords({
[
t = Table.FromRecords({
[a = 1, b = 2, c = 3],
[a = 2, b = 4, c = 6]
}),
b = 2
]
}),
"t",
{"a", "b", "c"},
{"t.a", "t.b", "t.c"}
)
ผลลัพธ์ของ
Table.FromRecords({
[t.a = 1, t.b = 2, t.c = 3, b = 2],
[t.a = 2, t.b = 4, t.c = 6, b = 2]
})
การฝึกอบรม
โมดูล
Create and manage columns within a table in Microsoft Dataverse - Training
Learn how to create and manage table columns in Dataverse.
เอกสาร
Table.ExpandRecordColumn - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.ExpandRecordColumn
Table.ExpandListColumn - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.ExpandListColumn
Table.NestedJoin - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.NestedJoin