<?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: Graph shows different values when select a single day in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921320#M468777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need the Date field in the Aggr() as it is the chart dimension, and I don't think you need the Total (hard to say without a sample):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Aggr(If(Sum(met_sl)/Count(session_id) &amp;gt; 0.8, 1, 0), half_hr_bucket, Date)) / 48 &lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Sum(TOTAL Aggr(If(Sum(met_sl)/Count(session_id) &amp;gt; 0.8, 1, 0), half_hr_bucket, Date)) / 48 &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 05:50:18 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-08-13T05:50:18Z</dc:date>
    <item>
      <title>Graph shows different values when select a single day</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921316#M468773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I don't know why my graph behaves the way it is and I hope that you can help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Below is my expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #000000;"&gt;&lt;STRONG style="color: #ff0000;"&gt;(Sum(total aggr( if(((Sum (met_sl))/(count(session_id)))&amp;gt;.8, 1,0),half_hr_bucket)))/48&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #000000; font-size: 10pt;"&gt;And these are the results for each day from above &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;expression when I select every single day from the selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" style="text-align: center;" width="64"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="text-align: center;" width="64"&gt;&lt;STRONG style="color: #ff0000;"&gt;Result&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/1/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;77%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/2/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;67%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/3/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;73%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/4/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;69%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/5/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;63%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/6/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;73%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/7/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;46%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="text-align: center;"&gt;&lt;STRONG style="color: #ff0000;"&gt;7/8/2015&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="text-align: center;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;56%&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I don't know why it does not show above results on graph, instead it shows 58% for all days. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95779_1.png" style="height: 166px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your inputs are very much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921316#M468773</guid>
      <dc:creator />
      <dc:date>2015-08-12T15:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Graph shows different values when select a single day</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921317#M468774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Liam,&lt;/P&gt;&lt;P&gt;Can u attach qvw file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Partha Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 05:34:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921317#M468774</guid>
      <dc:creator>parthakk</dc:creator>
      <dc:date>2015-08-13T05:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Graph shows different values when select a single day</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921318#M468775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Try this and see if the result changes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 13.3333320617676px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;=(Sum(TOTAL &lt;SPAN style="color: #ff0000;"&gt;&amp;lt;Date&amp;gt;&lt;/SPAN&gt; Aggr(If(((Sum(met_sl))/(Count(session_id)))&amp;gt;.8, 1, 0), half_hr_bucket)))/48&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 05:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921318#M468775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-13T05:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Graph shows different values when select a single day</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921319#M468776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 05:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921319#M468776</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-13T05:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Graph shows different values when select a single day</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921320#M468777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need the Date field in the Aggr() as it is the chart dimension, and I don't think you need the Total (hard to say without a sample):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Aggr(If(Sum(met_sl)/Count(session_id) &amp;gt; 0.8, 1, 0), half_hr_bucket, Date)) / 48 &lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=Sum(TOTAL Aggr(If(Sum(met_sl)/Count(session_id) &amp;gt; 0.8, 1, 0), half_hr_bucket, Date)) / 48 &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 05:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921320#M468777</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-13T05:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Graph shows different values when select a single day</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921321#M468778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Jonathan Dienst: your first expression works! I do not know why the Total is the problem, would you please explain? Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@All: Thank you very much for your inputs &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 15:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-shows-different-values-when-select-a-single-day/m-p/921321#M468778</guid>
      <dc:creator />
      <dc:date>2015-08-13T15:00:44Z</dc:date>
    </item>
  </channel>
</rss>

