<?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: conditional hide straight table and list boxes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713496#M1064667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have downloaded the new SR8 version of qlikview. I added these expressions in "show - conditional" in the layout tab.&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; getselectedcount(Curr_Qtr_Flag) &amp;gt; 0 and getselectedcount(Wk_in_FQ) &amp;gt; 0 and&amp;nbsp; only(Curr_Qtr_Flag) = 'Y'&amp;nbsp; and (Wk_in_FQ) &amp;lt;=4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i tested this with other quarter, the table is still there....do i need to set up variables? The curr_qtr_flag and wk_in_FQ are both in the back end calendar table that's linked to the main table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 15:17:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-17T15:17:06Z</dc:date>
    <item>
      <title>conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713491#M1064662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I wanted to set a conditional expression to only show straight tables and list boxes let's say if the current selections are for current quarter and weeks range from week 1 thru week 4 of the quarter. ( I have a flag that counts the weeks in the quarter). Also, I am using this on a different state (Alternate states) within the dashboard. Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 18:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713491#M1064662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T18:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713492#M1064663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a sample expression that would check to see if a Quarter(s)&amp;nbsp; and Week(s) were selected and then figure out if the Quarter selected is the current quarter (based on a variable) and the flag for #weeks selected = 4.&amp;nbsp; Your specifics will change a bit but a QVW sample will help give more detailed solutions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; getselectedcount(Quarter) &amp;gt; 0 and getselectedcount(week) &amp;gt; 0 and&amp;nbsp; only(Quarter) = $(vCurrentQuarter)&amp;nbsp; and $(vWeekCountFlag) = 4 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you will need SET ANALYSIS to pull these selections from an Alternate State. The good news is that you can now (just in last few days) download qlikview 11.2 SR8 and leverage alternate states in the getselectedcount() function per the SR8 release note below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.3.2 Alternate state parameter for certain functions &lt;/P&gt;&lt;P&gt;New parameter added to the functions “GetSelectedCount()”, “GetFieldSelections()” and &lt;/P&gt;&lt;P&gt;“GetCurrentSelections()” to query other states than the main state. &lt;/P&gt;&lt;P&gt;E.g. =GetFieldSelections(Quantity, ';', ,'StateA') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 18:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713492#M1064663</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-16T18:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713493#M1064664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! So I just need to download the latest Qlikview and i should be able to apply those field functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 18:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713493#M1064664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T18:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713494#M1064665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those field functions are in the product now and have been for years, but when Alternate States was introduced 2 years ago, these could not pull the values from the alternate states, only the default state.&amp;nbsp; Now in SR8 they can pull from alternate states... so handy for use case. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 19:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713494#M1064665</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-16T19:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713495#M1064666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, am downloading it now. Will let you know when I get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 19:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713495#M1064666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-16T19:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713496#M1064667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have downloaded the new SR8 version of qlikview. I added these expressions in "show - conditional" in the layout tab.&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; getselectedcount(Curr_Qtr_Flag) &amp;gt; 0 and getselectedcount(Wk_in_FQ) &amp;gt; 0 and&amp;nbsp; only(Curr_Qtr_Flag) = 'Y'&amp;nbsp; and (Wk_in_FQ) &amp;lt;=4 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i tested this with other quarter, the table is still there....do i need to set up variables? The curr_qtr_flag and wk_in_FQ are both in the back end calendar table that's linked to the main table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 15:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713496#M1064667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-17T15:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713497#M1064668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do any of these conditions in the IF need to be evaluated off&amp;nbsp; the selections in an alternate state ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be the syntax if needed.&amp;nbsp; This would check if the user has made a selection on the field called&amp;nbsp; [Field] in the alternate state called 'AlternateStateName'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;getselectedcount( [Field],1,'AlternateStateName') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 19:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713497#M1064668</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-17T19:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713498#M1064669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(&amp;nbsp; getselectedcount([Curr_Qtr_Flag],1,'AlternateStateB') &amp;gt; 0 and getselectedcount([Wk_in_FQ],1,'AlternateStateB') &amp;gt; 0 and&amp;nbsp; only(Curr_Qtr_Flag) = 'Y'&amp;nbsp; and (Wk_in_FQ) &amp;lt;=4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;does that look right? I have 3 states in the dashboard - inherited, A, and B. I made the above changes but still not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 20:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713498#M1064669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-17T20:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713499#M1064670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the last condition looks a little strange ( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(Wk_in_FQ) &amp;lt;=4)&amp;nbsp; &lt;/SPAN&gt;, can you share a QVW example ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 20:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713499#M1064670</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-17T20:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713500#M1064671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the list boxes at the top of the page is based on State A, and the ones at the bottom of the page are State B. I am trying to apply the conditional hide/show for all the table and list boxes in state B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 20:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713500#M1064671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-17T20:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713501#M1064672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - i altered the conditional show hide expression to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only(&amp;nbsp; {B} Curr_Qtr_Flag) = 'Y'&amp;nbsp; and concat( {B} distinct Wk_in_FQ ,';') = '1;2;3;4'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only(&amp;nbsp; {B} Curr_Qtr_Flag) = 'Y'&amp;nbsp; ---&amp;gt;&amp;nbsp; means that the only possible value for Curr_Qtr_Flg in the current selections for the Alternate State 'B' is 'Y' .&amp;nbsp; Looing at the screenshot below , the Curr_Qtr_Flag list box shows Y as the only value that is green or white so this is TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat( {B} distinct Wk_in_FQ ,';') = '1;2;3;4'&amp;nbsp; --&amp;gt; Means that the only possible values for Wk_in_FQ in the current selections for the alternate state 'B' is&amp;nbsp; 1,2,3 and 4.&amp;nbsp; The concat() function lists all the possible values with a delimitter. In my case the delimitter is ';'.&amp;nbsp; If i add a distinct it will only list one instance of the value. So below i have selected only 1,2,3, and 4 (green or white) and that means this will evaluate to 1;2;3;4&amp;nbsp; or TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/67049_Capture.PNG.png" style="width: 620px; height: 170px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 00:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713501#M1064672</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-18T00:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713502#M1064673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! That was helpful, and if i need to change the conditions to include other weeks, i'd just need to extend it beyond 4, correct? Also, how'd i hide the list boxes for the curr_qtr_flag and wk in qtr based on the same logic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your time and help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713502#M1064673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T15:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713503#M1064674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, if let's say user selects week 1-3, the table would be hidden too. I'd like to show the table for week in qtr in the range from 1-4. I tried removing distinct in the expression but it still goes into hidden mode.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713503#M1064674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-18T15:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713504#M1064675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will work as an updated expression. If they select any combination of 1,2,3, and 4 it will show. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they select any combination of 1,2,3 and 4&amp;nbsp; AND a higher wk it will NOT show. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that right ?&amp;nbsp; If you want to show it as long as one of the selected weeks is &amp;lt;=4 then switch the 'max' to a 'min' below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only(&amp;nbsp; {B} Curr_Qtr_Flag) = 'Y' &lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;max( Wk_in_FQ) &amp;lt;= 4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 15:59:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713504#M1064675</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-18T15:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: conditional hide straight table and list boxes</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713505#M1064676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 16:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-hide-straight-table-and-list-boxes/m-p/713505#M1064676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T16:25:07Z</dc:date>
    </item>
  </channel>
</rss>

