<?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: Working with variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839760#M69505</link>
    <description>&lt;P&gt;Hi - thank you for the response.&lt;/P&gt;&lt;P&gt;I am using the variable in a table visualization so therefore setting the product_name will not work.&lt;/P&gt;&lt;P&gt;Each product has its own calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts ? Jerry&lt;/P&gt;</description>
    <pubDate>Tue, 28 Sep 2021 13:35:23 GMT</pubDate>
    <dc:creator>jerryr125</dc:creator>
    <dc:date>2021-09-28T13:35:23Z</dc:date>
    <item>
      <title>Working with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839723#M69503</link>
      <description>&lt;P&gt;Hi - I have a question about variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following variables set up:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMaterialC2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[MaterialCDateYear]={'2021'}&amp;gt;} (MaterialCPrice))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMaterialC2020&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[MaterialCDateYear]={'2020'}&amp;gt;} (MaterialCPrice))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both variables work - no issues.&lt;/P&gt;&lt;P&gt;I am trying to calculate the variance between vMaterialC2021 and VMaterialC2020.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMaterialVariance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=sum({&amp;lt;[MaterialCDateYear]={'2021'}&amp;gt;} (MaterialCPrice))-sum({&amp;lt;[MaterialCYear]={'2020'}&amp;gt;} (MaterialCPrice))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The formula calculates it for the entire population not just for the specific material number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried:&lt;/P&gt;&lt;P&gt;=sum(vMaterialC2021-vMaterialC2020)&lt;/P&gt;&lt;P&gt;no luck&lt;/P&gt;&lt;P&gt;Any thoughts ? Jerry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 12:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839723#M69503</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-09-28T12:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Working with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839728#M69504</link>
      <description>&lt;P&gt;use that specific product in set analysis&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMaterialVariance&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=sum({&amp;lt;[MaterialCDateYear]={'2021'},product={'Product_name'}&amp;gt;} (MaterialCPrice))-sum({&amp;lt;[MaterialCYear]={'2020'},product={'Product_name'}&amp;gt;} (MaterialCPrice))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 12:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839728#M69504</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2021-09-28T12:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Working with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839760#M69505</link>
      <description>&lt;P&gt;Hi - thank you for the response.&lt;/P&gt;&lt;P&gt;I am using the variable in a table visualization so therefore setting the product_name will not work.&lt;/P&gt;&lt;P&gt;Each product has its own calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts ? Jerry&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 13:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839760#M69505</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-09-28T13:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Working with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839769#M69508</link>
      <description>&lt;P&gt;Hi I created a master measure -got it -thanks - Jerry&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 13:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Working-with-variables/m-p/1839769#M69508</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2021-09-28T13:43:47Z</dc:date>
    </item>
  </channel>
</rss>

