<?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 COUNTROWS for all Tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-COUNTROWS-for-all-Tables/m-p/2182101#M50806</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;I'm not aware of a way to do that other than:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Table1 = COUNTROWS('Table1')
  VAR __Table2 = COUNTROWS('Table2')
  VAR __Table3 = COUNTROWS('Table3')
RETURN
  __Table1 + __Table2 + __Table3&lt;/LI-CODE&gt;
&lt;P&gt;Another possibility would be to use DMV's which are at the heart of the Vertipaq Analyzer might be a path to victory.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/openspecs/sql_server_protocols/ms-ssas/eae69b5d-bd76-42d2-8429-665bf08d2cf0" target="_blank"&gt;[MS-SSAS]: DISCOVER_STORAGE_TABLES | Microsoft Docs&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 07:36:56 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2021-11-10T07:36:56Z</dc:date>
    <item>
      <title>Get COUNTROWS for all Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-COUNTROWS-for-all-Tables/m-p/2182052#M50805</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I have a PBI File where I am connected to 50 tables.&lt;/P&gt;&lt;P&gt;Now I would like to get the number of rows for all tables at once without creating a measure for each table.&lt;/P&gt;&lt;P&gt;Is this possible within PBI or by using DAX Studio or Tabular Editor?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 07:12:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-COUNTROWS-for-all-Tables/m-p/2182052#M50805</guid>
      <dc:creator>joshua1990</dc:creator>
      <dc:date>2021-11-10T07:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get COUNTROWS for all Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-COUNTROWS-for-all-Tables/m-p/2182101#M50806</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92006" data-lia-user-login="joshua1990" class="lia-mention lia-mention-user"&gt;joshua1990&lt;/a&gt;&amp;nbsp;I'm not aware of a way to do that other than:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Table1 = COUNTROWS('Table1')
  VAR __Table2 = COUNTROWS('Table2')
  VAR __Table3 = COUNTROWS('Table3')
RETURN
  __Table1 + __Table2 + __Table3&lt;/LI-CODE&gt;
&lt;P&gt;Another possibility would be to use DMV's which are at the heart of the Vertipaq Analyzer might be a path to victory.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/openspecs/sql_server_protocols/ms-ssas/eae69b5d-bd76-42d2-8429-665bf08d2cf0" target="_blank"&gt;[MS-SSAS]: DISCOVER_STORAGE_TABLES | Microsoft Docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 07:36:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-COUNTROWS-for-all-Tables/m-p/2182101#M50806</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2021-11-10T07:36:56Z</dc:date>
    </item>
  </channel>
</rss>

