<?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 apply VARIABLE $(ColumnDim3) in QS ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062650#M641532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to post this in the QlikSense forum instead as you'll get more chance of a reply and it'll be more useful when searching for answers in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2016 15:13:25 GMT</pubDate>
    <dc:creator>ThornOfCrowns</dc:creator>
    <dc:date>2016-03-01T15:13:25Z</dc:date>
    <item>
      <title>How to apply VARIABLE $(ColumnDim3) in QS ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062649#M641531</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 view the QS example , and i found out that it use below expression for plot the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consummer goods KPI :-&lt;/P&gt;&lt;P&gt;(sum([YTD Sales Amount])-sum([LY YTD Sales Amount])*0.2)/sum([LY YTD Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Rep Performance - sales rep variance :-&lt;/P&gt;&lt;P&gt;if((sum([YTD Sales Amount])-sum([LY YTD Sales Amount]))/sum([LY YTD Sales Amount])&amp;gt;-0.45, (sum([YTD Sales Amount])-sum([LY YTD Sales Amount]))/sum([LY YTD Sales Amount]), 0 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executive Deskboard - KPI :-&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Fiscal Year]={$(=vYTDYear)}, FiscalMonthNum={"&amp;lt;=$(vCurrentMonthNum)"}&amp;gt;}[Sales Price]*[Sales Quantity])/Sum({&amp;lt;[Fiscal Year]={$(=(vYTDYear)-1)}, FiscalMonthNum={"&amp;lt;=$(vCurrentMonthNum)"}&amp;gt;}[Sales Price]*[Sales Quantity])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executive Deskboard - CY vs LY :-&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Fiscal Year]={$(=(vCurrentYear)-1)}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance Deskboard - Sales Variance&lt;/P&gt;&lt;P&gt;(sum([YTD Sales Amount])-sum([LY YTD Sales Amount]))/sum([LY YTD Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performance Deskboard - Sales comparison :-&lt;/P&gt;&lt;P&gt;Sum([YTD Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Base on above finding , i can conclude that i should not using SET anaylsis when in QS design. instead i should make use of Flag CY or CYTD.&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 (if($(ColumnDim3), $(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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(ColumnDim3) allow make select between CY or CYTD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know how can i implement in QS. As QS does not allow me create&amp;nbsp; variable in setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclsoed my QV sample.&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>Tue, 01 Mar 2016 15:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062649#M641531</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-03-01T15:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply VARIABLE $(ColumnDim3) in QS ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062650#M641532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to post this in the QlikSense forum instead as you'll get more chance of a reply and it'll be more useful when searching for answers in future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2016 15:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062650#M641532</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2016-03-01T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply VARIABLE $(ColumnDim3) in QS ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062651#M641533</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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes , I forgotten and posted on the wrong section.           Thank you for info me.&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>Tue, 01 Mar 2016 15:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-VARIABLE-ColumnDim3-in-QS/m-p/1062651#M641533</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-03-01T15:39:32Z</dc:date>
    </item>
  </channel>
</rss>

