<?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 filter not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533184#M108186</link>
    <description>&lt;P&gt;You are using &lt;EM&gt;origem_lab&lt;/EM&gt; as as a modifier in your set expression. Filtering on that value 0 (zero).&lt;/P&gt;&lt;P&gt;Which filters are you expecting your expression to calculate over when you make a selection in that field?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets assume you select &lt;EM&gt;origem_lab=1&lt;/EM&gt;. Are you then expecting the sum of v_voc_rat where ind_smm is 'Executante' and origem_lab is 0 or 1? Or other? Please explain.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Oct 2025 22:04:17 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2025-10-12T22:04:17Z</dc:date>
    <item>
      <title>Set Analysis filter not working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533182#M108184</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I made this expression and it's working as expected:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;ind_smm = {'Executante'},origem_lab={0}&amp;gt;} v_voc_rat)&lt;/LI-CODE&gt;&lt;P&gt;Then, the costumer asked for the field 'origem_lab' to be displayed and work as a filter. But the set analysis ignores values selected for the above expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to make this set analysis expression variable based on values selected in origem_lab?&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 20:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533182#M108184</guid>
      <dc:creator>pedromsouza</dc:creator>
      <dc:date>2025-10-12T20:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis filter not working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533183#M108185</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28694"&gt;@pedromsouza&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Are you from Brazil?&lt;/P&gt;&lt;P&gt;Your measure is ignoring selections on &lt;STRONG&gt;origem_lab&lt;/STRONG&gt; field because you forced it to be equals zero in your expression:&amp;nbsp;sum({$&amp;lt;ind_smm = {'Executante'},&lt;STRONG&gt;origem_lab={0}&lt;/STRONG&gt;&amp;gt;} v_voc_rat).&lt;/P&gt;&lt;P&gt;To avoid this behavior, simply remove that set expression from your measure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum({$&amp;lt;ind_smm = {'Executante'}&amp;gt;} v_voc_rat)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 21:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533183#M108185</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-10-12T21:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis filter not working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533184#M108186</link>
      <description>&lt;P&gt;You are using &lt;EM&gt;origem_lab&lt;/EM&gt; as as a modifier in your set expression. Filtering on that value 0 (zero).&lt;/P&gt;&lt;P&gt;Which filters are you expecting your expression to calculate over when you make a selection in that field?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets assume you select &lt;EM&gt;origem_lab=1&lt;/EM&gt;. Are you then expecting the sum of v_voc_rat where ind_smm is 'Executante' and origem_lab is 0 or 1? Or other? Please explain.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2025 22:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-filter-not-working/m-p/2533184#M108186</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-10-12T22:04:17Z</dc:date>
    </item>
  </channel>
</rss>

