<?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: USQL useraction filter not working as expected in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/USQL-useraction-filter-not-working-as-expected/m-p/163408#M1652</link>
    <description>&lt;P&gt;Thanks to Collin of support I was pointed out that I needed to reverse my query, using useraction not usersession, and pull the session variables from usersession.&amp;lt;var&amp;gt;, thus:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;LI-CODE lang="markup"&gt;SELECT useraction.name, AVG(usersession.visuallyCompleteTime) AS VCT FROM useraction WHERE useraction.application='APPNAME1' AND usersession.browserType='Desktop Browser'  AND usersession.targetUrl STARTSWITH "https://my.site" AND useraction.name IN ("my - some page") GROUP BY useraction.name ORDER BY useraction.name DESC&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 13:10:02 GMT</pubDate>
    <dc:creator>fstekelenburg</dc:creator>
    <dc:date>2021-03-25T13:10:02Z</dc:date>
    <item>
      <title>USQL useraction filter not working as expected</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/USQL-useraction-filter-not-working-as-expected/m-p/163372#M1651</link>
      <description>&lt;P&gt;I am trying to create a table of selected key user actions with a filter based on their name. However, whatever I try to use as filter on&amp;nbsp;useraction.name, the result set contains more results than the desired selection.&amp;nbsp;No matter if I use&amp;nbsp;useraction.name IN, IS, =, STARTWITH or LIKE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;SELECT useraction.name, AVG(useraction.visuallyCompleteTime) AS VCT FROM usersession WHERE useraction.application='APPNAME1' AND browserType='Desktop Browser'  AND useraction.targetUrl STARTSWITH "https://my.site" AND useraction.name IN ("my - some page") GROUP BY useraction.name ORDER BY useraction.name DESC&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Other selections that appear not to have a result are&amp;nbsp; &lt;FONT face="courier new,courier" size="2"&gt;useraction.keyUserAction IS true&lt;/FONT&gt; and &lt;FONT face="courier new,courier" size="2"&gt;useraction.internalKeyUserActionId STARTSWITH "APPL"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&lt;BR /&gt;&lt;/FONT&gt;Example of query result, with expected results in green box:&lt;FONT face="courier new,courier" size="2"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fstekelenburg_0-1616628750847.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/415iE972DEB4631D8A24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fstekelenburg_0-1616628750847.png" alt="fstekelenburg_0-1616628750847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 23:37:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/USQL-useraction-filter-not-working-as-expected/m-p/163372#M1651</guid>
      <dc:creator>fstekelenburg</dc:creator>
      <dc:date>2021-03-24T23:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: USQL useraction filter not working as expected</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/USQL-useraction-filter-not-working-as-expected/m-p/163408#M1652</link>
      <description>&lt;P&gt;Thanks to Collin of support I was pointed out that I needed to reverse my query, using useraction not usersession, and pull the session variables from usersession.&amp;lt;var&amp;gt;, thus:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;LI-CODE lang="markup"&gt;SELECT useraction.name, AVG(usersession.visuallyCompleteTime) AS VCT FROM useraction WHERE useraction.application='APPNAME1' AND usersession.browserType='Desktop Browser'  AND usersession.targetUrl STARTSWITH "https://my.site" AND useraction.name IN ("my - some page") GROUP BY useraction.name ORDER BY useraction.name DESC&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 13:10:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/USQL-useraction-filter-not-working-as-expected/m-p/163408#M1652</guid>
      <dc:creator>fstekelenburg</dc:creator>
      <dc:date>2021-03-25T13:10:02Z</dc:date>
    </item>
  </channel>
</rss>

