<?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 Re: OData Feed - Key matched more than one row in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/OData-Feed-Key-matched-more-than-one-row/m-p/3183024#M42155</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/543661"&gt;@avdw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a setting&lt;STRONG&gt; "Automatic detection of column data type and headers" &lt;/STRONG&gt;in Power Query.&lt;/P&gt;
&lt;P&gt;This setting is specifically for unstructured sources. It helps you by automatically inspecting and detecting column types and headers based on the first 200 rows of your table. When this setting is enabled, Power Query automatically adds two steps to your query:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Promote column headers&lt;/STRONG&gt;: Promotes the first row of the table to be the column header.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Changed type&lt;/STRONG&gt;: Converts the values from the Any data type to a data type based on the inspection of the values from each column.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By default, this setting is enabled. According to your description, maybe this problem is caused by automatic detection of column data type.&amp;nbsp;Automatically detected data type cause errors in data structure recognition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 02:55:22 GMT</pubDate>
    <dc:creator>v-jianboli-msft</dc:creator>
    <dc:date>2023-04-12T02:55:22Z</dc:date>
    <item>
      <title>OData Feed - Key matched more than one row</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OData-Feed-Key-matched-more-than-one-row/m-p/3179995#M42129</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing an integration between a shopping platform and PowerBI - by creating an OData feed off the shop data. I have an 'Orders' table which is pulled from this OData feed into PowerBI. Each row contains data on an order, with the 'id' column being the unique key for each.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are some nested items for each order, such as for example the 'billing_address' record. This is an object that contains fields for the address (street, city, country,... etc).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to pull the OData feed into PowerQuery - and have verified that each row has a unique ID. If I try to access the billing_address 'Record' - I get the following error message: "The key matched more than one row in the table."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However - if I insert a step in the Query where I change the type of the 'id' column (which is already set as Whole Number) to 'Text', 'Whole Number' or even 'Decimal Number', I can access the billing_address Record without any error messages...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clues what may cause this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 14:18:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OData-Feed-Key-matched-more-than-one-row/m-p/3179995#M42129</guid>
      <dc:creator>avdw</dc:creator>
      <dc:date>2023-04-10T14:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: OData Feed - Key matched more than one row</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OData-Feed-Key-matched-more-than-one-row/m-p/3183024#M42155</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/543661"&gt;@avdw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a setting&lt;STRONG&gt; "Automatic detection of column data type and headers" &lt;/STRONG&gt;in Power Query.&lt;/P&gt;
&lt;P&gt;This setting is specifically for unstructured sources. It helps you by automatically inspecting and detecting column types and headers based on the first 200 rows of your table. When this setting is enabled, Power Query automatically adds two steps to your query:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Promote column headers&lt;/STRONG&gt;: Promotes the first row of the table to be the column header.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Changed type&lt;/STRONG&gt;: Converts the values from the Any data type to a data type based on the inspection of the values from each column.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;By default, this setting is enabled. According to your description, maybe this problem is caused by automatic detection of column data type.&amp;nbsp;Automatically detected data type cause errors in data structure recognition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jianbo Li&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 02:55:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OData-Feed-Key-matched-more-than-one-row/m-p/3183024#M42155</guid>
      <dc:creator>v-jianboli-msft</dc:creator>
      <dc:date>2023-04-12T02:55:22Z</dc:date>
    </item>
  </channel>
</rss>

