<?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 View in current selection box - hide some views? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577665#M544168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm making a Qlikview application that are based on two different data sets that have the same variable names. The difference between the datasets are, that they are compiled at different times of the year - one time a year and daily. The yearly data also has&amp;nbsp; daily data in it, but only for the newest year (2014 for now), because the yearly data is compiled the 1st of october each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script I have concatenated the two data sets - and I can differentiate &lt;SPAN class="hps"&gt;the data by a variable I created (datakilde), indicating whether the data comes from the daily data (Daglig) or from the yearly data (Aarlig).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sheet which is based on the daily data and another one which is based on the yearly data. Because of this I had to make some expressions in my list boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of a list box expression with the daily data: &lt;/P&gt;&lt;P&gt; &lt;IMG alt="screen2.png" class="jive-image jiveImage" height="536" src="https://community.qlik.com/legacyfs/online/57327_screen2.png" width="624" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57328_screen3.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As a result the current selctions box shows that the data comes from the daily data set (Daglig). I guess this is shown in the selections box, because of my expression - but I don't want the users to see which data that lies behind.&lt;/P&gt;&lt;P&gt;Can't it be done in a way, so it only shows the selection "Område" from the last list box and not what data is is??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen.png" class="jive-image jiveImage" height="406" src="https://community.qlik.com/legacyfs/online/57301_screen.png" width="649" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Apr 2014 12:45:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-15T12:45:24Z</dc:date>
    <item>
      <title>View in current selection box - hide some views?</title>
      <link>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577665#M544168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm making a Qlikview application that are based on two different data sets that have the same variable names. The difference between the datasets are, that they are compiled at different times of the year - one time a year and daily. The yearly data also has&amp;nbsp; daily data in it, but only for the newest year (2014 for now), because the yearly data is compiled the 1st of october each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script I have concatenated the two data sets - and I can differentiate &lt;SPAN class="hps"&gt;the data by a variable I created (datakilde), indicating whether the data comes from the daily data (Daglig) or from the yearly data (Aarlig).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sheet which is based on the daily data and another one which is based on the yearly data. Because of this I had to make some expressions in my list boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of a list box expression with the daily data: &lt;/P&gt;&lt;P&gt; &lt;IMG alt="screen2.png" class="jive-image jiveImage" height="536" src="https://community.qlik.com/legacyfs/online/57327_screen2.png" width="624" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57328_screen3.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; As a result the current selctions box shows that the data comes from the daily data set (Daglig). I guess this is shown in the selections box, because of my expression - but I don't want the users to see which data that lies behind.&lt;/P&gt;&lt;P&gt;Can't it be done in a way, so it only shows the selection "Område" from the last list box and not what data is is??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen.png" class="jive-image jiveImage" height="406" src="https://community.qlik.com/legacyfs/online/57301_screen.png" width="649" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 12:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577665#M544168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-15T12:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: View in current selection box - hide some views?</title>
      <link>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577666#M544169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically, in order not to show a field in the Current Selections box, we use HidePrefix (or HideSuffix).&amp;nbsp; For example, rename you field datakilde to something like %datacilde, and use&lt;/P&gt;&lt;P&gt;HidePrefix = %;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach is to use a variable instead of field, but it may be less convenient in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 13:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577666#M544169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-15T13:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: View in current selection box - hide some views?</title>
      <link>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577667#M544170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. It helped me in solving the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With your help I searched for HidePrefix on the Internet and followed this guide:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.quickintelligence.co.uk/have-something-to-hide/" title="http://www.quickintelligence.co.uk/have-something-to-hide/"&gt;http://www.quickintelligence.co.uk/have-something-to-hide/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Maria&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577667#M544170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T13:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Re: View in current selection box - hide some views?</title>
      <link>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577668#M544171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I just found out that this procedure conflicts with another expression in one of my listboxes and in my pivot tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first listbox the HidePrefix worked perfectly. Here I wrote: &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: #800000; font-size: 8pt;"&gt;%datakilde&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Aarlig', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Aktivitetsnavn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the variable %datakilde is no longer shown in the current selections - which is perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I have another listbox with this original expression:&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: #800000; font-size: 8pt;"&gt;[datakilde]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Aarlig' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[aargang]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vThisYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[År]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have this extra restriction because I want to exclude the latest value of aargang in the listbox (which is stored in the variable ThisYear). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The syntax works fine with the % sign in front of datakilde and without the % sign in front of aargang - although I still have a problem with aargang being shown in the current selection box.&lt;/SPAN&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: #800000; font-size: 8pt;"&gt;[%datakilde]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Aarlig' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[aargang]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vThisYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[År]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; When I add the the %aargang in the script along with the % sign in front of aargang in the below expression, the listbox shows the latest value of aargang, which weren't the intention...&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: #800000; font-size: 8pt;"&gt;[%datakilde]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Aarlig' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[%aargang]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vThisYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[År]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a similar problem with a pivot table - where I also don't want to show the latest value of aargang:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This actually works fine, because the latest value of aargang is not shown:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[aargang]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=-{&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vThisYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[%datakilde]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Aarlig'}&amp;gt;} STÅ)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But when I add&amp;nbsp; the %aargang in the script and the&amp;nbsp; % sign in front of aargang, the latest value of aargang appears:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%aargang&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=-{&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vThisYear)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[%datakilde]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Aarlig'}&amp;gt;} STÅ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It is as though the expressions with the aargang restriction can't handle the %aargang?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kind Regards Maria&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 15:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577668#M544171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T15:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: View in current selection box - hide some views?</title>
      <link>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577669#M544172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the field %aargang is not the exact copy of aargang, otherwise they'd work the same way.&lt;/P&gt;&lt;P&gt;If you haven't solved it yet, you can upload an example of your app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 19:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/View-in-current-selection-box-hide-some-views/m-p/577669#M544172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-28T19:37:06Z</dc:date>
    </item>
  </channel>
</rss>

