<?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: JSON file on SharePoint Folder in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2510684#M76088</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368785" data-lia-user-login="PBI_Vladimir" class="lia-mention lia-mention-user"&gt;PBI_Vladimir&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;please try the following code for that query&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#"Transform Sample file" &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
Source = Json.Document(Parameter, 65001),
#"Converted to table" = Table.FromRows(Source)
in
#"Converted to table"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Otherwise, if that doesn't work, please post a screenshot of the result that the step "Source" in that query returns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 13:15:34 GMT</pubDate>
    <dc:creator>ImkeF</dc:creator>
    <dc:date>2022-05-12T13:15:34Z</dc:date>
    <item>
      <title>JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2508297#M76015</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have JSON file in sharepoint folder but when I try to make Dataflow with PQ and when I load file and click on Content column (Binary) in order to load content I got this error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Any help? Thanks in advance.&lt;BR /&gt;Vlada&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:07:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2508297#M76015</guid>
      <dc:creator>PBI_Vladimir</dc:creator>
      <dc:date>2022-05-11T16:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2509717#M76057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368785" data-lia-user-login="PBI_Vladimir" class="lia-mention lia-mention-user"&gt;PBI_Vladimir&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;to debug this error, please go to the query "Transform Sample file" instead and go to the step where the error occurs (usually, you get a buttton at the last step that "jumps" you to the problematic step).&lt;BR /&gt;Please paste the M-code for that error here then.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 07:28:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2509717#M76057</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2022-05-12T07:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2509863#M76066</link>
      <description>&lt;P&gt;Hi ImkeF,&lt;BR /&gt;Thank you for help, here the picture of Transform Sample File ...&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and on Show Details here is&amp;nbsp; a code&lt;/P&gt;&lt;P&gt;---------- Message ----------&lt;BR /&gt;Expression.Error: We cannot convert a value of type List to type Record.&lt;/P&gt;&lt;P&gt;---------- Session ID ----------&lt;BR /&gt;fb4b7769-0f81-4880-a977-2f1b44caf803&lt;/P&gt;&lt;P&gt;---------- Request ID ----------&lt;BR /&gt;89abd794-fa39-4c26-8e81-70141f6fa193&lt;/P&gt;&lt;P&gt;---------- Mashup script ----------&lt;BR /&gt;section Section1;&lt;BR /&gt;shared Query = let&lt;BR /&gt;Source = SharePoint.Files("&lt;A href="https://tbint.sharepoint.com/sites/BI" target="_blank" rel="noopener"&gt;https://sharepoint........&lt;/A&gt;", [ApiVersion = 15]),&lt;BR /&gt;#"Filtered rows" = Table.SelectRows(Source, each ([Name] = "ZammadDataFull.json")),&lt;BR /&gt;#"Filtered hidden files" = Table.SelectRows(#"Filtered rows", each [Attributes]?[Hidden]? &amp;lt;&amp;gt; true),&lt;BR /&gt;#"Invoke custom function" = Table.AddColumn(#"Filtered hidden files", "Transform file", each #"Transform file"([Content])),&lt;BR /&gt;#"Renamed columns" = Table.RenameColumns(#"Invoke custom function", {{"Name", "Source.Name"}}),&lt;BR /&gt;#"Removed other columns" = Table.SelectColumns(#"Renamed columns", {"Source.Name", "Transform file"}),&lt;BR /&gt;#"Expanded table column" = Table.ExpandTableColumn(#"Removed other columns", "Transform file", Table.ColumnNames(#"Transform file"(#"Sample file")))&lt;BR /&gt;in&lt;BR /&gt;#"Expanded table column";&lt;BR /&gt;shared #"Sample file" = let&lt;BR /&gt;Source = SharePoint.Files("&lt;A href="https://tbint.sharepoint.com/sites/BI" target="_blank" rel="noopener"&gt;https://sharepoint......&lt;/A&gt;", [ApiVersion = 15]),&lt;BR /&gt;#"Filtered rows" = Table.SelectRows(Source, each [Name] = "ZammadDataFull.json"),&lt;BR /&gt;#"Filtered hidden files" = Table.SelectRows(#"Filtered rows", each [Attributes]?[Hidden]? &amp;lt;&amp;gt; true),&lt;BR /&gt;Navigation = #"Filtered hidden files"{0}[Content]&lt;BR /&gt;in&lt;BR /&gt;Navigation;&lt;BR /&gt;shared Parameter = let&lt;BR /&gt;Parameter = #"Sample file" meta [IsParameterQuery = true, IsParameterQueryRequired = true, Type = type binary, BinaryIdentifier = #"Sample file"]&lt;BR /&gt;in&lt;BR /&gt;Parameter;&lt;BR /&gt;shared #"Transform Sample file" = let&lt;BR /&gt;Source = Json.Document(Parameter, 65001),&lt;BR /&gt;#"Converted to table" = Record.ToTable(Source)&lt;BR /&gt;in&lt;BR /&gt;#"Converted to table";&lt;BR /&gt;[FunctionQueryBinding = "{""exemplarFormulaName"":""Transform Sample file""}"]&lt;BR /&gt;shared #"Transform file" = (Parameter as binary) =&amp;gt; let&lt;BR /&gt;Source = Json.Document(Parameter, 65001),&lt;BR /&gt;#"Converted to table" = Record.ToTable(Source)&lt;BR /&gt;in&lt;BR /&gt;#"Converted to table";&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 09:42:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2509863#M76066</guid>
      <dc:creator>PBI_Vladimir</dc:creator>
      <dc:date>2022-05-12T09:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2510684#M76088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368785" data-lia-user-login="PBI_Vladimir" class="lia-mention lia-mention-user"&gt;PBI_Vladimir&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;please try the following code for that query&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#"Transform Sample file" &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
Source = Json.Document(Parameter, 65001),
#"Converted to table" = Table.FromRows(Source)
in
#"Converted to table"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Otherwise, if that doesn't work, please post a screenshot of the result that the step "Source" in that query returns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 13:15:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2510684#M76088</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2022-05-12T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2517035#M76300</link>
      <description>&lt;P&gt;If I good understand - this screen shot.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 09:05:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2517035#M76300</guid>
      <dc:creator>PBI_Vladimir</dc:creator>
      <dc:date>2022-05-16T09:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2525860#M76641</link>
      <description>&lt;P&gt;I did it, I put:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;Source&amp;nbsp;=&amp;nbsp;Json.Document(Parameter,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;65001&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;#"Converted&amp;nbsp;to&amp;nbsp;table"&amp;nbsp;=&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;Table.FromRecords&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;(Source)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;#"Converted&amp;nbsp;to&amp;nbsp;table"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;-------------&lt;/P&gt;&lt;P&gt;and it's works&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 09:11:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2525860#M76641</guid>
      <dc:creator>PBI_Vladimir</dc:creator>
      <dc:date>2022-05-19T09:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2527404#M76705</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="368785" data-lia-user-login="PBI_Vladimir" class="lia-mention lia-mention-user"&gt;PBI_Vladimir&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;sorry, missed your previous response.&lt;BR /&gt;What I need is a screenshot of the Source-step of the query "Transform Sample File" instead of the one you've posted.&lt;BR /&gt;Thx!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 18:45:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2527404#M76705</guid>
      <dc:creator>ImkeF</dc:creator>
      <dc:date>2022-05-19T18:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: JSON file on SharePoint Folder</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2527471#M76708</link>
      <description>&lt;P&gt;Hi ImkeF,&lt;BR /&gt;thank you!&lt;BR /&gt;With Your answers, You encouraged me to think and research&amp;nbsp; and so I found a solution (see my reply below)&lt;/P&gt;&lt;P&gt;-----------&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;let&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;Source&amp;nbsp;=&amp;nbsp;Json.Document(Parameter,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;65001&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;#"Converted&amp;nbsp;to&amp;nbsp;table"&amp;nbsp;=&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;STRONG&gt;Table.FromRecords&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;(Source)&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;#"Converted&amp;nbsp;to&amp;nbsp;table"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;----------------------------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;regards&lt;BR /&gt;Vlada&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 19:25:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/JSON-file-on-SharePoint-Folder/m-p/2527471#M76708</guid>
      <dc:creator>PBI_Vladimir</dc:creator>
      <dc:date>2022-05-19T19:25:23Z</dc:date>
    </item>
  </channel>
</rss>

