<?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 data reduction leeds to unintended missing data. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293885#M709665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I've managed to get this working. I don't think it will win a beauty contest, but maybe you guys can explain why this is working and the before mentioned isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;1. Left join table 1 and 2 and name this as a temp table.&lt;/P&gt;&lt;P&gt;2. Resident load the temp table and in the resident load performed the if(isnull(PERS_NR), '0000', PERS_NR)&lt;/P&gt;&lt;P&gt;3. Create an inline table with the same name as table 3 with the value of PERS_NR = '0000', OE = '0000'&lt;/P&gt;&lt;P&gt;4. Create an inline table with the same name as table 4 with the value of OE = '0000'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could explain another (better/neater) way to achieve what I did here I'd be very gratefull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 10:14:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-24T10:14:30Z</dc:date>
    <item>
      <title>data reduction leeds to unintended missing data.</title>
      <link>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293882#M709662</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'm working on a report that shows mobile phone numbers and links them to the departments in our organisation.&lt;/P&gt;&lt;P&gt;I've gotten everything in place and all is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem arrises when I start using data reduction with Section Access. Im using data reduction based on the organisational units (OE) (a number)&lt;/P&gt;&lt;P&gt;Users can only see the phone numbers that belong to their own OE. I got everything set up, even the users that have an exception to this rule (some users are required to see all phone numbers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem:&lt;/P&gt;&lt;P&gt;Because restrictions are given on OE level, phone numbers that are not linked to persons can't be viewed. I see them when reloading, but after saving and reopening the data reduction is effective and I lose those numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make these numbers without a person linked to them visible to some users?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tables:&lt;/P&gt;&lt;P&gt;1. Phonenumbers (Link to persons is right(phonenumber, 8))&lt;/P&gt;&lt;P&gt;2. Persons (Link to OE_LINKTABLE is PERS_NR)&lt;/P&gt;&lt;P&gt;3. OE_LINKTABLE (Link to OE is OE_NR)&lt;/P&gt;&lt;P&gt;4. OE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data reduction is taking place on table 3 (OE_LINKTABLE) on OE_NR_2 (I made a second key for this link, but the value is the same as OE_NR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more info please ask. I'll be going home now, but will be answering and viewing this topic tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I can't upload the QV report as there is sensitive information in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 13:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293882#M709662</guid>
      <dc:creator />
      <dc:date>2011-08-23T13:49:56Z</dc:date>
    </item>
    <item>
      <title>data reduction leeds to unintended missing data.</title>
      <link>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293883#M709663</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 think you should use OE_NR_2 with a samll difference.&lt;/P&gt;&lt;P&gt;This field will have a default value when OE_NR is null. You can achieve this during load with the following line &lt;/P&gt;&lt;P&gt;Load OE_NR, if( isnull (OE), 'N/A', OE) AS OE_NR_2&lt;/P&gt;&lt;P&gt;FROM..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, all the users must be associated with this second (default) value (every users will have a second line in the section access).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your section access would look like this: &lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, USERID, PASSWORD, OE_NR_2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, A, A, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, B, B, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, A, A, N/A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADMIN, B, B, N/A&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Section Application;&lt;/P&gt;&lt;P&gt;&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;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 03:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293883#M709663</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-08-24T03:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: data reduction leeds to unintended missing data.</title>
      <link>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293884#M709664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was a push in the right direction. This however only solves the problem partial, as now only the persons that have a mobile number, but no OE show up with OE N/A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are still phone numbers without person linked to them. And those still come up withouot an OE.&lt;/P&gt;&lt;P&gt;I've already tried the isnull on the PERS_NR in table 2, but without luck and also tried an if(len(PERS_NR) = 0, , )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 07:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293884#M709664</guid>
      <dc:creator />
      <dc:date>2011-08-24T07:26:27Z</dc:date>
    </item>
    <item>
      <title>data reduction leeds to unintended missing data.</title>
      <link>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293885#M709665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I've managed to get this working. I don't think it will win a beauty contest, but maybe you guys can explain why this is working and the before mentioned isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;1. Left join table 1 and 2 and name this as a temp table.&lt;/P&gt;&lt;P&gt;2. Resident load the temp table and in the resident load performed the if(isnull(PERS_NR), '0000', PERS_NR)&lt;/P&gt;&lt;P&gt;3. Create an inline table with the same name as table 3 with the value of PERS_NR = '0000', OE = '0000'&lt;/P&gt;&lt;P&gt;4. Create an inline table with the same name as table 4 with the value of OE = '0000'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could explain another (better/neater) way to achieve what I did here I'd be very gratefull.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 10:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/data-reduction-leeds-to-unintended-missing-data/m-p/293885#M709665</guid>
      <dc:creator />
      <dc:date>2011-08-24T10:14:30Z</dc:date>
    </item>
  </channel>
</rss>

