Cdm.MapToEntity

Cdm.MapToEntity is a Power Query M function that returns a table with columns mapped to the attributes of an entity in the Common Data Model, including data types.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Cdm.MapToEntity(
   table as table,
   columnDefinitions as any,
   optional defaultType as nullable type,
   optional defaultCdmClass as nullable text,
) as table

Description

Returns a table with columns mapped to the attributes of an entity in the Common Data Model, including data types. Columns from the entity definition will be added if not mapped, and any unmapped columns will be removed.

Other functions related to Cdm.MapToEntity are:

BI Gorilla Youtube Channel

Last update: August 17, 2023 | Contribute » | Contributors: Rick de Groot
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.