<?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: Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&amp;lt;$( in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032114#M638372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Paul,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Seems you missed a bracket at the end of the expression. Try below expression&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;money(pick(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE'),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)/1000,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}cost/$(Columndim89)/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}profit_amt/$(Columndim89)/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*-1/1000,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*1/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$(vMoneyFormatK))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2016 02:01:12 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2016-04-01T02:01:12Z</dc:date>
    <item>
      <title>Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&lt;$(Colu</title>
      <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032111#M638369</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 below expression working fine FROM CHART 1:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(pick(&lt;/P&gt;&lt;P&gt;match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)/1000,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}cost/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}profit_amt/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*-1/1000,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*1/1000,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&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;Since the rEVENUE is extra ( 2nd row of the above expression , and last 2nd row of the expression not require , i decide to remove it :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first i remove 'rEVENUE' and it still working fine , see chart 2 :-&lt;/P&gt;&lt;P&gt;money(pick(&lt;/P&gt;&lt;P&gt;match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE'),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)/1000,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}cost/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}profit_amt/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*-1/1000,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*1/1000,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&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;secondly i remove 2nd last row of the expression, See chart 3 :-&lt;/P&gt;&lt;P&gt;money(pick(&lt;/P&gt;&lt;P&gt;match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE'),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)/1000,&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}cost/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}profit_amt/$(Columndim89)/1000),&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*-1/1000,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*1/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;My question is how to make the above expression work ?&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, 01 Apr 2016 01:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032111#M638369</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-04-01T01:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&lt;$(</title>
      <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032112#M638370</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;Sorry i accidentally paste the body text into the title text , and i cannot edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enclosed my sample QVW file .&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, 01 Apr 2016 01:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032112#M638370</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-04-01T01:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&lt;$(</title>
      <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032113#M638371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be because a parenthesis is missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Money(Pick(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE'),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)/1000,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}cost/$(Columndim89)/1000),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}profit_amt/$(Columndim89)/1000),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*-1/1000,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*1/1000&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;)&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;$(vMoneyFormatK))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 01:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032113#M638371</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-01T01:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&lt;$(</title>
      <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032114#M638372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Paul,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Seems you missed a bracket at the end of the expression. Try below expression&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;money(pick(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE'),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)/1000,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}cost/$(Columndim89)/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;year = {"&amp;gt;=$(=max(year),4)"}, month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} month))"}&amp;gt;}profit_amt/$(Columndim89)/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*-1/1000,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;$(ColumnDim601)={$(ColumnDim601)}&amp;gt;}Amount)/$(Columndim89)*1/1000),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$(vMoneyFormatK))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 02:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032114#M638372</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-04-01T02:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&lt;$(</title>
      <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032115#M638373</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;thank , this is what i want to know.&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, 01 Apr 2016 02:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032115#M638373</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-04-01T02:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why pick(match expression i cannot remove 2nd last row of useless script ?  Hi All  I have below expression working fine FROM CHART 1:-  money(pick( match([Pls select 601st Dim],'nET_PROFIT','sales','cost','profit','eXP','rEVENUE','rEVENUE'), Sum({&lt;$(</title>
      <link>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032116#M638374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Could you close this thread by marking Sunny's answer as correct. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 02:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-pick-match-expression-i-cannot-remove-2nd-last-row-of/m-p/1032116#M638374</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-04-01T02:05:51Z</dc:date>
    </item>
  </channel>
</rss>

