Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 3.15 KB

File metadata and controls

45 lines (25 loc) · 3.15 KB

Export & Process Entity Store Measures in Azure Synapse

Entity store is an Operational data warehouse built into Dynamics 365 Finance and Operations applications. Entity store contains star schemas (also known as Aggregate measurements in Finance and Operations). If you are a Finance and Operations (X++) developer, you may be familiar with modeling aggregate measurements using Visual studio tools for Dynamics.

Using Export to Data lake functionality, you can avail Tables and Entities from Finance and Operations into your own Azure Data lake. With the use of Entity store tools, now you can transform data in the lake into Entity store shapes using Azure Synapse tools.

You get two benefits by using these tools

  1. Create Entity store shape in your data lake using Azure Synapse tools and report with PowerBI or other tools
  2. Transforming data into Entity Store shapes can be compute-intensive for large datasets. By transforming data in the lake using Apache Spark, you can apply more compute power and process the jobs in parallel within Azure Synapse.

Notice that this process is different from Making Entity Store Available in the Data Lake, in that the steps below allow distributing the Entity Store processing across several tens of nodes and thus being able to handle large volumes of data.

Requirements

Step-by-step Process

Images

Step 1. Export Tables in Dynamics F&O

Enable the syncing of tables in the lake using the Export to Data Lake feature.

Step 2. Create Tables in Azure Synapse

Use the CDMUtil tool to create tables in Azure Synapse from the cdm.json files in the lake.

Step 3. Export Entity Store Metadata

Use EMEX Tool to export Entity Store Metadata for a given aggregate measurement.

Step 4. Create Views and Entities in Azure Synapse

Use ESYN Tool to create the views and entities from the aggregate measurement in Azure Synapse.

Step 5. Process Measurement

Using Spark Notebooks and Entity Store SDK, load Entity Store metadata and process tables and views on Azure Synapse. Store the aggregate measurements back in Azure Synapse. Import the following Notebook into your Azure Synapse workspace: Processing AggregateMeasurements On Azure Synapse.ipynb.

Step 6. Consume Measurement

Aggregate measurements can now be consumed through SQL views in Azure Synapse.