<?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 Variable in a Set Analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322910#M1197114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks.&lt;/P&gt;&lt;P&gt;Is it right also writing sum({$&amp;lt;Year = {$(=only(Year))}, Month &lt;STRONG&gt;&amp;lt;= {$(=$(VariableName))}&amp;gt;&lt;/STRONG&gt;&amp;gt;} DaysNumber)?&lt;/P&gt;&lt;P&gt;I have added Month &amp;lt;= ... instead of Month = ...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2011 08:21:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-19T08:21:15Z</dc:date>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322906#M1197110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'd like to use a variable inside a set analysis expression. Is it possible?&lt;/P&gt;&lt;P&gt;I have tried to use this expression, unsuccessfully:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=only(Year))}, Month = {"&amp;lt;=SelectedMonth"}&amp;gt;} DaysNumber), where SelectedMonth is a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 18:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322906#M1197110</guid>
      <dc:creator />
      <dc:date>2011-04-18T18:22:32Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322907#M1197111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=only(Year))}, Month = &lt;B&gt;{$(=$(VariableName&lt;/B&gt;&lt;B&gt;))}&amp;gt;&lt;/B&gt;&amp;gt;} DaysNumber).&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;BR /&gt;&lt;/B&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 18:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322907#M1197111</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-18T18:27:57Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322908#M1197112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You should always use the $ sign and the brackets to expland the variable. I hope this helps... please post the QV document, if you still have problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 18:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322908#M1197112</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-18T18:29:27Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322909#M1197113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also please see the below post on variables expansion used as UDF (user defined function). I thought you might be interested...&lt;/P&gt;&lt;P&gt;http://community.qlik.com/forums/t/43601.aspx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 18:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322909#M1197113</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-18T18:33:26Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322910#M1197114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks.&lt;/P&gt;&lt;P&gt;Is it right also writing sum({$&amp;lt;Year = {$(=only(Year))}, Month &lt;STRONG&gt;&amp;lt;= {$(=$(VariableName))}&amp;gt;&lt;/STRONG&gt;&amp;gt;} DaysNumber)?&lt;/P&gt;&lt;P&gt;I have added Month &amp;lt;= ... instead of Month = ...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 08:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322910#M1197114</guid>
      <dc:creator />
      <dc:date>2011-04-19T08:21:15Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322911#M1197115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes this will work fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 08:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322911#M1197115</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-04-19T08:52:58Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322912#M1197116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mmhhh, when I add the minor sign ( &amp;lt; ) in the expression editor I can see the text " &amp;lt;= " underlined in red. This is a mistake!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 11:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322912#M1197116</guid>
      <dc:creator />
      <dc:date>2011-04-19T11:05:09Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322913#M1197117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;This is, I think, the expression you are looking for:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=only(Year))}, Month &lt;STRONG&gt;= {"&amp;lt;=$(=$(VariableName))"}&amp;gt;&lt;/STRONG&gt;&amp;gt;} DaysNumber)&lt;/P&gt;&lt;P&gt;or (I think the outer dollar expansion may be unnecessary) ...&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=only(Year))}, Month &lt;STRONG&gt;= {"&amp;lt;=$(VariableName)"}&amp;gt;&lt;/STRONG&gt;&amp;gt;} DaysNumber)&lt;/P&gt;&lt;P&gt;Hope that helps&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 11:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322913#M1197117</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-04-19T11:20:45Z</dc:date>
    </item>
    <item>
      <title>Variable in a Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322914#M1197118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please can you post the QV document with sample data? It will be much easier to identify...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 11:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-a-Set-Analysis-expression/m-p/322914#M1197118</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-19T11:21:32Z</dc:date>
    </item>
  </channel>
</rss>

