<?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 modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035074#M639671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated very much for your help . it is okay , i will stick to 2 expression.&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, 26 Feb 2016 14:09:02 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2016-02-26T14:09:02Z</dc:date>
    <item>
      <title>How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035070#M639667</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;Chart 1 i thing is good. because only 1 expression &amp;amp; expression is very shot , it can plot 2 line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{&amp;lt;Year={'&amp;gt;$(=year(today())-2)'}&amp;gt;}&lt;/P&gt;&lt;P&gt;$(ColumnDim51)/$(Columndim89)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(ColumnDim51) allow me to slect display sales , gross profit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 2 is not so powerful , it require very long expression and 2 expression compare to chart 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Money(RangeSum(Above(TOTAL Sum(DISTINCT{&amp;lt;year = {"$(=Max(year)-1)"},$(ColumnDim51) ={$(ColumnDim51)}&amp;gt;} Amount*1/ $(Columndim89)/1000), 0, RowNo(TOTAL))), $(vMoneyFormatK))&lt;/P&gt;&lt;P&gt;Money(RangeSum(Above(TOTAL Sum(DISTINCT{&amp;lt;year = {"$(=Max(year)-0)"},$(ColumnDim51) ={$(ColumnDim51)}&amp;gt;} Amount*1/ $(Columndim89)/1000), 0, RowNo(TOTAL))), $(vMoneyFormatK))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{$(ColumnDim51) allow me to select display revenue or net profit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is , how to modify the chart 2 expression and make it only 1 expression by follow chart 1 example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Muy next posting will enclosed my QV Doc&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, 26 Feb 2016 06:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035070#M639667</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-02-26T06:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035071#M639668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My QV Doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 06:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035071#M639668</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-02-26T06:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035072#M639669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression almost works, but would need you to sort your year field in the script by ascending the first time it is getting created:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Money(Only({&amp;lt;year = {$(=Max(year)-0), $(=Max(year)-1)},$(ColumnDim51) ={$(ColumnDim51)}&amp;gt;} Aggr(NODISTINCT RangeSum(Above(TOTAL Sum(DISTINCT{&amp;lt;year = {$(=Max(year)-0), $(=Max(year)-1)},$(ColumnDim51) ={$(ColumnDim51)}&amp;gt;} Amount*1/ $(Columndim89)/1000), 0, Only({&amp;lt;year&amp;gt;}month))), year, month)), $(vMoneyFormatK))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now it is accumulating good up untill month 11, but for some reason stops there. Not sure what is going on. But I guess somebody can make improvements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 07:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035072#M639669</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T07:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035073#M639670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually the issue is in month sorting. If you can fix that, the above expression will be fixed. Based on load order the chart object shows this in a table box;&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/116093_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I you can fix this in the script to show 1, 2, 3, ...., 12... the above will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 08:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035073#M639670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T08:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035074#M639671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated very much for your help . it is okay , i will stick to 2 expression.&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, 26 Feb 2016 14:09:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035074#M639671</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-02-26T14:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035075#M639672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure? There is definitely a way to fix it, but as I mentioned it is script based and since I don't have the database files I won't be able to run it for you. You will have to make that change on your own &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 16:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035075#M639672</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-26T16:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035076#M639673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I value your help. This morning i wake up , i think over again , yesterday question i post is not correct. my actual requirement is .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user select select Column51 = $(ColumnDim51) = sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 is working fine with the Expression is below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{&amp;lt;Year={'&amp;gt;$(=year(today())-2)'}&amp;gt;}&lt;/P&gt;&lt;P&gt;$(ColumnDim51)/$(Columndim89)/1000)&lt;/P&gt;&lt;P&gt;, $(vMoneyFormatK))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when user select select Column51 = $(ColumnDim51) ={$(ColumnDim51)}&amp;gt;} Amount = rEVENUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 2 expression need to change , My assume expression is below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{&amp;lt;Year={'&amp;gt;$(=year(today())-2)'}&amp;gt;}&lt;/P&gt;&lt;P&gt;($(ColumnDim51) ={$(ColumnDim51)}&amp;gt;} Amount)/$(Columndim89)/1000)&lt;/P&gt;&lt;P&gt;, $(vMoneyFormatK))&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;But it display no line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why ?&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>Fri, 26 Feb 2016 23:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035076#M639673</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-02-26T23:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify long set expression and need 2 Expression for plot 2 line chart into 1 shot expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035077#M639674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I move this post to top , as now i need to work on issue now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 05:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-long-set-expression-and-need-2-Expression-for-plot/m-p/1035077#M639674</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-03-02T05:05:15Z</dc:date>
    </item>
  </channel>
</rss>

