<?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: Set analysis complex condition in modifier in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377800#M140844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that the RollingMonth field is text, your second expression should work with after a minor fix:&lt;/P&gt;&lt;P&gt;sum( {1&amp;lt;RollingMonth = {"$(=month(today()) &amp;amp; '-' &amp;amp; year(today()))"}&amp;gt;} Units )&lt;/P&gt;&lt;P&gt;I added quotes and removed extra ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If RollingMonth is numeric, your first expression maybe is closer to the correct one (except qoutes are missing and today has no '()') - but the exact syntax depends on how RollingMonth is defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 14:46:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-08-14T14:46:08Z</dc:date>
    <item>
      <title>Set analysis complex condition in modifier</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377799#M140843</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 was wondering if its possible to have a complex condition in modifier. For example I have a field RollingMonths which is of form "MMM-YYYY" (ex. 'May-2012') and I would like to create a comparision using current month and year. I've tried few different methods however none seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {1&amp;lt;RollingMonth = {$(=date#(date(today),'MMM-YYYY'))}&amp;gt;} Units )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {1&amp;lt;RollingMonth = {$(=month(today()) &amp;amp; '-' &amp;amp; year(today())))}&amp;gt;} Units )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the last option would be to create a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377799#M140843</guid>
      <dc:creator />
      <dc:date>2012-08-14T14:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis complex condition in modifier</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377800#M140844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that the RollingMonth field is text, your second expression should work with after a minor fix:&lt;/P&gt;&lt;P&gt;sum( {1&amp;lt;RollingMonth = {"$(=month(today()) &amp;amp; '-' &amp;amp; year(today()))"}&amp;gt;} Units )&lt;/P&gt;&lt;P&gt;I added quotes and removed extra ')'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If RollingMonth is numeric, your first expression maybe is closer to the correct one (except qoutes are missing and today has no '()') - but the exact syntax depends on how RollingMonth is defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377800#M140844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-14T14:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis complex condition in modifier</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377801#M140845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try it and post my results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-complex-condition-in-modifier/m-p/377801#M140845</guid>
      <dc:creator />
      <dc:date>2012-08-14T14:54:38Z</dc:date>
    </item>
  </channel>
</rss>

