Skip to main content
Customer Insights - Data forum
Unanswered

Exports Nested folders

editSubscribe (1) ShareShare
ReportReport
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:
Attachments
  • 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

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
a33ik Profile Picture

a33ik 84,305 Super User

#2
Sukrut Parab Profile Picture

Sukrut Parab 71,633

#3
YUN ZHU Profile Picture

YUN ZHU 60,219 Super User

Featured topics

Product updates

Dynamics 365 release plans