<?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: Pivot table showing on Calculated Condition where one or more dimension filters are selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965416#M952211</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;You could try something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetSelectedCount(Field1) + GetSelectedCount(Field2) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I restrict something like this i would normally go off a count of returned rows &amp;gt; x, then change the error message to 'Too many row returns please make selections on x,y,z'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 15:54:54 GMT</pubDate>
    <dc:creator>Mark_Little</dc:creator>
    <dc:date>2015-11-23T15:54:54Z</dc:date>
    <item>
      <title>Pivot table showing on Calculated Condition where one or more dimension filters are selected</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965414#M952209</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've a pivot table in which I only want to show the data where a user selects one or more filter value from a number of List boxes.&lt;/P&gt;&lt;P&gt;For example the table shows all data relating to outstanding work orders, but due to volume we want a condition met before displaying the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I user can select from any one of the following list boxes (used to filter the data in the table):&lt;/P&gt;&lt;P&gt;Month-Year Requested&lt;/P&gt;&lt;P&gt;Engineer&lt;/P&gt;&lt;P&gt;Building&lt;/P&gt;&lt;P&gt;Status&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A user could select one of more filter values, i.e. You may select 2 engineers or 1 engineer and 1 building or just 1 engineer, before the pivot table will display any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the calculation condition should be true if one or more values is selected from one or more dimension and be false if no values are selected at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done this several times using only one dimension in the c&lt;SPAN style="font-size: 13.3333px;"&gt;alculation condition i.e. "count(distinct Engineer) &amp;lt;&amp;gt;0 "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But I'm not sure if you can base this on multiple dimension at same time ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965414#M952209</guid>
      <dc:creator />
      <dc:date>2015-11-23T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table showing on Calculated Condition where one or more dimension filters are selected</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965415#M952210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes you can test&lt;/P&gt;&lt;P&gt;count(distinct fieldA) &amp;gt; 1 or count(distinct fieldB) &amp;gt; 1 ....&lt;/P&gt;&lt;P&gt;but it can make it long and tricky&lt;/P&gt;&lt;P&gt;may be you can set up a variable like&lt;/P&gt;&lt;P&gt;n = count(distinct fieldA) + count(distinct fieldB) + ...&lt;/P&gt;&lt;P&gt;and test only if $(n) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965415#M952210</guid>
      <dc:creator />
      <dc:date>2015-11-23T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table showing on Calculated Condition where one or more dimension filters are selected</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965416#M952211</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;You could try something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetSelectedCount(Field1) + GetSelectedCount(Field2) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I restrict something like this i would normally go off a count of returned rows &amp;gt; x, then change the error message to 'Too many row returns please make selections on x,y,z'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965416#M952211</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-23T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table showing on Calculated Condition where one or more dimension filters are selected</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965417#M952212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;used your first suggestion, wasn't sure about the returned rows count !!!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-showing-on-Calculated-Condition-where-one-or-more/m-p/965417#M952212</guid>
      <dc:creator />
      <dc:date>2015-11-23T16:07:09Z</dc:date>
    </item>
  </channel>
</rss>

