<?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 rows in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641092#M542766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fieldvaluecount might be what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your conditional expression for Concept1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(FieldValueCount(Concept2) &amp;gt; 1, 1, 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2014 15:47:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-05T15:47:34Z</dc:date>
    <item>
      <title>Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641087#M542761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;I'm newbie in QlikView and this is my first post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;users&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;requirement&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is as follows. We have two dimensions (&lt;/SPAN&gt;&lt;STRONG&gt;concept 1&lt;/STRONG&gt;&lt;SPAN class="hps"&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;concept2&lt;/STRONG&gt;&lt;SPAN class="hps"&gt;) in a pivot table chart. They want to hide the rows when the second dimension has only one occurrence, and keep the total in the first dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;IMG alt="2014-06-05_1534.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60168_2014-06-05_1534.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Does anyone know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;any way to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;get it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;Xavi F.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641087#M542761</guid>
      <dc:creator />
      <dc:date>2014-06-05T14:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641088#M542762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, you need to use calculated dimension &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;please attach file with data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641088#M542762</guid>
      <dc:creator>annafuksa1</dc:creator>
      <dc:date>2014-06-05T14:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641089#M542763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is actual result and expected result, are they concept1 and concept2? Can you provide some more explanation for your problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:41:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641089#M542763</guid>
      <dc:creator />
      <dc:date>2014-06-05T14:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641090#M542764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is concept1 a count and concept2 a category?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 14:51:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641090#M542764</guid>
      <dc:creator />
      <dc:date>2014-06-05T14:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641091#M542765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ACTUAL RESULT is the result that I have at the moment.&lt;/P&gt;&lt;P&gt;Concept 1 and Concept 2 are two dimensions. Concept 1 is the first dimension (bold font style) and Concept 2 the second one (normal font):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-06-05_1742.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60175_2014-06-05_1742.png" style="width: 620px; height: 227px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SPECTED RESULT is that I want to get. I want to hide Concept 2 when it has only one row, i.e: Concept 1 'Machines and Accesories' has only one ocurrence in Concept 2, then I don't want it apears in the table. Concept 1 'ITIS' has two ocurrences in Concept 2 ('Hardware' and 'Maintenance'), then they sould be present in the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-06-05_1740.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60174_2014-06-05_1740.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 15:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641091#M542765</guid>
      <dc:creator />
      <dc:date>2014-06-05T15:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641092#M542766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fieldvaluecount might be what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your conditional expression for Concept1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(FieldValueCount(Concept2) &amp;gt; 1, 1, 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 15:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641092#M542766</guid>
      <dc:creator />
      <dc:date>2014-06-05T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641093#M542767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the syntax for fieldvaluecount:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor443"&gt;&lt;/A&gt;&lt;A name="fieldvaluecount("&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;fieldvaluecount(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;fieldname&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns the number of distinct values in a field. &lt;SPAN class="Italic"&gt;Fieldname&lt;/SPAN&gt; must be given as a string (e.g. a quoted literal). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 15:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641093#M542767</guid>
      <dc:creator />
      <dc:date>2014-06-05T15:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641094#M542768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jacob,&lt;/P&gt;&lt;P&gt;Thaks for your answer.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I've been testing with FieldValueCount &lt;SPAN class="hps"&gt;as&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you proposed and other functions (Count, Count Distinct, RowNo,...) and I did not get the expected result.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Can you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;explain it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in more detail,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;please?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;I attached the qvw file&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Xavi F.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 10:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641094#M542768</guid>
      <dc:creator />
      <dc:date>2014-06-10T10:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional hide rows in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641095#M542769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;continued to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;test&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but I have not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;found the solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;I created&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an expression that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;counts how many&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;rows&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;appear in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;DIM2 for each value of DIM1&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but I can not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use the same formula&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the dimension definition (see attached qvw file)&lt;/SPAN&gt;&lt;SPAN class="hps"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Any suggestions?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Xavi F.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 08:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-hide-rows-in-dimension/m-p/641095#M542769</guid>
      <dc:creator />
      <dc:date>2014-06-13T08:53:31Z</dc:date>
    </item>
  </channel>
</rss>

