<?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: where to put parenthesis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50157#M782817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is this what you want ? looks much simpler with this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM(IF(Year(DocumentDate) = YEAR(Today())-1 and month(DocumentDate) &amp;lt;= month(Today()) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and day(DocumentDate) =&amp;lt; day(Today()),1,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2018 07:00:04 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2018-03-20T07:00:04Z</dc:date>
    <item>
      <title>where to put parenthesis</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50153#M782813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help me with where to put the parenthesis in this expression. Can't for the life of me figure out where I'm going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(IF(Year(DocumentDate) = YEAR(Today())-1 and month(DocumentDate) &amp;lt; month(Today()) or Year(DocumentDate) = YEAR(Today())-1 and (month(DocumentDate) = month(Today())&lt;/P&gt;&lt;P&gt;and (day(DocumentDate) =&amp;lt; day(Today()),1,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50153#M782813</guid>
      <dc:creator>robmarr789</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: where to put parenthesis</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50154#M782814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(&lt;/P&gt;&lt;P&gt;IF(&lt;/P&gt;&lt;P&gt;(Year(DocumentDate) = YEAR(Today())-1 and month(DocumentDate) &amp;lt; month(Today()) )&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;(Year(DocumentDate) = YEAR(Today())-1 and month(DocumentDate) = month(Today()) )&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;day(DocumentDate) &amp;lt;= day(Today())&lt;/P&gt;&lt;P&gt;,1,0)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 19:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50154#M782814</guid>
      <dc:creator>ychaitanya</dc:creator>
      <dc:date>2018-03-19T19:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: where to put parenthesis</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50155#M782815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell on what condition you need 1 and on what 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 06:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50155#M782815</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-03-20T06:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: where to put parenthesis</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50156#M782816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try with this.....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if (&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;year(DocumentDate)=year(today())-1 and month(Documentdate) &amp;lt; month(today())&amp;nbsp; or &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(year(DocumentDate) =year(today()) -1 and month(DocumentDate) = Mlonth(today()) and day(documentDate)&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;&amp;lt;=&lt;/SPAN&gt; day(today())),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1, 0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 06:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50156#M782816</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-03-20T06:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: where to put parenthesis</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50157#M782817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Is this what you want ? looks much simpler with this&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM(IF(Year(DocumentDate) = YEAR(Today())-1 and month(DocumentDate) &amp;lt;= month(Today()) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and day(DocumentDate) =&amp;lt; day(Today()),1,0))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 07:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50157#M782817</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-03-20T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: where to put parenthesis</title>
      <link>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50158#M782818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;Hi Robert,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'trebuchet ms', geneva; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;Placing parenthesis will depends up on expected output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;Can you explain briefly, while using this condition what is the expected output ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;Kindly post a sample workbook. It will helps to all to understand your requirement clearly.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'trebuchet ms', geneva;"&gt;&lt;STRONG&gt;Venkata Sreekanth &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 12:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/where-to-put-parenthesis/m-p/50158#M782818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-20T12:43:31Z</dc:date>
    </item>
  </channel>
</rss>

