Cdm.MapToEntity

Updated on

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

Contribute » | Contributors: Rick de Groot