<?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: Only one possible selection value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555946#M207558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it didnt seem to work. I have the trigger set to customername, is that correct?&lt;/P&gt;&lt;P&gt;On opening the document it has a customer selected (which it should) but has not selected any campaign (as it should), meaning the user still has a possibility to multiselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getselectedcount(customername)=1,only({&amp;lt;campaignname={'$(=fieldvalue('customername',1))'}&amp;gt;}campaignname))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping for help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jan 2014 12:36:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-06T12:36:55Z</dc:date>
    <item>
      <title>Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555943#M207555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know where i am making the mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several selections "customername" and "campaignname"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 'Only one possible selection' enabled on customername, and i want this to trigger campaignname selection to only the first possible index value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a trigger on the field customername as such:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field: customername&lt;/P&gt;&lt;P&gt;Search String:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentSelections&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;customername&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FieldIndex&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;campaignname&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 1)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thansk for the help..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 09:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555943#M207555</guid>
      <dc:creator />
      <dc:date>2014-01-06T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555944#M207556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use fieldvalue instead, so do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getselectedcount(customername)=1,only({&amp;lt;campaignname={'$(=fieldvalue('customername',1))'}&amp;gt;}campaignname))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you come right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 11:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555944#M207556</guid>
      <dc:creator />
      <dc:date>2014-01-06T11:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555945#M207557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to mention. Since you are selecting a customer, you are reducing your data set for all values under that customer. Therefore, the first fieldvalue is your firstindex value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 11:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555945#M207557</guid>
      <dc:creator />
      <dc:date>2014-01-06T11:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555946#M207558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it didnt seem to work. I have the trigger set to customername, is that correct?&lt;/P&gt;&lt;P&gt;On opening the document it has a customer selected (which it should) but has not selected any campaign (as it should), meaning the user still has a possibility to multiselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getselectedcount(customername)=1,only({&amp;lt;campaignname={'$(=fieldvalue('customername',1))'}&amp;gt;}campaignname))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping for help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555946#M207558</guid>
      <dc:creator />
      <dc:date>2014-01-06T12:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555947#M207559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please provide a test app for the solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 14:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555947#M207559</guid>
      <dc:creator />
      <dc:date>2014-01-06T14:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555948#M207560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent a bit of time on this yesterday and could not get the field event triggers to behave in the way that you wanted. Why, I am not sure. I will upload the test document later today and maybe someone can have a look and explain why it is not behaving the way it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, since one selection is always on customer name, a simpler expression to write on the field event is simply MinString(CampaignName) - Will account for both text and numeric variations of campaignname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 06:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555948#M207560</guid>
      <dc:creator />
      <dc:date>2014-01-08T06:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Only one possible selection value</title>
      <link>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555949#M207561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Byron,&lt;BR /&gt;Thanks for the help.. Can you&amp;nbsp; please post the test app.&lt;/P&gt;&lt;P&gt;.Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 11:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-one-possible-selection-value/m-p/555949#M207561</guid>
      <dc:creator />
      <dc:date>2014-01-09T11:16:11Z</dc:date>
    </item>
  </channel>
</rss>

