<?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 Count Number of Groupings in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258192#M4400</link>
    <description>&lt;P&gt;I'm using the below query but it's not giving me the exact&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT userSessionId, COUNT(*) FILTER &amp;gt; 1 FROM usersession GROUP BY userSessionId&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This give me the table with all the results, but I'm looking for the total number of groupings. Basically, this is the result:&lt;/P&gt;&lt;TABLE border="1" width="44.44404897494305%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;userSessionId&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;count(*)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXXXXXX-XX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXXXXXXXXXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm looking to get 5 - or the total number of rows (groups) in the table.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 20:24:19 GMT</pubDate>
    <dc:creator>awassel</dc:creator>
    <dc:date>2024-10-04T20:24:19Z</dc:date>
    <item>
      <title>Count Number of Groupings</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258192#M4400</link>
      <description>&lt;P&gt;I'm using the below query but it's not giving me the exact&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT userSessionId, COUNT(*) FILTER &amp;gt; 1 FROM usersession GROUP BY userSessionId&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This give me the table with all the results, but I'm looking for the total number of groupings. Basically, this is the result:&lt;/P&gt;&lt;TABLE border="1" width="44.44404897494305%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;userSessionId&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;count(*)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXXXXXX-XX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;XXXXXXXXXXXXXXX&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm looking to get 5 - or the total number of rows (groups) in the table.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 20:24:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258192#M4400</guid>
      <dc:creator>awassel</dc:creator>
      <dc:date>2024-10-04T20:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of Groupings</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258305#M4401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81462"&gt;@awassel&lt;/a&gt;&amp;nbsp;,&amp;nbsp; &amp;nbsp;Does something like below work ? If not, could you please elaborate your query a bit further&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT COUNT(DISTINCT userSessionId) AS sessionCount
FROM usersession&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 02:52:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258305#M4401</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2024-10-07T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count Number of Groupings</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258317#M4402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81462"&gt;@awassel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the attached query the below result will be presented&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Youssef_0-1728281088195.png" style="width: 734px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23320i9CEC2FC3E7ACE89B/image-dimensions/734x387?v=v2" width="734" height="387" role="button" title="Peter_Youssef_0-1728281088195.png" alt="Peter_Youssef_0-1728281088195.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And as per the query provided by&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21657"&gt;@p_devulapalli&lt;/a&gt;, the below result is presented.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Peter_Youssef_1-1728281153444.png" style="width: 776px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23321i6CA4FA96915B3F81/image-dimensions/776x289?v=v2" width="776" height="289" role="button" title="Peter_Youssef_1-1728281153444.png" alt="Peter_Youssef_1-1728281153444.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 06:06:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Count-Number-of-Groupings/m-p/258317#M4402</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-10-07T06:06:24Z</dc:date>
    </item>
  </channel>
</rss>

