<?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 Loading from 2 QVDs then exclud some data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374381#M139355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Under Dimensions select Suppress Null Values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 15:51:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-28T15:51:06Z</dc:date>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374380#M139354</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 am loading from two different QVDs.&lt;/P&gt;&lt;P&gt;The first QVD has the calls data such as Number called, duration.. and the second QVD has the Employee information such as Names, Departments..&lt;/P&gt;&lt;P&gt;I have excluded some of the departments as I need to do.&lt;/P&gt;&lt;P&gt;While building a chart to show the total Nr called by Department I have on of the columns in the chart has no Department name.&lt;/P&gt;&lt;P&gt;i know the reason is that I have excluded some of the departments..&lt;/P&gt;&lt;P&gt;How can I hide this column from the chart?&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374380#M139354</guid>
      <dc:creator />
      <dc:date>2012-03-28T15:49:54Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374381#M139355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Under Dimensions select Suppress Null Values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374381#M139355</guid>
      <dc:creator />
      <dc:date>2012-03-28T15:51:06Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374382#M139356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That will hide it but the total on the chart doesn't change..it still shows me the total including the hidden departments&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374382#M139356</guid>
      <dc:creator />
      <dc:date>2012-03-28T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374383#M139357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can us set analysis to exclude them also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Department-={'A','B','C','D','E','F'}&amp;gt;} NrCalled)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374383#M139357</guid>
      <dc:creator />
      <dc:date>2012-03-28T15:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374384#M139358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean I have to enter the Department names instead of A, B, C..?&lt;/P&gt;&lt;P&gt;I am trying to avoid hard coding department names..&lt;/P&gt;&lt;P&gt;Any other solutions?&lt;/P&gt;&lt;P&gt;Also I tried to see how it works with one department and did: =NUM(Count({&amp;lt;Department-={'DirectSales - Drury'}&amp;gt;} FinalParty),'#,##0')&lt;/P&gt;&lt;P&gt;It gave me a wrong Nr!&lt;/P&gt;&lt;P&gt;Thanks:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374384#M139358</guid>
      <dc:creator />
      <dc:date>2012-03-28T16:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374385#M139359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact this work fine..&lt;/P&gt;&lt;P&gt;But is there anyway where I don't need to hard code the department names.&lt;/P&gt;&lt;P&gt;Thxs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374385#M139359</guid>
      <dc:creator />
      <dc:date>2012-03-28T16:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374386#M139360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do the departments that you want to exclude have a certian criteria or flag assigned to them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374386#M139360</guid>
      <dc:creator />
      <dc:date>2012-03-28T16:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374387#M139361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope! that would be helpfull though &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374387#M139361</guid>
      <dc:creator />
      <dc:date>2012-03-28T16:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374388#M139362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess another way would be to change how the QVD files are joined in the script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374388#M139362</guid>
      <dc:creator />
      <dc:date>2012-03-28T16:16:29Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374389#M139363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This sound great..do you know how to use set analysis in the expression edit..&lt;/P&gt;&lt;P&gt;Like I have a drill down chart and the first dimention is month..&lt;/P&gt;&lt;P&gt;I am trying to do the same thing &lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;= Only({&amp;lt;Department-={'DirectSales - Drury'}&amp;gt;} Month),'#,##0')&lt;/P&gt;&lt;P&gt;It didn't work!&lt;/P&gt;&lt;P&gt;Thxs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 19:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374389#M139363</guid>
      <dc:creator />
      <dc:date>2012-03-28T19:02:15Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374390#M139364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a way to dynamically put all the departments in a set analysis expression, which I've outlined below. However, it does sound to me like you'd be best to join the department and calls tables together in the script and then use the "suppress null values" as previously suggested. Or flag null departments in the script and use a simple set analysis expression Count({&amp;lt;Flag={Yes}&amp;gt;} NrCalled)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's almost always best to do the calculations in the script if they don't depend on user selections as it reduces the load on the server in use. Of course the balance is potentially extended load times so you do need to evaluate on a case by case basis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, to dynamically put all departments in the set analysis expression you need to build the expression in a variable and then evaluate the variable in the expression. So create a variable vNrCalls:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Count({&amp;lt;Department={' &amp;amp;amp; Concat(Distinct Chr(39)&amp;amp;amp;Department&amp;amp;amp;Chr(39),',') &amp;amp;amp; '}&amp;gt;} NrCalled)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the chart expression just put in $(vNrCalls) which will evaluate to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Department={'A','B','H','J'}&amp;gt;} NrCalled) with whatever departments are available in the current selections. If you always want all departments then obviously adjust the set analysis with the appropriate {1}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 12:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374390#M139364</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-03-29T12:22:24Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374391#M139365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops! Just realised that either the webpage or my iPhone has replaced &amp;amp;amp; with &amp;amp;amp;amp...you'll need to adjust!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 12:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374391#M139365</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-03-29T12:25:10Z</dc:date>
    </item>
    <item>
      <title>Loading from 2 QVDs then exclud some data</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374392#M139366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh I give up - you get the idea!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 12:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-from-2-QVDs-then-exclud-some-data/m-p/374392#M139366</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-03-29T12:25:58Z</dc:date>
    </item>
  </channel>
</rss>

