<?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: set analysis with expression variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972861#M332825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your expression for vMaterialCode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2015 18:43:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-27T18:43:41Z</dc:date>
    <item>
      <title>set analysis with expression variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972860#M332824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression called vMaterialCost wwhcih is a sum of my material costs.&amp;nbsp; This variable works fine in my expression but we just added a selction criteria called current/Prior month.&amp;nbsp; In my trending charts, I need to use my vMaterialcost variable as an expression regardless of the value selected in current/prior month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Current/Prior Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={$1} &amp;gt;} &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vMaterialCost)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but that did not seem to work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Assistance is appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 18:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972860#M332824</guid>
      <dc:creator />
      <dc:date>2015-10-27T18:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with expression variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972861#M332825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your expression for vMaterialCode?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 18:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972861#M332825</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-27T18:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with expression variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972862#M332826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how is defined vMaterialCost?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;to disregard the current/prior month &lt;/SPAN&gt;you can use an expression (MaterialCost is a field) as &lt;/P&gt;&lt;P&gt;sum( {$ &amp;lt;&lt;STRONG&gt;[Current/Prior Month]=&lt;/STRONG&gt;&amp;gt;} MaterialCost)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 18:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972862#M332826</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-27T18:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with expression variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972863#M332827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Material Cost Amount]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;and thsi expression is used throughout the applciation and do not want to change it&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 18:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972863#M332827</guid>
      <dc:creator />
      <dc:date>2015-10-27T18:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with expression variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972864#M332828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will have to make the change to your variable itself or just write the whole expression again with the new set analysis. The way you are trying to do won't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;[Current/Prior Month] = &amp;gt;}[Material Cost Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 18:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972864#M332828</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-27T18:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with expression variable</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972865#M332829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to change the variable you have to create a new variable with Sunny's expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 19:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-expression-variable/m-p/972865#M332829</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-27T19:06:03Z</dc:date>
    </item>
  </channel>
</rss>

