<?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 Set Analysis Syntax Issue (Qlik Sense 3.2)? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75744#M5022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue where my set analysis formulas occasionally require tweaking for some preposterous reason. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #666699;"&gt;Example &lt;SPAN style="color: #23db23;"&gt;1&lt;/SPAN&gt;:&lt;/SPAN&gt; count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;SurgeryDate&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;{'&amp;gt;=(&lt;SPAN style="color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;)'} &amp;gt;} &lt;SPAN style="color: #ff9900;"&gt;ID&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;/*filters as expected*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #666699;"&gt;Example &lt;SPAN style="color: #ff0000;"&gt;2&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;Contact_Date&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;{'&amp;gt;=(&lt;SPAN style="color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;)'} &amp;gt;}&lt;SPAN style="color: #ff9900;"&gt; ID&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;/*doesn’t filter; returns entire dataset*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #666699;"&gt;Example &lt;SPAN style="color: #23db23;"&gt;3&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;Contact_Date&lt;/SPAN&gt;={'&amp;gt;=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;(=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;(&lt;SPAN style="color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;))'} &amp;gt;}&lt;SPAN style="color: #ff6600;"&gt; &lt;SPAN style="color: #ff9900;"&gt;ID&lt;/SPAN&gt;&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;/*filters as desired but requires additional prepping */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can &lt;STRONG&gt;&lt;EM&gt;eventually&lt;/EM&gt;&lt;/STRONG&gt; get the data to appear as I want with the method of trial and error. Why isn’t the syntax consistent? The only difference between Example 1 and Example 2 is the name of the various date fields, so why do I need to perform the alternate extra dollar sign expansion syntax? Worst case scenario when I can't get it to work in Qlik I can always use&lt;SPAN style="font-size: 10pt;"&gt; SQL but I would really like to learn the elusive mysteries of Qlik Sense 3.2. Any explanations would be greatly appreciated! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image result for trial and error meme" class="jive-image" src="http://www.memecreator.com/static/images/memes/312698.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2018 20:11:32 GMT</pubDate>
    <dc:creator>wdchristensen</dc:creator>
    <dc:date>2018-02-08T20:11:32Z</dc:date>
    <item>
      <title>Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75744#M5022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue where my set analysis formulas occasionally require tweaking for some preposterous reason. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #666699;"&gt;Example &lt;SPAN style="color: #23db23;"&gt;1&lt;/SPAN&gt;:&lt;/SPAN&gt; count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;SurgeryDate&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;{'&amp;gt;=(&lt;SPAN style="color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;)'} &amp;gt;} &lt;SPAN style="color: #ff9900;"&gt;ID&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;/*filters as expected*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #666699;"&gt;Example &lt;SPAN style="color: #ff0000;"&gt;2&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;Contact_Date&lt;/SPAN&gt;=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;{'&amp;gt;=(&lt;SPAN style="color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;)'} &amp;gt;}&lt;SPAN style="color: #ff9900;"&gt; ID&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;/*doesn’t filter; returns entire dataset*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #666699;"&gt;Example &lt;SPAN style="color: #23db23;"&gt;3&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt; &lt;/SPAN&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #ff9900;"&gt;Contact_Date&lt;/SPAN&gt;={'&amp;gt;=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;(=&lt;SPAN style="color: #0000ff;"&gt;$&lt;/SPAN&gt;(&lt;SPAN style="color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;))'} &amp;gt;}&lt;SPAN style="color: #ff6600;"&gt; &lt;SPAN style="color: #ff9900;"&gt;ID&lt;/SPAN&gt;&lt;/SPAN&gt;) &lt;SPAN style="color: #008000;"&gt;/*filters as desired but requires additional prepping */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can &lt;STRONG&gt;&lt;EM&gt;eventually&lt;/EM&gt;&lt;/STRONG&gt; get the data to appear as I want with the method of trial and error. Why isn’t the syntax consistent? The only difference between Example 1 and Example 2 is the name of the various date fields, so why do I need to perform the alternate extra dollar sign expansion syntax? Worst case scenario when I can't get it to work in Qlik I can always use&lt;SPAN style="font-size: 10pt;"&gt; SQL but I would really like to learn the elusive mysteries of Qlik Sense 3.2. Any explanations would be greatly appreciated! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image result for trial and error meme" class="jive-image" src="http://www.memecreator.com/static/images/memes/312698.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75744#M5022</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-08T20:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75745#M5023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dates in set analysis can be tricky... check here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, check this for dollar sign expansion&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75745#M5023</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-08T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75746#M5024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, I appreciate the response. I agree set analysis can be tricky, but my &lt;STRONG&gt;real&lt;/STRONG&gt; issue is with the inconsistency of the syntax. In my example (1 &amp;amp; 2), the set analysis formulas are identical except the name of the date field to filter is different. Why do I need a different syntax? &lt;STRONG&gt;Why&lt;/STRONG&gt; can't I just switch out the date field name and be done? In what other way are the two scenarios different? Perhaps the answer lies within the links you sent but I didn't find it. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="TrinityTheMatrix.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192893_TrinityTheMatrix.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75746#M5024</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-08T20:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75747#M5025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange!, $ in first two examples looks wrong to me. Are you sure there is no typo here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75747#M5025</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-08T21:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75748#M5026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I copied and pasted my formulas so they should be correct. See the screenshot below: &lt;/P&gt;&lt;P&gt;&lt;IMG alt="ExampleSetAnalysis.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192894_ExampleSetAnalysis.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75748#M5026</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-08T21:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75749#M5027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="ExampleWorking.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192895_ExampleWorking.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75749#M5027</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-08T21:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75750#M5028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hate to break it to you, but your last syntax shouldn't work. If it appears to be working, it is accidental.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few pointers for you to consider:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Set Analysis is mimicking the regular filter selection behavior. If you are searching for something that's not there, what is going to be the "correct" result - an empty set or the full set with no selections made?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- The difference between two fields with the same condition is hidden in the data. One field may have valid values in the desired range, and the other field may have no values that correspond to the search. The behavior can be different in these situations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Two different filters &lt;EM&gt;applied to the same field&lt;/EM&gt; and listed one after the other in Set Analysis, will not return the intersection of the two, as you'd possibly expect. The second filter will replace the first one. So, in your example, it's only the "&amp;lt;" condition that's applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Finally, I don't think that the syntax with the $-sign outside of the values {...} can work at all. If you are getting the results that you are expecting, it's most likely accidental. Unless you uncovered a hudden "feature" that's unknown to the world, this syntax is just wrong...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like to demystify Set Analysis, AGGR, and many other advanced development techniques and stop the guesswork, I encourage you to check out the agenda of the &lt;A href="https://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt;. We teach all these advanced topics with a great deal of detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky &lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming to Prague in April!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75750#M5028</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2018-02-08T21:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75751#M5029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff99cc; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vStartOfCurrentFiscalYear &lt;SPAN style="color: #000000;"&gt;is a variable in my example.&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 22:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75751#M5029</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-08T22:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75752#M5030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'$' cannot be outside {} in set expression, I am seeing for the first time, as per the documentation this syntax is not correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 22:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75752#M5030</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-08T22:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75753#M5031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your help figuring this out. Firstly, as I am sure you suspected I didn’t discover a previously unknown syntax for Qlik. I copied the syntax from a “&lt;EM&gt;working&lt;/EM&gt;” application that I didn’t build. The application had a stored procedure which was filtering the data by the date on the load so the magical expression just happened to evaluate to true no matter what the date was. Because I believed it was performing the necessary filtering, I was totally stumped as to why the behavior was not repeatable but Oleg was right in that the “correct” result was merely a coincidence. So the assumption that the filter was actually filtering was the assumption that led me down this rabbit hole. I appreciate everyone that took the time to help me understand my issue. THANK YOU ALL!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 15:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75753#M5031</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-02-09T15:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax Issue (Qlik Sense 3.2)?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75754#M5032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I got that... Perhaps the syntax that you were shooting for, is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;SurgeryDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;{"&amp;gt;=$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;)"} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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; font-size: 12px;"&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; font-size: 12px;"&gt;Notice:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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; font-size: 12px;"&gt;1. $-sign is within the {"..."} filter, forming a $-sign expansion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;2. This syntax can only work if both the date field and the variable are numeric (not formatted dates)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;3. For formatted dates, you need to make sure that the data type is right. One of the following two can help:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;SurgeryDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;{"&amp;gt;=date('$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;)')"} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;SurgeryDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;{"&amp;gt;='$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;)'"} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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; font-size: 12px;"&gt;4. Also notice that we use the double quotes for the search and single quotes for a $-sign expansion that should return a formatted date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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; font-size: 12px;"&gt;Finally, in order to apply two filters together, the following is going to work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;SurgeryDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;{"&amp;gt;=date('$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff99cc;"&gt;vStartOfPreviousFiscalYear&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;)')&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&amp;lt;date('$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff99cc;"&gt;vStartOfCurrentFiscalYear&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;)')&lt;/SPAN&gt;"} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff9900;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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; font-size: 12px;"&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; font-size: 12px;"&gt;You can learn all that, and a lot more, at the &lt;A href="https://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt;. If you can't make it to the Summit, check out my book &lt;A href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=70b3ab9a083dd539e9e0dcf9489dd901"&gt;QlikView Your Business&lt;/A&gt;. I explain advanced Set Analysis with a lot of details there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&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; font-size: 12px;"&gt;cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;Oleg Troyansky&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; font-size: 12px;"&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; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 15:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-Syntax-Issue-Qlik-Sense-3-2/m-p/75754#M5032</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2018-02-09T15:43:10Z</dc:date>
    </item>
  </channel>
</rss>

