<?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: Both Precedes and Follows in Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855436#M70602</link>
    <description>&lt;P&gt;Thank you, it works!&lt;/P&gt;
&lt;P&gt;I was not so far, but your solution is perfect!&lt;/P&gt;
&lt;P&gt;S.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 09:59:37 GMT</pubDate>
    <dc:creator>simospa</dc:creator>
    <dc:date>2021-11-04T09:59:37Z</dc:date>
    <item>
      <title>Both Precedes and Follows in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855415#M70600</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I'm trying to use precedes and follows in Set Analysis, and they are what I need: I saw the posts about them where&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41481"&gt;@petter&lt;/a&gt;&amp;nbsp;explained how to use "separately".&lt;/P&gt;
&lt;P&gt;But I need to use them... both in the same Set Analysis for the same field.&lt;/P&gt;
&lt;P&gt;For example: OrderNo between&amp;nbsp;&amp;nbsp;'V21013238' and 'V21016423' (I set them into two variables, &lt;EM&gt;vOrderFrom&lt;/EM&gt; and &lt;EM&gt;vOrderTo&lt;/EM&gt;).&lt;/P&gt;
&lt;P&gt;I tried to use:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sum({$&amp;lt; [OrderNo ] = {"=[OrderNo ] follows '$(vOrderFrom)' "},&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[OrderNo ] = {"=[OrderNo ] precedes '$(vOrderTo)' "}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt;} [Amount]) &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;but it doesn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any help please?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;S.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 09:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855415#M70600</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2021-11-04T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Both Precedes and Follows in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855417#M70601</link>
      <description>&lt;P&gt;Give a try like:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sum({$&amp;lt; [OrderNo ] = {"=[OrderNo ] follows '$(vOrderFrom)'&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;AND&amp;nbsp; &lt;/STRONG&gt;[&lt;/EM&gt;&lt;EM&gt;OrderNo ] precedes '$(vOrderTo)' "}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt;} [Amount])&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 09:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855417#M70601</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-11-04T09:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Both Precedes and Follows in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855436#M70602</link>
      <description>&lt;P&gt;Thank you, it works!&lt;/P&gt;
&lt;P&gt;I was not so far, but your solution is perfect!&lt;/P&gt;
&lt;P&gt;S.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 09:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Both-Precedes-and-Follows-in-Set-Analysis/m-p/1855436#M70602</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2021-11-04T09:59:37Z</dc:date>
    </item>
  </channel>
</rss>

