<?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 Get information of each dataset in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3500662#M45138</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;To retrieve information about workspace names, dataset names, report names, table names, and column names in Power BI for each dataset within each workspace and export this information to a CSV file using PowerShell,&lt;BR /&gt;&lt;BR /&gt;kindly provide Powershell code for the above requirements&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2023 07:09:58 GMT</pubDate>
    <dc:creator>mohitkumawat</dc:creator>
    <dc:date>2023-10-27T07:09:58Z</dc:date>
    <item>
      <title>Get information of each dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3500662#M45138</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;To retrieve information about workspace names, dataset names, report names, table names, and column names in Power BI for each dataset within each workspace and export this information to a CSV file using PowerShell,&lt;BR /&gt;&lt;BR /&gt;kindly provide Powershell code for the above requirements&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 07:09:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3500662#M45138</guid>
      <dc:creator>mohitkumawat</dc:creator>
      <dc:date>2023-10-27T07:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get information of each dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3500710#M45139</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 07:36:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3500710#M45139</guid>
      <dc:creator>mohitkumawat</dc:creator>
      <dc:date>2023-10-27T07:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get information of each dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3503604#M45167</link>
      <description>&lt;P&gt;You can try this script by Ferry Bouwman&amp;nbsp;&lt;A href="https://github.com/ferrybouwman/Power-BI-Read-Only-REST-API/blob/main/Powershell/Read-only%20Admin%20API.ps1" target="_blank" rel="noopener"&gt;Power-BI-Read-Only-REST-API/Powershell/Read-only Admin API.ps1 at main · ferrybouwman/Power-BI-Read-Only-REST-API · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't tested this myself, I use ADF and SQL DB but it should get you part of the way to your goal. However, you will still need to expand the JSON to get the dataset, report and table details etc. You might also need to amend the script and update your PBI admin settings to get the tables component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Example to get the Reports data out of the scanResult output if you wanted to land the data in SQL DB but otherwise you could just use the script outpput and expand in Power Query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT WorkspaceId, state, datasetId, createdDateTime, modifiedDateTime, id ReportId, name ReportName&lt;BR /&gt;FROM (SELECT id AS WorkspaceId, state, reports&lt;BR /&gt;FROM [stgpowerbi].[WorkspaceInfo]) AS A CROSS Apply OpenJson(reports) WITH (id nvarchar(max), datasetId nvarchar(max), createdDateTime date, modifiedDateTime date, name nvarchar(max))&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 02:48:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-information-of-each-dataset/m-p/3503604#M45167</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-30T02:48:23Z</dc:date>
    </item>
  </channel>
</rss>

