<?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: Stock Date Calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507736#M599806</link>
    <description>&lt;P&gt;I am not able to create the visualizations as per the requirements. Please find the attached QVF, how can I create the Input boxes for dates and&amp;nbsp; how to show the MTD, QTD and YTD as per the requirements&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2018 06:55:00 GMT</pubDate>
    <dc:creator>azmeerrehan</dc:creator>
    <dc:date>2018-11-16T06:55:00Z</dc:date>
    <item>
      <title>Stock Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507724#M599804</link>
      <description>&lt;P&gt;Attached please find the sample data set for 5 years of stock. The metrices is&amp;nbsp; sum(close).&amp;nbsp; Trying to do in Qlik Sense&lt;/P&gt;&lt;P&gt;Trying to create a visualization similar to this &lt;A href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.highcharts.com_stock_demo_responsive&amp;amp;d=DwMFAw&amp;amp;c=_EdSgJoS8igo01XnekBu_azVXoUPxJkwz9O2AzwhBbE&amp;amp;r=0RGCiMB3JuNNcT8D-yugSehJbHEt7OBiuh6NrAouKvk&amp;amp;m=hEPb4vLeH0l_or-3V5XzpSvDeWsdlUKRih7SDU2-JAA&amp;amp;s=slmGuVX5lHzJQYx5SPeth8EU7zax9DnTPWFMLl_eomQ&amp;amp;e=" target="_blank"&gt;https://www.highcharts.com/stock/demo/responsive&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exclude weekends in the presentation. For example if you look at the chart on Monday it will show previous day data that is Friday. If selected date is Saturday then data displayed will be Friday.&lt;/P&gt;&lt;P&gt;Attached please find the Data Set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Return Calculation&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Rate&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;t = today (weekday)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (If user selects Sat or Sun it should pick Friday Sales)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;t-1 = previous weekday (If the user selected Monday it should Pick Friday sales&lt;/P&gt;&lt;P&gt;if the user select sat it should pick Thursday sales etc as week days are not considered)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Rate of Return&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1.&amp;nbsp; Daily return: P[t]/P[t-1]-1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2. MTD return (month to date): P[t]/P[m-1]-1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;a. P[m-1]is the last weekday of the previous month&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;3. QTD return (quarter to date): P[t]/P[g-1]-1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;a.&amp;nbsp; P[g-1] last weekday of the previous quarter (March, June, September &amp;amp; December)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;4. YTD return (year to date): P[t]/P[y-1]-1&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;a.&amp;nbsp; P[y-1]is last weekday of December of the previous year&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;There needs to be an option in this dashboard where users can select date range.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507724#M599804</guid>
      <dc:creator>azmeerrehan</dc:creator>
      <dc:date>2024-11-16T21:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507733#M599805</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;what issue you are getting while creating model and visualization?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 06:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507733#M599805</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-11-16T06:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Stock Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507736#M599806</link>
      <description>&lt;P&gt;I am not able to create the visualizations as per the requirements. Please find the attached QVF, how can I create the Input boxes for dates and&amp;nbsp; how to show the MTD, QTD and YTD as per the requirements&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 06:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stock-Date-Calculations/m-p/1507736#M599806</guid>
      <dc:creator>azmeerrehan</dc:creator>
      <dc:date>2018-11-16T06:55:00Z</dc:date>
    </item>
  </channel>
</rss>

