Formation
Module
Create and manage columns within a table in Microsoft Dataverse - Training
Learn how to create and manage table columns in Dataverse.
Ce navigateur n’est plus pris en charge.
Effectuez une mise à niveau vers Microsoft Edge pour bénéficier des dernières fonctionnalités, des mises à jour de sécurité et du support technique.
Table.RemoveColumns(table as table, columns as any, optional missingField as nullable number) as table
Supprime le columns
spécifié du table
fourni. Si la colonne spécifiée n’existe pas, une erreur est générée, sauf si le paramètre missingField
facultatif spécifie un autre comportement (par exemple, MissingField.UseNull ou MissingField.Ignore).
Supprime la colonne [Phone] de la table.
Utilisation
Table.RemoveColumns(
Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
"Phone"
)
Sortie
Table.FromRecords({[CustomerID = 1, Name = "Bob"]})
Essayez de supprimer une colonne inexistante de la table.
Utilisation
Table.RemoveColumns(
Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
"Address"
)
Sortie
[Expression.Error] The column 'Address' of the table wasn't found.
Formation
Module
Create and manage columns within a table in Microsoft Dataverse - Training
Learn how to create and manage table columns in Dataverse.
Documentation
Table.AddColumn - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.AddColumn
Table.SelectColumns - PowerQuery M
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.SelectColumns
เรียนรู้เพิ่มเติมเกี่ยวกับ: Table.Column