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:

Contribute » | Contributors: Rick de Groot

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy