<?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: Double record in table box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953880#M327986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be do a comparison against firstsortedvalue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(ComplitionDate &amp;lt;= FirstSortedValue(TargetDate, -TargetDate), 'OK', 'NOK')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2015 07:10:15 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-09-02T07:10:15Z</dc:date>
    <item>
      <title>Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953867#M327973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue regarding a table box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, my application should calculate KPI for some Salesforce cases, and every case should have Indicator OK, or NOK based on this formula : &lt;EM&gt;'if(ComplitionDate &amp;lt;= TargetDate, 'OK', 'NOK')' , &lt;/EM&gt;but there are some cases which has both values, OK and NOK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is happening this ? And if I create a chart, the result is '-', like there are more than 1 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I put this formula in a text box, the result is 'OK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I thought that a case has more than one Target Date or CompletionDate, but no. It has only one date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the screenshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="97635" alt="Screen1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97635_Screen1.JPG" style="height: auto;" /&gt;&lt;IMG __jive_id="97636" alt="IndicatorOK.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/97636_IndicatorOK.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me why is this happening ? And any ideas how to fix this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Claudiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953867#M327973</guid>
      <dc:creator />
      <dc:date>2015-09-02T06:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953868#M327974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can u attach sample excel file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Partha Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953868#M327974</guid>
      <dc:creator>parthakk</dc:creator>
      <dc:date>2015-09-02T06:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953869#M327975</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;I've attached the excel file required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Claudiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953869#M327975</guid>
      <dc:creator />
      <dc:date>2015-09-02T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953870#M327976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A sample qvw that shows the issue would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953870#M327976</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-02T06:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953871#M327977</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;I used the same condition in script as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(CompletionDate&amp;lt;=TargetDate,'OK','NOK') as Indicator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it seems working fine.. We shall have only value OK associated with it. Is it what u were expecting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Partha Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953871#M327977</guid>
      <dc:creator>parthakk</dc:creator>
      <dc:date>2015-09-02T06:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953872#M327978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've updated the post with a sample qvw. Hope to be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953872#M327978</guid>
      <dc:creator />
      <dc:date>2015-09-02T06:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953873#M327979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. It is what I expect. I've created a chart and pus the condition in the chart and I have only one values (which is ok). But I need a table box because a case can have more than one Milestone Type, (resolution 1, 2,3 response, etc) and I need a value in the table for each Milestone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953873#M327979</guid>
      <dc:creator />
      <dc:date>2015-09-02T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953874#M327980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here i got value as OK, i used same expression.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="11.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97673_11.PNG" style="height: auto;" /&gt;&lt;IMG alt="22.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/97674_22.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953874#M327980</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-09-02T06:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953875#M327981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You load the data from the excel sample. But why is not working on my script ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 06:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953875#M327981</guid>
      <dc:creator />
      <dc:date>2015-09-02T06:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953876#M327982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attach your file to look into the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953876#M327982</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-09-02T07:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953877#M327983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached a sample qvw in the main post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953877#M327983</guid>
      <dc:creator />
      <dc:date>2015-09-02T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953878#M327984</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;You have one completion date LESS than target date and one completion date MORE than target date&amp;nbsp; for same case number.. So you are getting both OK and NOK but the sample excel file you have both completion dates less than target date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Partha Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953878#M327984</guid>
      <dc:creator>parthakk</dc:creator>
      <dc:date>2015-09-02T07:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953879#M327985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see multiple target dates against the casenumber. And multiple dates would create a comparison return null in the text box resulting 'NOK'.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97676_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953879#M327985</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-09-02T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953880#M327986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be do a comparison against firstsortedvalue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(ComplitionDate &amp;lt;= FirstSortedValue(TargetDate, -TargetDate), 'OK', 'NOK')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953880#M327986</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-02T07:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953881#M327987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one completion date less, but is not on Response&amp;nbsp; 2, it is on Resolution 2. My example is only for Response 2. And on Resolution 2 there is no completion date and it is the same issue, I have OK and NOK values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953881#M327987</guid>
      <dc:creator />
      <dc:date>2015-09-02T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Double record in table box</title>
      <link>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953882#M327988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I figure it out. I put the expression in the same table with the cases. And now it is ok.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97682_screen2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before it was on a different table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot to all of you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 07:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Double-record-in-table-box/m-p/953882#M327988</guid>
      <dc:creator />
      <dc:date>2015-09-02T07:20:48Z</dc:date>
    </item>
  </channel>
</rss>

