<?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: variables in Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628357#M230816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try $(=var_month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 06:04:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-12T06:04:18Z</dc:date>
    <item>
      <title>variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628352#M230811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am using the below expression and its not working...can anybody tell me what's wrong with that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;sum({$&amp;lt;Status_FA={'A'},Month_No={$(var_month)}&amp;gt;}Revenue)-sum({$&amp;lt;Status_FA={'A'},Month_No={$(var_month)}&amp;gt;}Discount)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where var_month is the variable which is assigned the value as field Month_No&lt;/P&gt;&lt;P&gt;Month_No is in date format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 14:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628352#M230811</guid>
      <dc:creator />
      <dc:date>2014-05-09T14:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628353#M230812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try "" around the variable name&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 12pt;"&gt;$(var_month)&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 14:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628353#M230812</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-05-09T14:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628354#M230813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try debugging your set analysis expression (thanks to John Witherspoon)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;For debugging set analysis, make a chart that has your set analysis expression as the first chart expression, but do NOT label the expression, and do NOT supply a caption for the chart.&amp;nbsp; The caption and column heading will then show your expression.&amp;nbsp; One of them (I forget which) shows the expression just like you wrote it.&amp;nbsp; One of them shows it after the dollar sign substitution has taken place.&amp;nbsp; Comparing the two will very often let you know what's going wrong, or at least WHERE it is going wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 21:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628354#M230813</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-09T21:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628355#M230814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sudeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using " " around $(var_month) is making it as string and again it's not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 04:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628355#M230814</guid>
      <dc:creator />
      <dc:date>2014-05-12T04:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628356#M230815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anuj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the issue is because of formatting.&amp;nbsp; What is the format of &lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var_month&lt;/STRONG&gt; and &lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month_No&lt;/STRONG&gt; is both values are in same format?&amp;nbsp; If not then convert to the same format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your &lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month_No&lt;/STRONG&gt; column has 1 to 12 and var_month has one value of 1 to 12, then this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({$&amp;lt;Status_FA={'A'},Month_No={$(var_month)}&amp;gt;}Revenue)-sum({$&amp;lt;Status_FA={'A'},Month_No={$(var_month)}&amp;gt;}Discount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 06:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628356#M230815</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-05-12T06:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628357#M230816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try $(=var_month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 06:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628357#M230816</guid>
      <dc:creator />
      <dc:date>2014-05-12T06:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628358#M230817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;Yes both Month_No and var_month are in same format which is date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 06:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628358#M230817</guid>
      <dc:creator />
      <dc:date>2014-05-12T06:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628359#M230818</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 this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;sum({$&amp;lt;Status_FA={'A'},Month_No={'$(=var_month)'}&amp;gt;}Revenue)-sum({$&amp;lt;Status_FA={'A'},Month_No={&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;'$(=var_month)'&lt;/STRONG&gt;}&amp;gt;}Discount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Jagan.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 06:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628359#M230818</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-05-12T06:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628360#M230819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How you created the field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month_No i.e., using Month(DateField)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;And how you assigned value to the variable using month function or something els?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 07:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628360#M230819</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2014-05-12T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628361#M230820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month_No is just the name of the field having values as Date type.&lt;/P&gt;&lt;P&gt;for assigning value to the variable go to Settings-&amp;gt;Document Properties-&amp;gt;Variables&lt;/P&gt;&lt;P&gt;and there you can assign any constant value or field value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628361#M230820</guid>
      <dc:creator />
      <dc:date>2014-05-13T05:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628362#M230821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628362#M230821</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-05-13T05:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: variables in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628363#M230822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;STRONG&gt;Anuj,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;can you please tell us how you created/declared&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;var_month&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; and &lt;/SPAN&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month_No&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;else it will&amp;nbsp; be all guess work ?&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;anant&lt;STRONG style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 05:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-in-Set-analysis/m-p/628363#M230822</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T05:47:02Z</dc:date>
    </item>
  </channel>
</rss>

