<?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: Discrepancy in Result with Pick Function in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282818#M402080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one link where &lt;A href="https://community.qlik.com/qlik-users/2310"&gt;troyansky&lt;/A&gt;‌ explains Aggr() and Synthetic dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;Q-Tip # 14 – AGGR() and Synthetic Dimensions | Natural Synergies&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2016 19:29:32 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-05T19:29:32Z</dc:date>
    <item>
      <title>Discrepancy in Result with Pick Function in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282815#M402077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am experiencing a strange issue. I am not sure whether it's because of aggregation function or something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting different result when using the same expression with pick function and without pick function. The result without pick is correct. I am not able to figure out why the value changing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;&lt;BR /&gt; Dim&lt;BR /&gt; 1&lt;BR /&gt; 2&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp1:&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Inv Variance]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Tran No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;) &amp;lt;&amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Tran No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)),2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;This gives result 184&amp;nbsp; (incorrect)&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: black; font-family: 'Courier New';"&gt;Exp2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Inv Variance]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Tran No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;) &amp;lt;&amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon;"&gt;[Tran No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;This gives result 152 (correct)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;Please see the document attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;Let me know if you have any solutions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: arial, helvetica, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: black; font-size: 13.3333px; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 17:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282815#M402077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-05T17:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Discrepancy in Result with Pick Function in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282816#M402078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is related to Aggr() function... Within Island/Synthetic dimension, Aggr() doesn't behave the way we would expect... what do you get with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: blue;"&gt;Pick&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: blue;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: blue;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;NODISTINCT &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: maroon;"&gt;[Inv Variance]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: maroon;"&gt;[Tran No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;) &amp;lt;&amp;gt; 0, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: maroon;"&gt;[Tran No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Courier New'; color: black;"&gt;)),2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and see if it changes anyting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 17:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282816#M402078</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T17:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Discrepancy in Result with Pick Function in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282817#M402079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny, It's working perfectly. But I am still researching on rationale, if you can shed some light. I want to understand what difference nodistinct is making there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:27:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282817#M402079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-05T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Discrepancy in Result with Pick Function in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282818#M402080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is one link where &lt;A href="https://community.qlik.com/qlik-users/2310"&gt;troyansky&lt;/A&gt;‌ explains Aggr() and Synthetic dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" title="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/"&gt;Q-Tip # 14 – AGGR() and Synthetic Dimensions | Natural Synergies&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 19:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Discrepancy-in-Result-with-Pick-Function-in-Chart/m-p/1282818#M402080</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-05T19:29:32Z</dc:date>
    </item>
  </channel>
</rss>

