<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Advice Needed: Building a Data Pipeline in Microsoft Fabric for Monthly Transactional Data in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4267657#M6186</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently working on a data pipeline project in Microsoft Fabric that involves processing transactional data emailed to me monthly, and I’d be grateful for any advice on the best approach to structuring this pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Project Details:&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Data Source&lt;/STRONG&gt;: Each month, I receive a non-normalized Excel file containing transaction data via email.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Objective&lt;/STRONG&gt;: The goal is to automate the ingestion, transformation, and loading process to organize this data into a star schema within a data warehouse, preparing it for analytics and reporting.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;End Use&lt;/STRONG&gt;: Once processed, the data should be optimized for fast querying and analysis.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Current Strategy:&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Ingestion&lt;/STRONG&gt;: Using a &lt;STRONG&gt;Copy Activity&lt;/STRONG&gt; to move the Excel data from the Fabric Lakehouse folder into a staging table within the data warehouse.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Transformation&lt;/STRONG&gt;: Considering both &lt;STRONG&gt;Stored Procedure&lt;/STRONG&gt; and &lt;STRONG&gt;Notebook Activities&lt;/STRONG&gt; for data transformations. The process includes cleansing, deduplication, and mapping to final dimension and fact tables.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Normalization&lt;/STRONG&gt;: After transformations, I aim to load the data into a normalized schema, with tables like DimLocation, DimTransactionType, and FactTransactions.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Questions:&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Stored Procedures vs. Notebooks for Transformations&lt;/STRONG&gt;: Since some transformations are complex, would you recommend prioritizing Notebooks (e.g., PySpark) or Stored Procedures? Or a combination of both?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Monthly File Handling&lt;/STRONG&gt;: Given the monthly data drop, is it more efficient to use dynamic pipeline parameters for each file, or should I set up new pipelines as files arrive?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Performance Optimization&lt;/STRONG&gt;: Any suggestions for optimizing performance, especially for handling large datasets and ensuring transformations remain cost-effective?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any insights or experiences you can share.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Nov 2024 09:11:20 GMT</pubDate>
    <dc:creator>HamidBee</dc:creator>
    <dc:date>2024-11-02T09:11:20Z</dc:date>
    <item>
      <title>Advice Needed: Building a Data Pipeline in Microsoft Fabric for Monthly Transactional Data</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4267657#M6186</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently working on a data pipeline project in Microsoft Fabric that involves processing transactional data emailed to me monthly, and I’d be grateful for any advice on the best approach to structuring this pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Project Details:&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Data Source&lt;/STRONG&gt;: Each month, I receive a non-normalized Excel file containing transaction data via email.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Objective&lt;/STRONG&gt;: The goal is to automate the ingestion, transformation, and loading process to organize this data into a star schema within a data warehouse, preparing it for analytics and reporting.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;End Use&lt;/STRONG&gt;: Once processed, the data should be optimized for fast querying and analysis.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Current Strategy:&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Ingestion&lt;/STRONG&gt;: Using a &lt;STRONG&gt;Copy Activity&lt;/STRONG&gt; to move the Excel data from the Fabric Lakehouse folder into a staging table within the data warehouse.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Transformation&lt;/STRONG&gt;: Considering both &lt;STRONG&gt;Stored Procedure&lt;/STRONG&gt; and &lt;STRONG&gt;Notebook Activities&lt;/STRONG&gt; for data transformations. The process includes cleansing, deduplication, and mapping to final dimension and fact tables.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Normalization&lt;/STRONG&gt;: After transformations, I aim to load the data into a normalized schema, with tables like DimLocation, DimTransactionType, and FactTransactions.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;Questions:&lt;/H3&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Stored Procedures vs. Notebooks for Transformations&lt;/STRONG&gt;: Since some transformations are complex, would you recommend prioritizing Notebooks (e.g., PySpark) or Stored Procedures? Or a combination of both?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Monthly File Handling&lt;/STRONG&gt;: Given the monthly data drop, is it more efficient to use dynamic pipeline parameters for each file, or should I set up new pipelines as files arrive?&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Performance Optimization&lt;/STRONG&gt;: Any suggestions for optimizing performance, especially for handling large datasets and ensuring transformations remain cost-effective?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any insights or experiences you can share.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 09:11:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4267657#M6186</guid>
      <dc:creator>HamidBee</dc:creator>
      <dc:date>2024-11-02T09:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Advice Needed: Building a Data Pipeline in Microsoft Fabric for Monthly Transactional Data</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4267920#M6188</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="344683" data-lia-user-login="HamidBee" class="lia-mention lia-mention-user"&gt;HamidBee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are more familiar with SQL you can go with Stored procedure activity. But for mre complex transformation its better to use Spark.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stored Procedures vs. Notebooks for Transformations&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Typically for the complex transformation it is better to use Notebook(pyspark), moreover we have the flexibility to configure spark settings for the workload like setting your executors, dynamic scaling etc. for better performance and cost effective.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Monthly File Handling&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In data pipeline we have Triggers(Preview feature so check with your internal team), you can set the triggers based on file arrival in azure blob storage and have your file name in such a way for dynamic pipeline parameters. In case if you dont want to use Triggers then you can schedule your pipelne based on your monthly schedule and have parametized file name to pick up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Performance Optimization&lt;/STRONG&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Analyse the pattern, load and adjust spark configuration accordingly for cost effective and performance using Fabric metrics app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Srisakthi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 06:29:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4267920#M6188</guid>
      <dc:creator>Srisakthi</dc:creator>
      <dc:date>2024-11-03T06:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Advice Needed: Building a Data Pipeline in Microsoft Fabric for Monthly Transactional Data</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4269360#M6224</link>
      <description>&lt;P&gt;Thanks for sharing this information.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 15:34:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Advice-Needed-Building-a-Data-Pipeline-in-Microsoft-Fabric-for/m-p/4269360#M6224</guid>
      <dc:creator>HamidBee</dc:creator>
      <dc:date>2024-11-04T15:34:28Z</dc:date>
    </item>
  </channel>
</rss>

