<?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: How to convert SET expression from table to chart ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846874#M658614</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;The chart i expected already mention in my question , as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make 1,447 display as 139 , when month = 3&lt;/P&gt;&lt;P&gt;How to make 1,387 display as 139 , when month = 2&lt;/P&gt;&lt;P&gt;How to make 1,785 display as 108 , when month = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue i aware is :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. YTD Cash Conversion Cycle for Table 1 i display result is wrong , because the average stock i suppose to be from Jan 2015 till Feb 2015 , but now when month= 2 , it only cal Feb value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In conclusion :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SET expression is only capable to use it for sales , as YTD sales for Feb , the SET expression is able to sum up Jan and Feb even when user click on month = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my case is inventory average stock when i click on month = 2 , effectively i only use feb data to cal the average stock , this is not correct ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another work , if i want to have a field call Target_CCC which is target for Cash conversion cycle , i need to fill in monthly target amount 100 , and use this value to compare with table 1 YTD value , in table it will show it correct , but if i don't click of month =2 only click on year= 2015 , in this case my target will be 100 * 12 = 1200 , which is wrong, because monthly target should be 100 , should not be accumulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand my issue , as not easy for me explan but i try.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally write till here , i realise that i cannot using SET expression , due to SET expression are only&amp;nbsp; use for hand sales , for monthly stock in Balance sheet is not same as sales , it cal base jan stock amount sum up Feb stock as total stock for Feb. which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look like i need to spend some time to make my Table 1 value correct first , then can make chart 1 , in order for both correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you happen read till here , and if you have some comment , hope you can share with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2015 02:01:54 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2015-04-03T02:01:54Z</dc:date>
    <item>
      <title>How to convert SET expression from table to chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846872#M658612</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 expression :-&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))&lt;/P&gt;&lt;P&gt;/(Sum({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (COGS_+COGS_INT_)/1))&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;} (AR_CLOSE+AR_OPEN)/2))&lt;/P&gt;&lt;P&gt;/sum({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (REVENUE+REVENUE_INT_)/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;-1*(month*30*Avg({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (AP_CLOSE+AP_OPEN)/2))&lt;/P&gt;&lt;P&gt;/sum({$&amp;lt;year = {$(=max(year))}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;} (COGS_+COGS_INT_))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above expression work fine at Table 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to create a expression for convert the above to table 1 expression to display as chart. So that chart will display :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make 1,447 display as 139 , when month = 3&lt;/P&gt;&lt;P&gt;How to make 1,387 display as 139 , when month = 2&lt;/P&gt;&lt;P&gt;How to make 1,785 display as 108 , when month = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope some one can advise me.&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>Thu, 02 Apr 2015 17:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846872#M658612</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-02T17:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert SET expression from table to chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846873#M658613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i notice that your dimensions in Table 1 and Chart 1 are different. so the values will not be the same. can you show a screenshot of what your expected chart looks like even if it is a made up chart in ppt?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 19:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846873#M658613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-02T19:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert SET expression from table to chart ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846874#M658614</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;The chart i expected already mention in my question , as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to make 1,447 display as 139 , when month = 3&lt;/P&gt;&lt;P&gt;How to make 1,387 display as 139 , when month = 2&lt;/P&gt;&lt;P&gt;How to make 1,785 display as 108 , when month = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue i aware is :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. YTD Cash Conversion Cycle for Table 1 i display result is wrong , because the average stock i suppose to be from Jan 2015 till Feb 2015 , but now when month= 2 , it only cal Feb value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In conclusion :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For SET expression is only capable to use it for sales , as YTD sales for Feb , the SET expression is able to sum up Jan and Feb even when user click on month = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my case is inventory average stock when i click on month = 2 , effectively i only use feb data to cal the average stock , this is not correct ! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another work , if i want to have a field call Target_CCC which is target for Cash conversion cycle , i need to fill in monthly target amount 100 , and use this value to compare with table 1 YTD value , in table it will show it correct , but if i don't click of month =2 only click on year= 2015 , in this case my target will be 100 * 12 = 1200 , which is wrong, because monthly target should be 100 , should not be accumulate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand my issue , as not easy for me explan but i try.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally write till here , i realise that i cannot using SET expression , due to SET expression are only&amp;nbsp; use for hand sales , for monthly stock in Balance sheet is not same as sales , it cal base jan stock amount sum up Feb stock as total stock for Feb. which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look like i need to spend some time to make my Table 1 value correct first , then can make chart 1 , in order for both correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you happen read till here , and if you have some comment , hope you can share with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2015 02:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-convert-SET-expression-from-table-to-chart/m-p/846874#M658614</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2015-04-03T02:01:54Z</dc:date>
    </item>
  </channel>
</rss>

