<?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 Ingesting data from a SharePoint Excel file with two worksheets in one pipeline in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/ingesting-data-from-a-sharepoint-excel-file-with-two-worksheets/m-p/163714#M55180</link>
    <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;I would like to ask about ingesting data from an Excel file stored in SharePoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Currently, I have one Excel file containing two worksheets:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;one worksheet contains dimension data,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;the other worksheet contains target values.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I would like to ingest both worksheets using a single pipeline. My pipeline definition is:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;id: &amp;lt;id&amp;gt;
pipeline_type: MANAGED_INGESTION
name: sharepoint_mnf_kpi_ingest
ingestion_definition:
  connection_name: sharepoint_connection
  objects:
    - table:
        destination_catalog: dlt_tst
        destination_schema: sharepoint_tst
        destination_table: mnf_kpi_targets_one_file
        table_configuration:
          storage_mode: APPEND_ONLY
        connector_options:
          sharepoint_options:
            url: https://&amp;lt;tenant&amp;gt;.sharepoint.com/sites/Self-ServiceBIAnalytics/Shared%20Documents/DataHub/DEV/MNF_KPI.xlsx
            entity_type: FILE
            file_ingestion_options:
              format: EXCEL
              schema_evolution_mode: NONE
              format_options:
                headerRows: "1"
                dataAddress: mnf_kpi_targets
    - table:
        destination_catalog: dlt_tst
        destination_schema: sharepoint_tst
        destination_table: mnf_kpi_dim_one_file
        table_configuration:
          storage_mode: APPEND_ONLY
        connector_options:
          sharepoint_options:
            url: https://&amp;lt;tenant&amp;gt;.sharepoint.com/sites/Self-ServiceBIAnalytics/Shared%20Documents/DataHub/DEV/MNF_KPI.xlsx
            entity_type: FILE
            file_ingestion_options:
              format: EXCEL
              schema_evolution_mode: NONE
              format_options:
                headerRows: "1"
                dataAddress: mnf_kpi_dim
  source_type: SHAREPOINT
schema: sharepoint_tst
channel: PREVIEW
catalog: dlt_tst
usage_policy_id: &amp;lt;id&amp;gt;&lt;/LI-CODE&gt;&lt;P class=""&gt;&lt;SPAN&gt;With this configuration, the &lt;/SPAN&gt;&lt;SPAN&gt;mnf_kpi_targets_one_file&lt;/SPAN&gt;&lt;SPAN&gt; table inherits the schema of the second worksheet, &lt;/SPAN&gt;&lt;SPAN&gt;mnf_kpi_dim_one_file&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_1-1784706752989.png" style="width: 192px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29288i7BD6B41D2B343FD7/image-dimensions/192x136?v=v2" width="192" height="136" role="button" title="Bodyes_1-1784706752989.png" alt="Bodyes_1-1784706752989.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_2-1784706801632.png" style="width: 200px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29295i0D45B5E4A2ED33E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bodyes_2-1784706801632.png" alt="Bodyes_2-1784706801632.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The number of rows imported into &lt;/SPAN&gt;&lt;SPAN&gt;mnf_kpi_targets_one_file&lt;/SPAN&gt;&lt;SPAN&gt; is correct, which suggests that the correct worksheet is being read. However, the table contains the column structure of mnf_kpi_dim_one_file&lt;/SPAN&gt;&lt;SPAN&gt;, and the values in those columns are &lt;/SPAN&gt;&lt;SPAN&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The two worksheets have different schemas.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Excel worksheet: DIM&lt;/SPAN&gt;&lt;/H3&gt;&lt;H3&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_4-1784706956591.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29296i48240395DF3A2C2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bodyes_4-1784706956591.png" alt="Bodyes_4-1784706956591.png" /&gt;&lt;/span&gt;&lt;/H3&gt;&lt;H3&gt;&lt;SPAN&gt;Excel worksheet: Targets&lt;/SPAN&gt;&lt;/H3&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_5-1784706989458.png" style="width: 602px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29292i66F0E95403D4DE5E/image-dimensions/602x44?v=v2" width="602" height="44" role="button" title="Bodyes_5-1784706989458.png" alt="Bodyes_5-1784706989458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;When I run &lt;/SPAN&gt;&lt;SPAN&gt;read_files()&lt;/SPAN&gt;&lt;SPAN&gt; directly with:&lt;BR /&gt;dataAddress =&amp;gt; 'mnf_kpi_targets'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;the correct worksheet, columns, and data are returned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Is this a known limitation or bug in Managed Ingestion when multiple objects use the same Excel file URL with different &lt;/SPAN&gt;&lt;SPAN&gt;dataAddress&lt;/SPAN&gt;&lt;SPAN&gt; values, or is there an issue with my pipeline configuration?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2026 08:08:18 GMT</pubDate>
    <dc:creator>Bodyes</dc:creator>
    <dc:date>2026-07-22T08:08:18Z</dc:date>
    <item>
      <title>Ingesting data from a SharePoint Excel file with two worksheets in one pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/ingesting-data-from-a-sharepoint-excel-file-with-two-worksheets/m-p/163714#M55180</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;I would like to ask about ingesting data from an Excel file stored in SharePoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Currently, I have one Excel file containing two worksheets:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;one worksheet contains dimension data,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;the other worksheet contains target values.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I would like to ingest both worksheets using a single pipeline. My pipeline definition is:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;id: &amp;lt;id&amp;gt;
pipeline_type: MANAGED_INGESTION
name: sharepoint_mnf_kpi_ingest
ingestion_definition:
  connection_name: sharepoint_connection
  objects:
    - table:
        destination_catalog: dlt_tst
        destination_schema: sharepoint_tst
        destination_table: mnf_kpi_targets_one_file
        table_configuration:
          storage_mode: APPEND_ONLY
        connector_options:
          sharepoint_options:
            url: https://&amp;lt;tenant&amp;gt;.sharepoint.com/sites/Self-ServiceBIAnalytics/Shared%20Documents/DataHub/DEV/MNF_KPI.xlsx
            entity_type: FILE
            file_ingestion_options:
              format: EXCEL
              schema_evolution_mode: NONE
              format_options:
                headerRows: "1"
                dataAddress: mnf_kpi_targets
    - table:
        destination_catalog: dlt_tst
        destination_schema: sharepoint_tst
        destination_table: mnf_kpi_dim_one_file
        table_configuration:
          storage_mode: APPEND_ONLY
        connector_options:
          sharepoint_options:
            url: https://&amp;lt;tenant&amp;gt;.sharepoint.com/sites/Self-ServiceBIAnalytics/Shared%20Documents/DataHub/DEV/MNF_KPI.xlsx
            entity_type: FILE
            file_ingestion_options:
              format: EXCEL
              schema_evolution_mode: NONE
              format_options:
                headerRows: "1"
                dataAddress: mnf_kpi_dim
  source_type: SHAREPOINT
schema: sharepoint_tst
channel: PREVIEW
catalog: dlt_tst
usage_policy_id: &amp;lt;id&amp;gt;&lt;/LI-CODE&gt;&lt;P class=""&gt;&lt;SPAN&gt;With this configuration, the &lt;/SPAN&gt;&lt;SPAN&gt;mnf_kpi_targets_one_file&lt;/SPAN&gt;&lt;SPAN&gt; table inherits the schema of the second worksheet, &lt;/SPAN&gt;&lt;SPAN&gt;mnf_kpi_dim_one_file&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_1-1784706752989.png" style="width: 192px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29288i7BD6B41D2B343FD7/image-dimensions/192x136?v=v2" width="192" height="136" role="button" title="Bodyes_1-1784706752989.png" alt="Bodyes_1-1784706752989.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_2-1784706801632.png" style="width: 200px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29295i0D45B5E4A2ED33E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bodyes_2-1784706801632.png" alt="Bodyes_2-1784706801632.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The number of rows imported into &lt;/SPAN&gt;&lt;SPAN&gt;mnf_kpi_targets_one_file&lt;/SPAN&gt;&lt;SPAN&gt; is correct, which suggests that the correct worksheet is being read. However, the table contains the column structure of mnf_kpi_dim_one_file&lt;/SPAN&gt;&lt;SPAN&gt;, and the values in those columns are &lt;/SPAN&gt;&lt;SPAN&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The two worksheets have different schemas.&lt;/SPAN&gt;&lt;/P&gt;&lt;H3&gt;&lt;SPAN&gt;Excel worksheet: DIM&lt;/SPAN&gt;&lt;/H3&gt;&lt;H3&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_4-1784706956591.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29296i48240395DF3A2C2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bodyes_4-1784706956591.png" alt="Bodyes_4-1784706956591.png" /&gt;&lt;/span&gt;&lt;/H3&gt;&lt;H3&gt;&lt;SPAN&gt;Excel worksheet: Targets&lt;/SPAN&gt;&lt;/H3&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bodyes_5-1784706989458.png" style="width: 602px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/29292i66F0E95403D4DE5E/image-dimensions/602x44?v=v2" width="602" height="44" role="button" title="Bodyes_5-1784706989458.png" alt="Bodyes_5-1784706989458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;When I run &lt;/SPAN&gt;&lt;SPAN&gt;read_files()&lt;/SPAN&gt;&lt;SPAN&gt; directly with:&lt;BR /&gt;dataAddress =&amp;gt; 'mnf_kpi_targets'&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;the correct worksheet, columns, and data are returned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Is this a known limitation or bug in Managed Ingestion when multiple objects use the same Excel file URL with different &lt;/SPAN&gt;&lt;SPAN&gt;dataAddress&lt;/SPAN&gt;&lt;SPAN&gt; values, or is there an issue with my pipeline configuration?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 08:08:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ingesting-data-from-a-sharepoint-excel-file-with-two-worksheets/m-p/163714#M55180</guid>
      <dc:creator>Bodyes</dc:creator>
      <dc:date>2026-07-22T08:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ingesting data from a SharePoint Excel file with two worksheets in one pipeline</title>
      <link>https://community.databricks.com/t5/data-engineering/ingesting-data-from-a-sharepoint-excel-file-with-two-worksheets/m-p/163732#M55181</link>
      <description>&lt;P class=""&gt;Based on the behavior you described, this looks like a &lt;SPAN class=""&gt;&lt;STRONG&gt;Managed SharePoint ingestion bug or preview limitation&lt;/STRONG&gt;&lt;/SPAN&gt;, not an obvious error in your configuration.&lt;/P&gt;&lt;P class=""&gt;Databricks’ Excel reader supports selecting one worksheet with dataAddress, and your successful read_files() test confirms that both the worksheet name and Excel structure are valid. Databricks also documents that the Excel parser reads one sheet at a time and uses dataAddress to select a different sheet.&lt;/P&gt;&lt;P class=""&gt;The suspicious part is this combination:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Both ingestion objects use the &lt;SPAN class=""&gt;&lt;STRONG&gt;same SharePoint file URL&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI&gt;Each object specifies a different dataAddress.&lt;/LI&gt;&lt;LI&gt;The correct row count is read from each&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 22 Jul 2026 10:38:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/ingesting-data-from-a-sharepoint-excel-file-with-two-worksheets/m-p/163732#M55181</guid>
      <dc:creator>MuhammadUmar</dc:creator>
      <dc:date>2026-07-22T10:38:07Z</dc:date>
    </item>
  </channel>
</rss>

