<?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: Sum based on value between a range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352875#M415518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attach a small sample which demonstrates your problem.&lt;/P&gt;&lt;P&gt;that will make it much easier to assist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2017 19:28:05 GMT</pubDate>
    <dc:creator>Frank_Hartmann</dc:creator>
    <dc:date>2017-05-02T19:28:05Z</dc:date>
    <item>
      <title>Sum based on value between a range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352874#M415517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I am trying to have Qlikview dynamically look up a value based on a specific result and where it matches sum up all the matches. See my expression below. However I keep getting 9999 as the answer. &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: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMDueString&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Not Due'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMDueString&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMDueString&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*100))=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMRange1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'1234','9999') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;My dimension is connected to another table that has the ranges like below. If this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMDueString&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Not Due'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMDueString&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMDueString&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*100))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;is between 0 to 10 then I want to sum everything that matches in the same way. So if there was only one record I would get 1 as my answer.&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: 8pt;"&gt;0 to 10 = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;11 to 20 = 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;etc..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 19:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352874#M415517</guid>
      <dc:creator>kpatelacmm</dc:creator>
      <dc:date>2017-05-02T19:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sum based on value between a range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352875#M415518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attach a small sample which demonstrates your problem.&lt;/P&gt;&lt;P&gt;that will make it much easier to assist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 19:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352875#M415518</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2017-05-02T19:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum based on value between a range</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352876#M415519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. File attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 21:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-based-on-value-between-a-range/m-p/1352876#M415519</guid>
      <dc:creator>kpatelacmm</dc:creator>
      <dc:date>2017-05-02T21:03:29Z</dc:date>
    </item>
  </channel>
</rss>

