<?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: Display Excluded or List Only Impossible Values? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012603#M946216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Peter, thanks for looking into both my expressions. I have few quick comments here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I am not 100% certain, but the 1st expression do not show anything without a selection.&lt;/P&gt;&lt;P&gt;2) I think the possible list of user id include more names that user id list. And if the previous statement is true than you will see that the second expression works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110422_Capture.PNG" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Jan 2016 14:03:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-01-03T14:03:41Z</dc:date>
    <item>
      <title>Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012598#M946211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may have searched the entire internet looking for this, and I can't believe I'm the first to try this, but I can't find anything about it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Fact Table attaches a User ID to every activity record. Those activity records also have an Activity Date on them. This Activity Date links to my Calendar Table. My Calendar Table has a Date Code as well, which links to my Possible Users Table, which includes all of my company's User IDs. Like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact Table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar Table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Possible Users Table&lt;/P&gt;&lt;P&gt;Fact ID &lt;/P&gt;&lt;P&gt;User ID&lt;/P&gt;&lt;P&gt;Activity Date&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date Code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Possible User ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible Users lists every ID active in the company for each day, so as date selections are made, the potential target audience is recalculated for the selected time period. count(distinct User ID) gives me my users, count(distinct Possible User ID) gives me my target demographic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to make a list, tablebox, or straight table chart that displays a static list of only the Possible User IDs that do not exist in User ID. If I leave the dashboard unfiltered, it displays potential users in my company that have never used our service. If I select the last 6 months, for example, it lists users that haven't been active in that time period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thing is, I have no idea how to do this. I've been banging my head against if for hours straight and tried many an expression, set analysis, &amp;amp;c. and nothing is working. I can make 2 listboxes, one for User ID and one for Possible User ID, select all User ID, and scroll down to the grey in Possible User ID and they're all right there as expected, but I can't seem to access them any other way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naturally, this is much over-simplified. There are many more pieces to the data model, and Because Reasons, changes to the data model are not a viable option. Things are the way they are and need to stay that way. I'm looking for a Presentation Solution, not a Script Solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 19:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012598#M946211</guid>
      <dc:creator />
      <dc:date>2015-12-31T19:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012599#M946212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried something like this as your list box expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Only(&lt;SPAN style="color: #ff0000;"&gt;{&lt;/SPAN&gt;1&amp;lt;[Possible User ID] = e([User ID])&amp;gt;} [Possible User ID]), [Possible User ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE: &lt;/STRONG&gt;Added the missing curly bracket &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 21:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012599#M946212</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-31T21:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012600#M946213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, the E() doesn't work with {1&amp;lt;&amp;gt;}, because nothing is excluded, so all possible IDs return "-". If you change that to&amp;nbsp; {$&amp;lt;&amp;gt;}, it works (sort of), but only when an ID is selected somewhere else, and even then I get a mix of results: some IDs with a matching Possible ID in white, some with a "-" possible ID still in white, and some with a "-" possible ID in grey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2015 21:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012600#M946213</guid>
      <dc:creator />
      <dc:date>2015-12-31T21:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012601#M946214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Only({$&amp;lt;[Possible User ID] = e({&amp;lt;[Possible User ID] = {$(=Concat(DISTINCT {1} [User ID], ', '))}&amp;gt;})&amp;gt;} [Possible User ID]), [Possible User ID])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jan 2016 19:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012601#M946214</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-01T19:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012602#M946215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny's first suggestion works like it should (both with 1 and without). At least in my (simplified) test QVW. See attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="110424" alt="Dynamic field exclusion thread198114.jpg" class="jive-image image-1" src="/legacyfs/online/110424_Dynamic field exclusion thread198114.jpg" style="height: 146px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's probably something in your document that doesn't like what you're trying to do. Can you post your document in this thread? Reduce the number of rows, or scramble the field content if you don't want to put your data in a public forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS I cannot get his second suggestion to work (last listbox on the right). Sorry Sunny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Edit] Removed the attachment. See version below. Contains substantial improvements, thanks to Sunny T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 12:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012602#M946215</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-03T12:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012603#M946216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Peter, thanks for looking into both my expressions. I have few quick comments here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I am not 100% certain, but the 1st expression do not show anything without a selection.&lt;/P&gt;&lt;P&gt;2) I think the possible list of user id include more names that user id list. And if the previous statement is true than you will see that the second expression works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110422_Capture.PNG" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 14:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012603#M946216</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-03T14:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012604#M946217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;That's logical because in my example, when nothing is selected the UserID list contains all PossibleIDs which results in an empty exclusion list.&lt;/LI&gt;&lt;LI&gt;Whenever the PossibleID list contains more IDs than the largest UserID list, then the expression stops working. But that's the nature of the expression: it starts by calculating the UserID entries that haven't been activated. But the excess PossibleID entries don't have any records in the Facts table, so how can this work? It can't.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then, for regular selections your expression 1 still works and your second expression doesn't (as far as I can see. Correct me if I'm wrong). Do you want Michael to put both listboxes on the same sheet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;I guess there is a simple solution to this. Add dummy records in the facts table for all PossibleIDs that aren' present in the Facts table from the start. Leave the Activity Date at NULL (and every field that may be used in a list box too). These are so-called zero-records. Didn't test it though.&lt;/SPAN&gt; Wait a moment... Nah, doesn't work. New idea though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 14:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012604#M946217</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-03T14:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012605#M946218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I got it. Turned everything upside down (I was thinking about set operators from the beginning and these prove - again - very valuable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Aggr(Only({&amp;lt;[Possible User ID] -= p([User ID])&amp;gt;} [Possible User ID]), [Possible User ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;[Edit] Switched expression back to using Michael's field names instead of mine. Sorry about that...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 14:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012605#M946218</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-03T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012606#M946219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good idea but I am still not sure if he wants to always see the list of possible user IDs which are not available in user ID or if it needs to be driven by selection &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I guess Michael is in the best position to determine what he is looking for, but my second expression will always show Peter, Sunny regardless of any selection, or at least that's what I wanted it to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 15:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012606#M946219</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-03T15:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012607#M946220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could be right, and I agree with Michael having the last say (of course). But this is what he said about his ideal listbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;If I select the last 6 months, for example, it lists users that haven't been active in that time period.&lt;/EM&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 15:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012607#M946220</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-03T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012608#M946221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahahaha, I guess you are right &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jan 2016 15:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012608#M946221</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-03T15:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Display Excluded or List Only Impossible Values?</title>
      <link>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012609#M946222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You guys are both awesome! Thanks so much for the help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 14:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-Excluded-or-List-Only-Impossible-Values/m-p/1012609#M946222</guid>
      <dc:creator />
      <dc:date>2016-01-04T14:56:33Z</dc:date>
    </item>
  </channel>
</rss>

