<?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: Transform JSON which contains Column Definitions and Row Data into single table in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592201#M18036</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/99901"&gt;@thnerd&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you like to change the column type based on the "type" of JSON file? Or you just want to show it in the data. If it's the former one, I think it would be complicated. Because these types are different from Power BI. Please refer to the snapshot below. If it's the latter one, how should it be?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ibb.co/hC2B2tR" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/7ed67374c15f95571f54d8025d8903275509ee64/68747470733a2f2f692e6962622e636f2f64376b506b7a302f5472616e73666f726d2d4a534f4e2d77686963682d636f6e7461696e732d436f6c756d6e2d446566696e6974696f6e732d616e642d526f772d446174612d696e746f2d73696e676c652d7461626c65322e706e67" border="0" alt="Transform-JSON-which-contains-Column-Definitions-and-Row-Data-into-single-table2" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2018 02:14:28 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2018-12-28T02:14:28Z</dc:date>
    <item>
      <title>Transform JSON which contains Column Definitions and Row Data into single table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/591276#M18002</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck... I have a JSON source which contains Column Definitions as well as Row Data and I need to combine the results into a single table. The data is always related. There is a caveat to this plea for help which is that this needs to be dynamic in the form of a function, all columns will need to be expaned automatically etc.&amp;nbsp; I have shortened this example json for ease/brevity but there are many tables and columns which I will not know the contents of before run-time. *Bonus would be to assign the Power Query Table datatype based on the Column Definition "type", but that is a wishlist item, not required to get me where I need to go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached some screenshots that I thought might be helpful as well as a sample JSON file for reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance for any assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="json.jpg" style="width: 232px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138562i2B71F4541CE8CBD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="json.jpg" alt="json.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="coldef.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138563i4F6DA4802AF27672/image-size/large?v=v2&amp;amp;px=999" role="button" title="coldef.jpg" alt="coldef.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rowdef.jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138564i19587FD5D93B636E/image-size/large?v=v2&amp;amp;px=999" role="button" title="rowdef.jpg" alt="rowdef.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="excel.jpg" style="width: 549px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/138565iD150B90E6DA36EC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="excel.jpg" alt="excel.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="JSON File" href="https://ufile.io/0rnxd" target="_blank"&gt;JSON File&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Dec 2018 06:24:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/591276#M18002</guid>
      <dc:creator>thnerd</dc:creator>
      <dc:date>2018-12-26T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Transform JSON which contains Column Definitions and Row Data into single table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/591805#M18021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/99901"&gt;@thnerd&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please download the demo from the attachment. It's dynamic. Please refer to the steps in the Query Editor for details. Some steps need customized formulas. Please double click the steps for details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ibb.co/Rb4VmFX" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/fb1a73ca9364aca8feab7561aad7b3e9ad93508c/68747470733a2f2f692e6962622e636f2f4a74464d3431592f5472616e73666f726d2d4a534f4e2d77686963682d636f6e7461696e732d436f6c756d6e2d446566696e6974696f6e732d616e642d526f772d446174612d696e746f2d73696e676c652d7461626c652e706e67" border="0" alt="Transform-JSON-which-contains-Column-Definitions-and-Row-Data-into-single-table" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 08:21:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/591805#M18021</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-12-27T08:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Transform JSON which contains Column Definitions and Row Data into single table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592044#M18034</link>
      <description>&lt;P&gt;Thank you Dale! It might be worth adding the name of the "type" of JSON that is represented in this example to this post, however I do not know what that is called. (i.e. multidimensional etc - though I dont think that is what this one is). If you&amp;nbsp; or anyone knows i would be happy to include in the original post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again! ~thn&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 15:57:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592044#M18034</guid>
      <dc:creator>thnerd</dc:creator>
      <dc:date>2018-12-27T15:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Transform JSON which contains Column Definitions and Row Data into single table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592201#M18036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/99901"&gt;@thnerd&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you like to change the column type based on the "type" of JSON file? Or you just want to show it in the data. If it's the former one, I think it would be complicated. Because these types are different from Power BI. Please refer to the snapshot below. If it's the latter one, how should it be?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://ibb.co/hC2B2tR" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/7ed67374c15f95571f54d8025d8903275509ee64/68747470733a2f2f692e6962622e636f2f64376b506b7a302f5472616e73666f726d2d4a534f4e2d77686963682d636f6e7461696e732d436f6c756d6e2d446566696e6974696f6e732d616e642d526f772d446174612d696e746f2d73696e676c652d7461626c65322e706e67" border="0" alt="Transform-JSON-which-contains-Column-Definitions-and-Row-Data-into-single-table2" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 02:14:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592201#M18036</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-12-28T02:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transform JSON which contains Column Definitions and Row Data into single table</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592203#M18037</link>
      <description>&lt;P&gt;Hi Dale, Ideally yes, even with some logic to set "Numeric" to decimal or something would work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I was referring to ealier was the "type" of JSON schema the example is in. Thought it might be worth including in the description to help others in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am all set, thanks again!&lt;/P&gt;&lt;P&gt;~thn&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 02:17:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Transform-JSON-which-contains-Column-Definitions-and-Row-Data/m-p/592203#M18037</guid>
      <dc:creator>thnerd</dc:creator>
      <dc:date>2018-12-28T02:17:52Z</dc:date>
    </item>
  </channel>
</rss>

