<?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: Diference in script and UI in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779971#M276413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The equivalent script would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;// SaleId,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SaleId&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;NewSalesID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CountTest &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;='Ind' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&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;PFA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 04:50:41 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-03-11T04:50:41Z</dc:date>
    <item>
      <title>Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779970#M276412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I found the&amp;nbsp; functions working diffrently from scipr and to UI level.&lt;/P&gt;&lt;P&gt;I am attaching the source and sample app&lt;/P&gt;&lt;P&gt;kindly have a look at it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 04:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779970#M276412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-11T04:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779971#M276413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The equivalent script would be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 10pt;"&gt;// SaleId,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;SaleId&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;NewSalesID&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; CountTest &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;='Ind' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&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;PFA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 04:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779971#M276413</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-03-11T04:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779972#M276414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;I would not like to restrict the region Ind in script itself, the check may vary .&lt;/P&gt;&lt;P&gt;So, could you please check with out the Ind selction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 05:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779972#M276414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-11T05:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779973#M276415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;just note that in load script and in UI you try to do count on different level.&lt;/P&gt;&lt;P&gt;This is the reason why you have different result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 06:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779973#M276415</guid>
      <dc:creator />
      <dc:date>2015-03-11T06:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779974#M276416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then remove the WHERE clause like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( DISTINCT SaleId) as NewSalesID&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Resident CountTest Group By Region ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now take Region as dimension in a chart and check the result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779974#M276416</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-03-11T07:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779975#M276417</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;Taras please find the below attachment, where i have taken the correct comparison.&lt;/P&gt;&lt;P&gt;still could not yield the desired result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 04:05:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779975#M276417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-12T04:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Diference in script and UI</title>
      <link>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779976#M276418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not doing the same calc in script as the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script you are counting DISTINCT SalesID grouped by SalesID. Which can never equal anything other than 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the UI, you are counting DISTINCT SalesID grouped by Region (your Dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you could explain the business problem you are trying to compute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 04:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Diference-in-script-and-UI/m-p/779976#M276418</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-03-12T04:36:54Z</dc:date>
    </item>
  </channel>
</rss>

