<?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: Chart line stop at current month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/1550661#M511052</link>
    <description>&lt;P&gt;IN THE EXPRESSION:&lt;/P&gt;&lt;P&gt;=IF([PERIOD_CHECK] &amp;lt; [MAX_PERIOD_CHECK], SUM(X))&lt;/P&gt;&lt;P&gt;**************************************************************************&lt;BR /&gt;WHERE PERIOD_CHECK = YYYYMM (TRANSACTIONAL DATE)&lt;BR /&gt;MAX_PERIOD_CHECK = YYYYMM (DATE TO STOP DISPLAYING LINE)&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 17:19:02 GMT</pubDate>
    <dc:creator>StevePaulich</dc:creator>
    <dc:date>2019-02-28T17:19:02Z</dc:date>
    <item>
      <title>Chart line stop at current month</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/20950#M511049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;I am struggling with this problem for days now, hopefully somebody can help me with this problem. I have a chart with 3 lines to compare the sales with the sales a year before. When I compare the sales off this year with the sales last year I want to stop the line at current month. Does somebody know how I can do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;The expression I use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;2017 vs 2018&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {2018} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) - &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {2017} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;2016 vs 2017&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {2017} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) - &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {2016} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;2015 vs 2016 &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {2016} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) - &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; = {2015} &amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 11:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/20950#M511049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-13T11:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Chart line stop at current month</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/20951#M511050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rakis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use Year to Date function&amp;nbsp; to create a field &lt;/P&gt;&lt;P&gt;to compare the time pass from the start of the year till the current&amp;nbsp; day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will have to select YTD and the 2 years &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example in the script : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(inyeartodate( Date, today(), year(Date)-year(Today())),'YTD',NULL()) AS YearToDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomer Biran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 11:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/20951#M511050</guid>
      <dc:creator>tomer1984</dc:creator>
      <dc:date>2018-06-13T11:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chart line stop at current month</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/20952#M511051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205061_Capture.PNG" style="height: 384px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 12:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/20952#M511051</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-13T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Chart line stop at current month</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/1550661#M511052</link>
      <description>&lt;P&gt;IN THE EXPRESSION:&lt;/P&gt;&lt;P&gt;=IF([PERIOD_CHECK] &amp;lt; [MAX_PERIOD_CHECK], SUM(X))&lt;/P&gt;&lt;P&gt;**************************************************************************&lt;BR /&gt;WHERE PERIOD_CHECK = YYYYMM (TRANSACTIONAL DATE)&lt;BR /&gt;MAX_PERIOD_CHECK = YYYYMM (DATE TO STOP DISPLAYING LINE)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 17:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-line-stop-at-current-month/m-p/1550661#M511052</guid>
      <dc:creator>StevePaulich</dc:creator>
      <dc:date>2019-02-28T17:19:02Z</dc:date>
    </item>
  </channel>
</rss>

