<?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: Trying to expand a json array into multiple columns in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3858335#M790</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="725876" data-lia-user-login="adamcodes716" class="lia-mention lia-mention-user"&gt;adamcodes716&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Glad to know that your query got resolved. Please continue using Fabric Community on your further queries.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 08:18:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-04-22T08:18:08Z</dc:date>
    <item>
      <title>Trying to expand a json array into multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3842356#M786</link>
      <description>&lt;P&gt;I am trying to set up an ingestion from an event hub to a KQL database.&amp;nbsp; The difficulty in doing this is that there is a payload field that is a few levels down.&amp;nbsp; I am trying to do this via the UI using an Event Processor to do this and I can go most of the way there.&amp;nbsp; I can get to the point where I have a column with the payload:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a simple example of that column:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;[{"name":"itemA", "section":"34", "key":"1234"}]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could use "expand" here, but this breaks out the payload into 3 rows.&amp;nbsp; The problem with this is that the "key" only exists in one of the rows and I have no way to tie it back to the other entries.&amp;nbsp; Is there another option using Event Processor?&amp;nbsp; I am trying to avoid doing this in code.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 18:25:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3842356#M786</guid>
      <dc:creator>adamcodes716</dc:creator>
      <dc:date>2024-04-16T18:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to expand a json array into multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3844397#M787</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="725876" data-lia-user-login="adamcodes716" class="lia-mention lia-mention-user"&gt;adamcodes716&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;You will need to do this KQL Queryset with 2 lines of code: mv-expand operator and bag_unpack() in KQL language. You can put these inside a function and call this function from Update Policies to transform this data on the fly.&lt;BR /&gt;&lt;BR /&gt;Docs to refer -&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-gb/azure/data-explorer/kusto/query/mv-expand-operator?context=%2Ffabric%2Fcontext%2Fcontext-rta&amp;amp;pivots=fabric" target="_blank"&gt;mv-expand operator - Azure Data Explorer &amp;amp; Real-Time Analytics | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-gb/azure/data-explorer/kusto/query/bag-unpack-plugin?context=%2Ffabric%2Fcontext%2Fcontext-rta&amp;amp;pivots=fabric" target="_blank"&gt;bag_unpack plugin - Azure Data Explorer &amp;amp; Real-Time Analytics | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful. Please let me know incase of further queries.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 07:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3844397#M787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-17T07:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to expand a json array into multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3849391#M788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="725876" data-lia-user-login="adamcodes716" class="lia-mention lia-mention-user"&gt;adamcodes716&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help .&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 10:46:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3849391#M788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-18T10:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to expand a json array into multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3853398#M789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="725876" data-lia-user-login="adamcodes716" class="lia-mention lia-mention-user"&gt;adamcodes716&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven’t heard from you on the last response and was just checking back to see if your query was answered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise, will respond back with the more details and we will try to help .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 10:31:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3853398#M789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-19T10:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to expand a json array into multiple columns</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3858335#M790</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="725876" data-lia-user-login="adamcodes716" class="lia-mention lia-mention-user"&gt;adamcodes716&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Glad to know that your query got resolved. Please continue using Fabric Community on your further queries.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 08:18:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Trying-to-expand-a-json-array-into-multiple-columns/m-p/3858335#M790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-22T08:18:08Z</dc:date>
    </item>
  </channel>
</rss>

