<?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: Calculating index in a Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407503#M1157812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 13:22:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-09T13:22:26Z</dc:date>
    <item>
      <title>Calculating index in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407501#M1157810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I've run in to a problem calculating an index in line charts, where index 100 is the first year selected in my list box containing my variable "Year" (from 2005-2012).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the index chart to look somewhat like #2 and #3 underneath (#1 is the "normal" line chart), and the index should only be calulated in the selected years (#2 has all years selected, and #3 has 2007-2011 selected). The dots in the index line chart should be calculated like this: (First Year in selection/Year)*100. For example in #3 this means:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - value for Year "2007": (6333/6333)*100=&lt;SPAN style="text-decoration: underline;"&gt;100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - value for Year "2008": (6333/5482)*100=&lt;SPAN style="text-decoration: underline;"&gt;87&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - value for Year "2009": (6333/6666)*100=&lt;SPAN style="text-decoration: underline;"&gt;105&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;... and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers &lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="28907" class="jive-image-thumbnail jive-image" onclick="" alt="Excel Charts.png" src="/legacyfs/online/28907_Excel Charts.png" width="450" /&gt;For &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 12:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407501#M1157810</guid>
      <dc:creator />
      <dc:date>2013-01-09T12:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating index in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407502#M1157811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the chart inter record functions, namely top(). top() will return your expression evaluated in the context of your first dimension value, so try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=top( count(Frequency) ) / count(Frequency)&amp;nbsp; * 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace count(Frequency) with the expression you are currently using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407502#M1157811</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-01-09T13:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating index in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407503#M1157812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 13:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407503#M1157812</guid>
      <dc:creator />
      <dc:date>2013-01-09T13:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating index in a Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407504#M1157813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 14:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-index-in-a-Line-Chart/m-p/407504#M1157813</guid>
      <dc:creator />
      <dc:date>2013-01-09T14:41:54Z</dc:date>
    </item>
  </channel>
</rss>

