<?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: Use expression in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367213#M136525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi James,&lt;/P&gt;&lt;P&gt;You can use $ sign expansion syntax at the set analysis like this:&lt;BR /&gt;Sum( {$&amp;lt;flow_month={"$(=month(min(flow_date)-1))"}, flow_day={"&amp;gt;=1&amp;lt;=31"}&amp;gt;} numeric_value_1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Kang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 17:29:47 GMT</pubDate>
    <dc:creator>jykang0638</dc:creator>
    <dc:date>2012-03-23T17:29:47Z</dc:date>
    <item>
      <title>Use expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367212#M136524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a Text Box I have this expression that gives me (what i believe to be) the numeric value for the previous month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(month(min(flow_date)-1))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I hard code the {2} the straight table shows the avg value... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(Sum( {$&amp;lt;flow_month={2}, flow_day={"&amp;gt;=1&amp;lt;=31"}&amp;gt;} numeric_value_1) - Sum( {$&amp;lt;flow_month={2}, flow_day={"&amp;gt;=1&amp;lt;=31"}&amp;gt;} numeric_value_2)) / count({$&amp;lt;flow_month={2}, flow_day={"&amp;gt;=1&amp;lt;=31"}&amp;gt;} flow_date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so... can how would I replace the {2} with the expression from the text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 17:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367212#M136524</guid>
      <dc:creator />
      <dc:date>2012-03-23T17:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367213#M136525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi James,&lt;/P&gt;&lt;P&gt;You can use $ sign expansion syntax at the set analysis like this:&lt;BR /&gt;Sum( {$&amp;lt;flow_month={"$(=month(min(flow_date)-1))"}, flow_day={"&amp;gt;=1&amp;lt;=31"}&amp;gt;} numeric_value_1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Kang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 17:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367213#M136525</guid>
      <dc:creator>jykang0638</dc:creator>
      <dc:date>2012-03-23T17:29:47Z</dc:date>
    </item>
    <item>
      <title>Use expression in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367214#M136526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; I tried many variations, but yours led to the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; I added the num() back into the expression.&amp;nbsp; Something about my flow_month is a numeric value which did not match the result of month() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 17:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-expression-in-set-analysis/m-p/367214#M136526</guid>
      <dc:creator />
      <dc:date>2012-03-23T17:41:59Z</dc:date>
    </item>
  </channel>
</rss>

