<?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 or if help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494118#M184846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a input box that defines sales limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get total sales restricting by past 3 months from current date (today). + restrict by above input box. Below is what i did without sucess. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=sum({&amp;lt;user={doug},ReadingDate = {'&amp;gt;=$(=ADDMONTHS(TODAY(),-03))'}&amp;gt;}sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I put a dimension limit "show only value that are greter&amp;nbsp; use the variable name for input box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;however the above is not work. Please let me know what could be the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ReadingDate format = YYYY-MM-DD&amp;nbsp;&amp;nbsp;&amp;nbsp; (could this format be creating an issue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;How can i achieve the above via if statement. What is better using if or set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 17:31:03 GMT</pubDate>
    <dc:creator>userid128223</dc:creator>
    <dc:date>2013-06-20T17:31:03Z</dc:date>
    <item>
      <title>set analysis or if help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494118#M184846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a input box that defines sales limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get total sales restricting by past 3 months from current date (today). + restrict by above input box. Below is what i did without sucess. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=sum({&amp;lt;user={doug},ReadingDate = {'&amp;gt;=$(=ADDMONTHS(TODAY(),-03))'}&amp;gt;}sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I put a dimension limit "show only value that are greter&amp;nbsp; use the variable name for input box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;however the above is not work. Please let me know what could be the issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;ReadingDate format = YYYY-MM-DD&amp;nbsp;&amp;nbsp;&amp;nbsp; (could this format be creating an issue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;How can i achieve the above via if statement. What is better using if or set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 17:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494118#M184846</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2013-06-20T17:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis or if help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494119#M184847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Try&lt;/SPAN&gt; =sum({&amp;lt;user={'doug'},ReadingDate={'&amp;gt;=$(=date(ADDMONTHS(TODAY(),-3)))'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't work please read &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494119#M184847</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-20T18:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis or if help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494120#M184848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked after I adjusted my date format. i think that was the main issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;if you were to find out past 40 days instead of 3 months how would you adjust the formula.&lt;/LI&gt;&lt;LI&gt;Can this formula be done wiht if statement, is if prefered over setanalysis.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494120#M184848</guid>
      <dc:creator>userid128223</dc:creator>
      <dc:date>2013-06-20T18:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis or if help</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494121#M184849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. simply subtract 40 days from today: date(today()-40)&lt;/P&gt;&lt;P&gt;2. a set analysis expression is to be prefered over an if statement, i.e. takes less cpu time to calculate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 18:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-or-if-help/m-p/494121#M184849</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-20T18:37:54Z</dc:date>
    </item>
  </channel>
</rss>

