<?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 Set Analysis with two or more conditions in variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694371#M725975</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i need some help.&lt;/P&gt;&lt;P&gt;I&amp;nbsp; have this formular:&lt;/P&gt;&lt;P&gt;=count(DISTINCT {&amp;lt;STATUS_PRODUKT={"$(v_switch_status_produkt)"}&amp;gt;}Vertragsnummer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STATUS_PRODUKT can be 'aktiv' or 'in Bearbeitung'&lt;/P&gt;&lt;P&gt;Now i can set the variable&amp;nbsp;v_switch_status_produkt to 'aktiv' or&amp;nbsp; 'in Bearbeitung', this works fine.&lt;/P&gt;&lt;P&gt;How can i set the variable to&amp;nbsp; the condition&amp;nbsp; 'aktiv', 'in Bearbeitung'?&lt;/P&gt;&lt;P&gt;I have tryed this but it is not working.&lt;/P&gt;&lt;P&gt;v_switch_status_produkt=Chr(39)&amp;amp;'aktiv'&amp;amp;Chr(39)&amp;amp;Chr(44)&amp;amp;Chr(39)&amp;amp;'in Bearbeitung'&amp;amp;Chr(39)&lt;/P&gt;&lt;P&gt;But the output looks correct to me.('aktiv','in Bearbeitung')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:46:17 GMT</pubDate>
    <dc:creator>test_it_1234</dc:creator>
    <dc:date>2024-11-16T18:46:17Z</dc:date>
    <item>
      <title>Set Analysis with two or more conditions in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694371#M725975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i need some help.&lt;/P&gt;&lt;P&gt;I&amp;nbsp; have this formular:&lt;/P&gt;&lt;P&gt;=count(DISTINCT {&amp;lt;STATUS_PRODUKT={"$(v_switch_status_produkt)"}&amp;gt;}Vertragsnummer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STATUS_PRODUKT can be 'aktiv' or 'in Bearbeitung'&lt;/P&gt;&lt;P&gt;Now i can set the variable&amp;nbsp;v_switch_status_produkt to 'aktiv' or&amp;nbsp; 'in Bearbeitung', this works fine.&lt;/P&gt;&lt;P&gt;How can i set the variable to&amp;nbsp; the condition&amp;nbsp; 'aktiv', 'in Bearbeitung'?&lt;/P&gt;&lt;P&gt;I have tryed this but it is not working.&lt;/P&gt;&lt;P&gt;v_switch_status_produkt=Chr(39)&amp;amp;'aktiv'&amp;amp;Chr(39)&amp;amp;Chr(44)&amp;amp;Chr(39)&amp;amp;'in Bearbeitung'&amp;amp;Chr(39)&lt;/P&gt;&lt;P&gt;But the output looks correct to me.('aktiv','in Bearbeitung')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694371#M725975</guid>
      <dc:creator>test_it_1234</dc:creator>
      <dc:date>2024-11-16T18:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with two or more conditions in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694374#M725976</link>
      <description>&lt;P&gt;i find the error by my self &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;change this to&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=count(DISTINCT {&amp;lt;STATUS_PRODUKT={"$(v_switch_status_produkt)"}&amp;gt;}Vertragsnummer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=count(DISTINCT {&amp;lt;STATUS_PRODUKT={$(v_switch_status_produkt)}&amp;gt;}Vertragsnummer)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 09:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694374#M725976</guid>
      <dc:creator>test_it_1234</dc:creator>
      <dc:date>2020-04-17T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with two or more conditions in variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694375#M725977</link>
      <description>&lt;P&gt;Try removing double quotes, like:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=count(DISTINCT {&amp;lt;STATUS_PRODUKT={$(v_switch_status_produkt)}&amp;gt;}Vertragsnummer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since your variable evaluation would itself have single quotes, this should work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 09:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-two-or-more-conditions-in-variable/m-p/1694375#M725977</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-04-17T09:43:43Z</dc:date>
    </item>
  </channel>
</rss>

