<?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: SET expression after add month*30 chart 2 not working correctly ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838985#M658900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your code. I try it got syntax error. It is possible give the file if you solve my problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Samsung Mobile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 07:23:37 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2015-04-02T07:23:37Z</dc:date>
    <item>
      <title>SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838979#M658894</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SET expression for Table 1 is show correctly:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(Avg({$&amp;lt;year = {$(=max(year))}, month = {"$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SET expression for chart 1 is show correctly:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(Avg({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SET expression for Table 2 is show correctly:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(month+30*Avg({$&amp;lt;year = {$(=max(year))}, month = {"$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have SET expression for chart 2 is show not correctly result :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(month*30*Avg({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know how to modify chart 2 expression , so that it can show correct result as table 2 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to check ? &lt;/P&gt;&lt;P&gt;Step 1 click on step 1 button , you should note that Table 1 and Chart 1 and table 2 display correct value , and chart 2 show wrong value. because chart 2 dec should 593,000.9 is wrong , it should be show 49,428.7 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2 click on step 2 button , you should note that Table 1 and Chart 1 and table 2 display correct value , and chart 2 show wrong value. because chart 2 dec should 130,269.3 is wrong , it should be show 43,426.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 18:23:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838979#M658894</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-01T18:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838980#M658895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked into your expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(month&lt;STRONG style="color: #ff0000;"&gt;*&lt;/STRONG&gt;30*Avg({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/P&gt;&lt;P&gt;=(month&lt;STRONG style="color: #ff0000;"&gt;+&lt;/STRONG&gt;30*Avg({$&amp;lt;year = {$(=max(year))}, month = {"$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 19:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838980#M658895</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-01T19:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838981#M658896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it correct when i click on step 2 , but when click on step 1 , i need it display in line chart , to display the trend line, it does not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 02:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838981#M658896</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-02T02:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838982#M658897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea why you expected the same value if you had multiplied the same expression by month. 3 and 12 for your steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sergey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 05:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838982#M658897</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-02T05:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838983#M658898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..&lt;/P&gt;&lt;P&gt;try once&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;=(month+&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;30*",Avg({$&amp;lt;year = {$(=max(year))}, month = {"$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (STK_OPEN+STK_CLOSE)/2)/1000)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 06:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838983#M658898</guid>
      <dc:creator />
      <dc:date>2015-04-02T06:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838984#M658899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cep&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table 2 give me correct result. When I click on step button . And I try to make my table 2 display in chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Samsung Mobile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 07:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838984#M658899</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-02T07:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838985#M658900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your code. I try it got syntax error. It is possible give the file if you solve my problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Samsung Mobile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 07:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838985#M658900</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-02T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838986#M658901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table 2 you do this " month+ "&lt;/P&gt;&lt;P&gt;instead of chart 2, where you do this " month* "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 07:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838986#M658901</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-02T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838987#M658902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cep&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only chart 2 have problem. The rest of the table and chart are okay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know why you ask me modify Table 2 expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Samsung Mobile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 08:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838987#M658902</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-02T08:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838988#M658903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. I ask&amp;nbsp; you change chart 2 expression. from month* to month+&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 09:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838988#M658903</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-02T09:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: SET expression after add month*30 chart 2 not working correctly ?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838989#M658904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try to change but syntax error .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from Samsung Mobile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 10:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-expression-after-add-month-30-chart-2-not-working-correctly/m-p/838989#M658904</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-02T10:33:13Z</dc:date>
    </item>
  </channel>
</rss>

