<?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: Two Charts Not Displaying Similar Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092183#M935674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post: &lt;A href="https://community.qlik.com/qlik-blogpost/2967"&gt;AGGR...&lt;/A&gt; and the accompanying technical brief document: &lt;A href="https://community.qlik.com/docs/DOC-3857"&gt;QlikView Technical Brief - AGGR.docx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 06:29:32 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2016-02-25T06:29:32Z</dc:date>
    <item>
      <title>Two Charts Not Displaying Similar Values</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092179#M935670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day I've got two charts whereby one calculates the total sales for each month beginning 2015 to Jan 2016. I've also got a second chart that divides the sales into quarters however the values from the months don't correspond to the values for each quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem might be that I am selecting distinct values from the three sheets I am loading onto the script, when I remove the distinct function from the expression the two charts correspond correctly is there a way to fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression for the first chart is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT{$&amp;lt;[Year Purchased]={"*"}-{'Unknown'},[Month Purchased]={"*"}-{'Unknown'}&amp;gt;}[Contact ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression for the second chart is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(DISTINCT{$&amp;lt;Year={2015,2016}-{'Unknown'},Quarter={"*"},[Month Purchased]={"*"}&amp;gt;}[Contact ID]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 09:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092179#M935670</guid>
      <dc:creator>kaygee28</dc:creator>
      <dc:date>2016-02-23T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Two Charts Not Displaying Similar Values</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092180#M935671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. I a contact id has a purchase in two months of a quarter it will appear in two months. If you count those two occurrences you're still dealing with one unique contact id, not two. So a count distinct over a quarter will show only 1 unique contact id. You need to decide exactly what you want to count. If you want a sum of the monthly counts then you can do that with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(aggr(Count(DISTINCT{$&amp;lt;[Year Purchased]={"*"}-{'Unknown'},[Month Purchased]={"*"}-{'Unknown'}&amp;gt;}[Contact ID]),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Month Purchased]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 16:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092180#M935671</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-24T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Two Charts Not Displaying Similar Values</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092181#M935672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert it worked, but I still do not understand the concept however it works perfectly, I just need to understand this so that I can apply the methodology correctly going forward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 20:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092181#M935672</guid>
      <dc:creator>kaygee28</dc:creator>
      <dc:date>2016-02-24T20:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Two Charts Not Displaying Similar Values</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092182#M935673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason why I am asking is that I had a similar table not so long ago and the same expression worked and all the quarterly results corresponded to the yearly sales.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 21:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092182#M935673</guid>
      <dc:creator>kaygee28</dc:creator>
      <dc:date>2016-02-24T21:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Two Charts Not Displaying Similar Values</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092183#M935674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this blog post: &lt;A href="https://community.qlik.com/qlik-blogpost/2967"&gt;AGGR...&lt;/A&gt; and the accompanying technical brief document: &lt;A href="https://community.qlik.com/docs/DOC-3857"&gt;QlikView Technical Brief - AGGR.docx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 06:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092183#M935674</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-25T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Two Charts Not Displaying Similar Values</title>
      <link>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092184#M935675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count(DISTINCT{$&amp;lt;[Year Purchased]={"*"}-{'Unknown'},[Month Purchased]={"*"}-{'Unknown'}&amp;gt;}[Contact ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;In similar way to quarter also&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 07:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-Charts-Not-Displaying-Similar-Values/m-p/1092184#M935675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T07:15:53Z</dc:date>
    </item>
  </channel>
</rss>

