<?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: Make selection based on a set expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Make-selection-based-on-a-set-expression/m-p/721256#M476028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Eric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you really need the selection to be on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;session_id&lt;/SPAN&gt;? If the selection is made on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;delta_total&lt;/SPAN&gt;, the resulting subset will be the same. If you decide to select on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;delta_total&lt;/SPAN&gt;, the search string is as simple as &amp;gt;0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want to select &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;session_id&lt;/SPAN&gt;, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;='(' &amp;amp; Concat(Distinct {&amp;lt;$(=vDateAlias)={"&amp;gt;=$(=vRangeDate1)&amp;lt;=$(=vRangeDate2)"}, delta_total={&amp;gt;0}&amp;gt;} [session_id]), '|') &amp;amp; ')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards.'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 18:20:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-20T18:20:41Z</dc:date>
    <item>
      <title>Make selection based on a set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Make-selection-based-on-a-set-expression/m-p/721255#M476027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column of delta counts between two types of transactions that can happen in a session.&amp;nbsp; Basically, if a transaction is attempted 3 times and succeeds 1 time, the delta column for the given transaction will show 2 (3-1 = 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to add some functionality where a user can add a selection for all of the sessions that have delta &amp;gt; 0 by clicking a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I've created a button, and I believe it needs a Select In Field action.&amp;nbsp; I've included the ID field selection to be set (expecting I'm going to fill it with a list of session IDs that had one of these deltas).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm stumped as to how to get a list of relevant IDs from a set analysis into my field selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something like this that I can put into my button to make the selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SELECT({&amp;lt;$(=vDateAlias)={"&amp;gt;=$(=vRangeDate1)&amp;lt;=$(=vRangeDate2)"}, delta_total={&amp;gt;0}&amp;gt;} [session_id]) //Would produce a list of IDs in the current selection that have a delta_total dimension greater than zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 17:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-selection-based-on-a-set-expression/m-p/721255#M476027</guid>
      <dc:creator />
      <dc:date>2014-06-20T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Make selection based on a set expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Make-selection-based-on-a-set-expression/m-p/721256#M476028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Eric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you really need the selection to be on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;session_id&lt;/SPAN&gt;? If the selection is made on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;delta_total&lt;/SPAN&gt;, the resulting subset will be the same. If you decide to select on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;delta_total&lt;/SPAN&gt;, the search string is as simple as &amp;gt;0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really want to select &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;session_id&lt;/SPAN&gt;, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;='(' &amp;amp; Concat(Distinct {&amp;lt;$(=vDateAlias)={"&amp;gt;=$(=vRangeDate1)&amp;lt;=$(=vRangeDate2)"}, delta_total={&amp;gt;0}&amp;gt;} [session_id]), '|') &amp;amp; ')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards.'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 18:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Make-selection-based-on-a-set-expression/m-p/721256#M476028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-20T18:20:41Z</dc:date>
    </item>
  </channel>
</rss>

