<?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 variable within set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285148#M26899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the pause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both variants don't work&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;MyFieldFromOtherTable={'$(MyFieldFromChart)'}&amp;gt;} SumFieldFromOtherTable)&lt;/SPAN&gt;&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;MyFieldFromOtherTable={"$(=MyFieldFromChart)"}&amp;gt;} SumFieldFromOtherTable)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2017 14:34:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-09T14:34:23Z</dc:date>
    <item>
      <title>use variable within set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285146#M26897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; can anybody help me? )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 381px; height: 113px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;M&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;yFieldFromOtherTable&lt;/STRONG&gt;&lt;/EM&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;SumFieldFromOtherTable&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;95&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;96&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;200.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;97&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;300.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; width: 378px; height: 89px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;MyFieldFromChart&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;calculation sum (((&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;95&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;here must be 100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;96&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;here must be 200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This construction &lt;STRONG&gt;works&lt;/STRONG&gt; in chart:&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;EM&gt;&lt;STRONG&gt;yFieldFromOtherTable&lt;/STRONG&gt;&lt;/EM&gt;={&lt;STRONG style="color: #ff0000;"&gt;95&lt;/STRONG&gt;}&amp;gt;} &lt;STRONG&gt;SumFieldFromOtherTable&lt;/STRONG&gt;)&amp;nbsp; (&lt;STRONG&gt;&lt;EM&gt;in all row sum &lt;SPAN style="color: #000000; font-family: arial, sans-serif; font-size: 13px;"&gt;equal&lt;/SPAN&gt; 100 )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This construction &lt;STRONG style="text-decoration: underline;"&gt;don't&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;works&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; in chart:&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;M&lt;/STRONG&gt;&lt;EM style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;yFieldFromOtherTable&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;={&lt;STRONG style="color: #ff0000;"&gt;MyFieldFromChart&lt;/STRONG&gt;}&amp;gt;} &lt;STRONG style="font-size: 13.3333px;"&gt;SumFieldFromOtherTable&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 08:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285146#M26897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-16T08:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: use variable within set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285147#M26898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on how MyFieldFromChart is defined. you could try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MyFieldFromOtherTable={'$(MyFieldFromChart)'}&amp;gt;} SumFieldFromOtherTable)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MyFieldFromOtherTable={"$(=MyFieldFromChart)"}&amp;gt;} SumFieldFromOtherTable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these do not work, I suggest you post more detail about the variable and your data model. the best would be a small sample qvw/qvf file that illustrates the problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 13:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285147#M26898</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-02-16T13:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: use variable within set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285148#M26899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the pause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both variants don't work&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;MyFieldFromOtherTable={'$(MyFieldFromChart)'}&amp;gt;} SumFieldFromOtherTable)&lt;/SPAN&gt;&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;MyFieldFromOtherTable={"$(=MyFieldFromChart)"}&amp;gt;} SumFieldFromOtherTable)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 14:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285148#M26899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-09T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: use variable within set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285149#M26900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ihor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the sample you have provided, the 2 tables are not linked. You could link the 2 tables and then use a simple sum(SumFieldFromOtherTable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;MyFieldFromOtherTable,SumFieldFromOtherTable&lt;/P&gt;&lt;P&gt;95,100.00&lt;/P&gt;&lt;P&gt;96,200.00&lt;/P&gt;&lt;P&gt;97,300.00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;MyFieldFromChart,MyFieldFromOtherTable&lt;/P&gt;&lt;P&gt;96,96&lt;/P&gt;&lt;P&gt;95,95&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 06:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285149#M26900</guid>
      <dc:creator>karthiksrqv</dc:creator>
      <dc:date>2017-03-10T06:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: use variable within set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285150#M26901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could of course. But I did not want to be through a link. It was other &lt;SPAN style="color: #000000; font-family: arial, sans-serif; font-size: 13px;"&gt;task&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think "set analysis" can not cope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all )))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 09:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/use-variable-within-set-analysis/m-p/1285150#M26901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-10T09:27:06Z</dc:date>
    </item>
  </channel>
</rss>

