<?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: Get Table information from dataset Programmatically in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1239174#M24858</link>
    <description>&lt;P&gt;Most likely you connected to the wrong endpoint. Different dataset maybe?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 17:18:58 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-07-21T17:18:58Z</dc:date>
    <item>
      <title>Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1228952#M24786</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to programatically get the information of datasource &amp;amp; tables used in a dataset (like some kind of metadata).&amp;nbsp;&lt;BR /&gt;I saw there is a GetDataSet API, but that works on the datasets that are published using REST API. It will be practically impossible for us to publish a report using REST API given the amount of data we have.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any suggestions please?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 17:12:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1228952#M24786</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-16T17:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229160#M24788</link>
      <description>&lt;P&gt;You can use any XMLA client (like SSMS, DAX Studio, ALM Toolkit etc) to connect to the XMLA endpoint of the dataset (assuming, of course, that you have access to the dataset) and pull down all the meta data.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 18:58:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229160#M24788</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-16T18:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229263#M24792</link>
      <description>&lt;P&gt;That is good information. Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;. I see that it is only supported for PowerBI premium subscriptions.&amp;nbsp;&lt;BR /&gt;Currently we don't have PowerBI premium. Do you know of a way which can work for us with Standard PowerBI subscription &amp;amp; workspace.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:58:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229263#M24792</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-16T19:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229397#M24795</link>
      <description>&lt;P&gt;Apologies, i did not qualify that. I have no experience outside of Premium. Maybe you need to be made a workspace member?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 22:25:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229397#M24795</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-16T22:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229534#M24797</link>
      <description>&lt;P&gt;So I got hold of a premium workspace and am able to connect to the XMLA endpoint.&amp;nbsp;&lt;BR /&gt;So far, I could get information like tables and columns from dataset perspective.&lt;BR /&gt;&lt;BR /&gt;We want to actually find the source table information, not the ones created in powerbi report/dataset. Sorry if that was not clear in my initial post.&lt;BR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;is there a way to get the source table information and the actual queries which are used to create the dataset tables.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 00:40:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229534#M24797</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-17T00:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229695#M24798</link>
      <description>&lt;P&gt;&lt;SPAN&gt;select&lt;/SPAN&gt; * &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_PARTITIONS&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 02:21:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1229695#M24798</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-17T02:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1231725#M24811</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;. I tried that at I dont see information of actual source in response.&amp;nbsp;&lt;BR /&gt;I still see the information about dataset tables, not the actual source SQL tables.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 17:57:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1231725#M24811</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-17T17:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1231774#M24812</link>
      <description>&lt;P&gt;Now you got me really confused.&amp;nbsp; Are you after the schema information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See if this blog helps you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2020/07/05/why-is-power-bi-running-my-sql-query-twice/" target="_blank"&gt;https://blog.crossjoin.co.uk/2020/07/05/why-is-power-bi-running-my-sql-query-twice/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 18:39:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1231774#M24812</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-17T18:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1231799#M24813</link>
      <description>&lt;P&gt;Sorry for the confusion&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;.&lt;BR /&gt;My need is to programatically find the list of source tables which are backing a given powerbi report.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 18:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1231799#M24813</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-17T18:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1232031#M24815</link>
      <description>&lt;P&gt;That's what I gave you with the DMV query.&amp;nbsp; You need to take that M code and parse it. It contains the server, database and query.&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="Annotation 2020-07-17 170405.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/314430iDE29C2093D5A7CD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2020-07-17 170405.png" alt="Annotation 2020-07-17 170405.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 21:05:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1232031#M24815</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-17T21:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1238918#M24855</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;, I am afraid I am getting different results for that query:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pgelli_1-1595344834851.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/316418i5B27FEAF47E41ACC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pgelli_1-1595344834851.png" alt="pgelli_1-1595344834851.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;These are not the tables present in our Source. Am I missing something?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 15:21:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1238918#M24855</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-21T15:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1239174#M24858</link>
      <description>&lt;P&gt;Most likely you connected to the wrong endpoint. Different dataset maybe?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 17:18:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1239174#M24858</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-21T17:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1242577#M24875</link>
      <description>&lt;P&gt;I verified that I am looking at right dataset. However, PowerBI report is built using "import" and not "direct query".&lt;BR /&gt;Does it make a difference&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 17:38:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1242577#M24875</guid>
      <dc:creator>pgelli</dc:creator>
      <dc:date>2020-07-22T17:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1242652#M24876</link>
      <description>&lt;P&gt;No, once you access the dataset it doesn't matter much if&amp;nbsp; the query connection type is import/ direct query or mixed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried it with one of my direct query datasets and got the expected result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As expected it will not work at all with live connections.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 18:05:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1242652#M24876</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-22T18:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Table information from dataset Programmatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1582277#M27044</link>
      <description>&lt;P&gt;I had the same problem as&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/246497"&gt;@pgelli&lt;/a&gt;&amp;nbsp;when using&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;'s suggestion of&amp;nbsp;SELECT * FROM $SYSTEM.TMSCHEMA_PARTITIONS; I was receiving the DAX QueryDefinitions and not the M Query defintions (super useful, just not what I needed).&amp;nbsp; What solved it for me was instead using&amp;nbsp; &lt;SPAN&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN&gt;FROM&lt;/SPAN&gt; &lt;SPAN&gt;$System&lt;/SPAN&gt;.DISCOVER_M_expressions.&amp;nbsp; Hopefully this saves someone else some time for this use case.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 14:55:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-Table-information-from-dataset-Programmatically/m-p/1582277#M27044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-05T14:55:59Z</dc:date>
    </item>
  </channel>
</rss>

