<?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 Stock line chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057644#M937829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &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;I'm a beginner in qlikview, I want to create a stock line chart with date as a dimension and price (or return) as measure.&lt;/P&gt;&lt;P&gt;The problem is the date dimension has daily granularity and the stock chart continues forever. Is there a way to aggregate the date dimension in order to make the stock chart fit on screen without making a second fact table with monthly granularity for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put Month(Date) as a dimension, months show up but not for different years, and the measure does a AVG(Price) for both januarys of all years. Instead I want a stock line chart that shows the price line in all (2) years. I don't want it to show anything when I have not selected a stock from my stock listbox. Otherwise I want it to show price lines for all my selected stocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 09:05:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-05T09:05:31Z</dc:date>
    <item>
      <title>Stock line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057644#M937829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &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;I'm a beginner in qlikview, I want to create a stock line chart with date as a dimension and price (or return) as measure.&lt;/P&gt;&lt;P&gt;The problem is the date dimension has daily granularity and the stock chart continues forever. Is there a way to aggregate the date dimension in order to make the stock chart fit on screen without making a second fact table with monthly granularity for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put Month(Date) as a dimension, months show up but not for different years, and the measure does a AVG(Price) for both januarys of all years. Instead I want a stock line chart that shows the price line in all (2) years. I don't want it to show anything when I have not selected a stock from my stock listbox. Otherwise I want it to show price lines for all my selected stocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 09:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057644#M937829</guid>
      <dc:creator />
      <dc:date>2016-02-05T09:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stock line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057645#M937830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try =MonthStart(Date) as a dimension or something like &lt;SPAN style="font-size: 13.3333px;"&gt;=Date(MonthStart(Date),'YYYY-MMM'). But the preferred way is to create a field in the script instead of using a calculated dimension. If you create several fields like year, quarter, month you can use a cyclic or drill-down group and use that as chart dimension. That way you can easily switch between the different period types with a cyclic groupe or drill-down with a drill-down group.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 17:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057645#M937830</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-05T17:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stock line chart</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057646#M937831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already have the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Date(MonthStart(Date),'YYYY-MMM') in my script. Problem is when qlikview has to associate a value of&amp;nbsp; [Adj Close] for each value in the dimension.&amp;nbsp; Since my data is daily (adj close for each day) i can do an average of Adj Close for each month and that works out well, but I don't wanna do that. For every month, I want to pick the price of the first day (available) in that month, which means the first day maybe 2nd or 3rd or maybe later&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 18:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-line-chart/m-p/1057646#M937831</guid>
      <dc:creator />
      <dc:date>2016-02-05T18:02:39Z</dc:date>
    </item>
  </channel>
</rss>

