<?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: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2235729#M22176</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;Interesting. I get rather inconsistent results. need to test more variations. What would be the reason for Query3 to not appear in the attached sample? Where can I see the lineage details?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 14:16:47 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-12-13T14:16:47Z</dc:date>
    <item>
      <title>DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2233069#M22155</link>
      <description>&lt;P&gt;I try to get the list of tables with M codes from PowerBI online Analysis Service.&lt;/P&gt;&lt;P&gt;I managed to get the required data with the request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT *&lt;BR /&gt;FROM $SYSTEM.TMSCHEMA_PARTITIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesn't show any tables that were selected &lt;STRONG&gt;not to "Load"&lt;/STRONG&gt; in PowerQuery.&lt;/P&gt;&lt;P&gt;The purpose of this task is to get all data connections from a dataset and hidden tables are essential.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to get the hidden tables' codes?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 18:37:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2233069#M22155</guid>
      <dc:creator>olegkazanskyi</dc:creator>
      <dc:date>2021-12-10T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234489#M22160</link>
      <description>&lt;P&gt;Interesting observation.&amp;nbsp; You can see the "hidden" queries with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&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_PARTITION_STORAGES&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but you can't get to the query meta data.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 02:17:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234489#M22160</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-13T02:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234567#M22164</link>
      <description>&lt;P&gt;Partitions are the objects that hold the data that gets loaded into the model, so it is not expected that the partition information would show you any queries that are marked as "not loaded". So this has nothing to do with the partitions being hidden.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The location of the query metadata has changed over the years, but I believe you will find these queries in the $SYSTEM.TMSCHEMA_EXPRESSIONS DMV.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 02:54:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234567#M22164</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-12-13T02:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234607#M22165</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp; that one also only shows the queries that have Load enabled.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 03:11:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234607#M22165</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-13T03:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234639#M22168</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&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;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp; that one also only shows the queries that have Load enabled.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not according to my tests.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just added 2 queries to DimProductCategory both set to disable the load, one was referenced as a merged query for DimProductSubcategory the other was completely unreferenced and both show up in the TMSCHEMA_EXPRESSIONS and neither show up in TMSCHEMA_PARTITIONS (although I can see a reference to the first one in the merge step in the DimProductSubcategory M code )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 03:36:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2234639#M22168</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-12-13T03:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2235729#M22176</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;Interesting. I get rather inconsistent results. need to test more variations. What would be the reason for Query3 to not appear in the attached sample? Where can I see the lineage details?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 14:16:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2235729#M22176</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-13T14:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2236672#M22181</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&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;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Interesting. I get rather inconsistent results. need to test more variations. What would be the reason for Query3 to not appear in the attached sample?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So the documentation for the DMVs is pretty poor, but it seems to me that TMSCHEMA_PARTITIONS contains the text for any queries that are loaded and TMSCHEMA_EXPRESSIONS contains the text for any queries that are not loaded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So when I query your file I see the following&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TMSCHEMA_PARTITIONS - shows "Query 3"&lt;/P&gt;
&lt;P&gt;TMSCHEMA_EXPRESSIONS - shows "Query 1" and "Query 2"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&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;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;Where can I see the lineage details?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If I query the DISCOVER_CALC_DEPENDENCY DMV I can see that "Query 3" has a dependency on "Query 1"&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 23:52:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2236672#M22181</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2021-12-13T23:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2236695#M22182</link>
      <description>&lt;P&gt;Brilliant.&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="322326" data-lia-user-login="olegkazanskyi" class="lia-mention lia-mention-user"&gt;olegkazanskyi&lt;/a&gt;&amp;nbsp;this means you need to run both DMVs to get your desired result.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 00:49:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2236695#M22182</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-12-14T00:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: DMV request to Power BI Server Analysis Services for hidden tables in PowerQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2238738#M22198</link>
      <description>&lt;P&gt;This is a wonderful insight into the DMV queries results.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 17:50:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/DMV-request-to-Power-BI-Server-Analysis-Services-for-hidden/m-p/2238738#M22198</guid>
      <dc:creator>olegkazanskyi</dc:creator>
      <dc:date>2021-12-14T17:50:33Z</dc:date>
    </item>
  </channel>
</rss>

