<?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 ignore some selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946871#M326105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Scripts works, but when i select an Adress-Set which has an emtpy String SpecialGroupID ..i select ALL empty .. which i do not want. I only want to Select all related Sets if there is a valid ID.&lt;/P&gt;&lt;P&gt;(i use that script in "condition for availibility" on a button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If((GetPossibleCount(ADRESS.SpecialGroupID) = 1 and Count(Trim(ADRESS.SpecialGroupID)) &amp;gt; 0), 1, 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2015 09:37:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-01T09:37:54Z</dc:date>
    <item>
      <title>Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946869#M326103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a Company Adress table where i have a Special Grouping (relation) ID so i can select all related companys at once.&lt;/P&gt;&lt;P&gt;But not all Adress-Sets have them (private Customers, ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is, because it's an App for our Field Service, they have limited access or Analysis selection fields.&lt;/P&gt;&lt;P&gt;First they need to select a Company (search) and then they can to some basic Analysis / Selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have a button( Show all Customers with SpecialGroupID xxx) what should show up when a Company has one&lt;BR /&gt;i have made These Actions: (Sorry i have german version, so i can only translate from german to english)&lt;/P&gt;&lt;P&gt;*) Clear Entire Selection&lt;/P&gt;&lt;P&gt;*) Selection in Field: Field: SpecialGroupID Search:SpecialGroupID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works so far but:&lt;/P&gt;&lt;P&gt;i only want have that button active when there is a SpecialGroupID available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that code:&lt;/P&gt;&lt;P&gt;if(GetPossibleCount(ADRESS.SpecialGroupID) = 1,1,0)&lt;/P&gt;&lt;P&gt;and (COUNT(TRIM(ADRESS.SpecialGroupID)) &amp;gt; 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i select a Adress who has no ID (is empty or has empty strings in it) .. it also shows up and when i click it, i get all Adress-Sets with "Nothing" in the SpecialGroupID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your inspiration and any little hint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nachricht geändert durch Markus Gombocz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 09:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946869#M326103</guid>
      <dc:creator />
      <dc:date>2015-09-01T09:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946870#M326104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactly sure where you are using this, but may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=If(GetPossibleCount(ADRESS.SpecialGroupID) = 1 and Count(Trim(ADRESS.SpecialGroupID)) &amp;gt; 0, Something, SomethingElse)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 09:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946870#M326104</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-01T09:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946871#M326105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Scripts works, but when i select an Adress-Set which has an emtpy String SpecialGroupID ..i select ALL empty .. which i do not want. I only want to Select all related Sets if there is a valid ID.&lt;/P&gt;&lt;P&gt;(i use that script in "condition for availibility" on a button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If((GetPossibleCount(ADRESS.SpecialGroupID) = 1 and Count(Trim(ADRESS.SpecialGroupID)) &amp;gt; 0), 1, 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 09:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946871#M326105</guid>
      <dc:creator />
      <dc:date>2015-09-01T09:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946872#M326106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;can you please share your app, so that we can check the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 10:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946872#M326106</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-09-01T10:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946873#M326107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've uploaded a clean version.&lt;/P&gt;&lt;P&gt;i dont want the button be active when Mr.Private is active (because they have no group id).&lt;/P&gt;&lt;P&gt;i hope this explains my error a little bit.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 10:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946873#M326107</guid>
      <dc:creator />
      <dc:date>2015-09-01T10:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946874#M326108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;update your condition like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(ADRESS.GroupID))&amp;gt;0,Count(Trim(ADRESS.GroupID)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;=If(GetPossibleCount(ADRESS.GroupID) = 1 and if(len(trim(ADRESS.GroupID))&amp;gt;0,Count(Trim(ADRESS.GroupID))) &amp;gt; 0, 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will do &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946874#M326108</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-09-01T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946875#M326109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Something seems off about the if statement. Can't really open the qvw file, so not sure what is the intended use. Can you check if the if statement is right:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=If(GetPossibleCount(ADRESS.GroupID) = 1 and if(len(trim(ADRESS.GroupID))&amp;gt;0,Count(Trim(ADRESS.GroupID))) &amp;gt; 0, 1, 0)&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: My bad, I understand it now &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. My apologies for the confusion, I wish I had a licensed version of QV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946875#M326109</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-01T11:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946876#M326110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, now it works.. the len() did it! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:23:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946876#M326110</guid>
      <dc:creator />
      <dc:date>2015-09-01T11:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946877#M326111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you wanted to mark Avinash's answer as correct answer, but marked mine as correct &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. Please reward him for providing you the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946877#M326111</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-01T11:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis ignore some selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946878#M326112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, i undid it, thanks! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 11:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-some-selection/m-p/946878#M326112</guid>
      <dc:creator />
      <dc:date>2015-09-01T11:27:49Z</dc:date>
    </item>
  </channel>
</rss>

