<?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: Condition in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785418#M1041994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this: Count(If(ReqDate = aggr(max(ActualDate),Section,Order),Order))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Dec 2014 06:52:09 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-12-24T06:52:09Z</dc:date>
    <item>
      <title>Condition in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785417#M1041993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data as shown below, I am comparing "Req Date v/s Actual Date".&lt;/P&gt;&lt;P&gt;While comparing at Order level I am getting correct results But while comparing at Section Level the results are not matching.&lt;/P&gt;&lt;P&gt;This is happening due to some orders qualifying both condition of "Before Req Date" as well as "On Req date".&lt;/P&gt;&lt;P&gt;Please suggest syntax of formula to achieve the results for second chart.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74142_Capture.JPG" style="height: 197px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 06:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785417#M1041993</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-12-24T06:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785418#M1041994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this: Count(If(ReqDate = aggr(max(ActualDate),Section,Order),Order))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 06:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785418#M1041994</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-12-24T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785419#M1041995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Girish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the data again. Sec1 has 3 orders on which request date is equal to actual date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your calculations is right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select one order and that will give you how many of that order arrived on time and or before time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every thing is sec1 in your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 06:54:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785419#M1041995</guid>
      <dc:creator>alkesh_sharma</dc:creator>
      <dc:date>2014-12-24T06:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785420#M1041996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a key field in your table using Recno() like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;RecNo() AS Key,&lt;/P&gt;&lt;P&gt;* &lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Section, Order, Desc, ReqDate, ActualDate, Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 1, A 1-1-1, 22/12/2014, 21/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 1, A 1-1-1, 22/12/2014, 22/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 1, A 1-1-1, 22/12/2014, 23/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 2, B 2-1-1, 22/12/2014, 20/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 2, B 2-1-1, 22/12/2014, 21/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 2, B 2-1-1, 22/12/2014, 22/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 2, B 2-1-1, 22/12/2014, 23/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 3, C 0-1-0, 22/12/2014, 22/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 4, D 2-0-0, 22/12/2014, 21/12/2014, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sec1, 5, E 0-0-1, 22/12/2014, 23/12/2014, 10&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use below expressions:&lt;/P&gt;&lt;P&gt;Before Req. Date - Count(If(ActualDate &amp;lt; ReqDate,Key))&lt;/P&gt;&lt;P&gt;On Req. Date - Count(If(ActualDate = ReqDate,Key))&lt;/P&gt;&lt;P&gt;After Req. Date - Count(If(ActualDate &amp;gt; ReqDate,Key))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 07:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785420#M1041996</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-24T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785421#M1041997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gysbert Wassenaar, Alkesh, Jagan Mohan,&lt;/P&gt;&lt;P&gt;Thanks for looking into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear Jagan Mohan - I want to calculate the same in chart only because there are several other variable in condition which user will enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be&amp;nbsp; I was not able put it across correctly, Following are the conditions -&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If the Actual Date is less than Req. date then the Column "Before Date" shall be updated, No updation of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; "On Req date" even if there is another row where Actual Date equal to Req. Date,&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If there are more than two rows in which above condition is true still single count shall be updated in Column "Before Date",&lt;/LI&gt;&lt;LI&gt;If condition of "Before Date" is not meeting AND &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Actual Date equal to Req. Date then only the column &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"On Req date" shall be updated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;First two conditions are achieved but third is not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Please find the attached file with more data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG __jive_id="74143" alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/74143_Capture.JPG" style="height: 172px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 07:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785421#M1041997</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-12-24T07:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Condition in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785422#M1041998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;Is there any way out???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Girish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Dec 2014 13:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-in-Chart/m-p/785422#M1041998</guid>
      <dc:creator>girish_talele</dc:creator>
      <dc:date>2014-12-24T13:44:13Z</dc:date>
    </item>
  </channel>
</rss>

