Skip to main content

Notifications

Announcements

No record found.

Customer Insights - Data forum
Unanswered

Exports Nested folders

Posted on by 3
Hi,
Customer Insights supports exporting tables, measures and segments to Azure Data Lake Storage Gen2 but the exports create a nested file structure which makes it difficult for external tools to consume without recursive logic navigating the folders.
 
 
Example container structure for 'AccountTable'
  • 2024
    • 02
      • 21
        • 1855
          • accounttable.csv 
 

What OOB options are available to support a single file export for simple consumption? Can we modify the export format? 
 
What custom options are available within Azure to consume and export an aggregated file for consumption? (If I were in AWS, I would attempt to create a Lambda function that transforms the data into a new format and write to the destination)
Categories:
  • CU22060803-1 Profile Picture
    CU22060803-1 2 on at
    Exports Nested folders

    To simplify file exports from fnaf online Customer Insights to Azure Data Lake Storage Gen2, consider using Azure Data Factory or Azure Databricks to aggregate nested files into a single file or simpler directory structure after each export.

  • Exports Nested folders
    Hello, one option is to export the tables, measures, and segments individually using Customer Insights' export functionality. Then, you can use local scripting or programming tools to combine the individual files into a single file that is easier to consume. This approach gives you full control over the exported format.
    Custom Options within Azure:
    1. Azure Data Factory: Azure Data Factory (ADF) can be used to orchestrate data movement and transformation workflows. You can create an ADF pipeline that exports the data from Customer Insights to Azure Data Lake Storage Gen2 in the desired format. Within the pipeline, you can use mapping data flows or custom activities to aggregate and transform the data as needed.
    2. Azure Databricks: Azure Databricks provides a scalable analytics platform that can be used for data transformation and processing. You can write custom scripts using languages like Python or Scala to read the exported data from Customer Insights, aggregate it, and create a new file in the desired format.
    3. Azure Functions: Azure Functions can be utilized to write custom code that triggers on specific events, such as the availability of new data in Customer Insights or changes in the data lake. You can write a function that reads the exported data, performs the necessary transformations, and writes the aggregated data to the destination in the desired format.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans