<?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: Always one Value Selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285353#M402480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a sample app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;When I change the&amp;nbsp; Active Sheet, YearVolume takes the value of Year and vice versa.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How are are you doing this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2017 19:05:28 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2017-02-02T19:05:28Z</dc:date>
    <item>
      <title>Always one Value Selected</title>
      <link>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285352#M402479</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;I have a field called "Year" and I need it to always have a value selected (It has the year.. 2014,2015,201...). I also have another field called YearVolume, that also has years, but from data that is apart from the main model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I use "Year" in Sheet 1-4 and Year2 in Sheet 5.&lt;/P&gt;&lt;P&gt;When I change the&amp;nbsp; Active Sheet, YearVolume takes the value of Year and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trouble is that I can't use the option "Always one Value Selected" because it doesn't unselects the field when I leave the Sheets that use it, so I end it up with Year and YearVolume selected with the same year. But as they are two field, they exclude everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to emulate the "Always one Value Selected" with a trigger for the field. I set the trigger to "On any select" with the following value, without luck:&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(Periodo)=1,Periodo,'2016')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 18:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285352#M402479</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2017-02-02T18:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Always one Value Selected</title>
      <link>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285353#M402480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a sample app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;When I change the&amp;nbsp; Active Sheet, YearVolume takes the value of Year and vice versa.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How are are you doing this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 19:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285353#M402480</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-02-02T19:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Always one Value Selected</title>
      <link>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285354#M402481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With triggers in Sheet 5!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger:&lt;/P&gt;&lt;P&gt;Field: Year&lt;/P&gt;&lt;P&gt;Expression: =if(GetSelectedCount(Year2)&amp;gt;0,'("' &amp;amp; Concat(DISTINCT Replace(Year2,' ','?'), '"|"') &amp;amp; '")','')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 20:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Always-one-Value-Selected/m-p/1285354#M402481</guid>
      <dc:creator>cristian_av</dc:creator>
      <dc:date>2017-02-02T20:12:33Z</dc:date>
    </item>
  </channel>
</rss>

