<?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 How can I apply data Reduction in an OR relation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-apply-data-Reduction-in-an-OR-relation/m-p/223784#M76266</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 have the following problem: UserX needs access on all entries where Country=DE or where user is the SalesPerson. ( So the user needs to see his own sales and all sales in Germany)&lt;/P&gt;&lt;P&gt;I have tried to solve this by assigning UserX to a "DatareductionGroup" in an Excel list:&lt;/P&gt;&lt;P&gt;DOMAINNAME DATAREDUCTION_GROUP&lt;/P&gt;&lt;P&gt;UserX Demo_1&lt;/P&gt;&lt;P&gt;Next I have created a new list with 2 lines:&lt;/P&gt;&lt;P&gt;DATAREDUCTION_GROUP DATAREDUCTION_CTRY DATAREDUCTION_SALESPERSON&lt;/P&gt;&lt;P&gt;Demo_1 * UserX&lt;/P&gt;&lt;P&gt;Demo_1 DE *&lt;/P&gt;&lt;P&gt;I have loaded the DatareductionGroup info in one table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Link_DATAREDUCTION:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;upper(DATAREDUCTION_GROUP) &lt;B&gt;as&lt;/B&gt; DATAREDUCTIONGROUP &lt;P&gt;DATAREDUCTION_CTRY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;as&lt;/B&gt; Country,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATAREDUCTION_SALESPERSON as Salesperson&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This doesn't seem to work.&lt;/P&gt;&lt;P&gt;My question is: Did I do something wrong? Is this at all possible? Is there another solution to apply "OR"relations in datareduction.&lt;/P&gt;&lt;P&gt;Thanks for any help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 12:32:12 GMT</pubDate>
    <dc:creator>janbouwmans</dc:creator>
    <dc:date>2011-02-21T12:32:12Z</dc:date>
    <item>
      <title>How can I apply data Reduction in an OR relation</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-apply-data-Reduction-in-an-OR-relation/m-p/223784#M76266</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 have the following problem: UserX needs access on all entries where Country=DE or where user is the SalesPerson. ( So the user needs to see his own sales and all sales in Germany)&lt;/P&gt;&lt;P&gt;I have tried to solve this by assigning UserX to a "DatareductionGroup" in an Excel list:&lt;/P&gt;&lt;P&gt;DOMAINNAME DATAREDUCTION_GROUP&lt;/P&gt;&lt;P&gt;UserX Demo_1&lt;/P&gt;&lt;P&gt;Next I have created a new list with 2 lines:&lt;/P&gt;&lt;P&gt;DATAREDUCTION_GROUP DATAREDUCTION_CTRY DATAREDUCTION_SALESPERSON&lt;/P&gt;&lt;P&gt;Demo_1 * UserX&lt;/P&gt;&lt;P&gt;Demo_1 DE *&lt;/P&gt;&lt;P&gt;I have loaded the DatareductionGroup info in one table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;Link_DATAREDUCTION:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;upper(DATAREDUCTION_GROUP) &lt;B&gt;as&lt;/B&gt; DATAREDUCTIONGROUP &lt;P&gt;DATAREDUCTION_CTRY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;B&gt;as&lt;/B&gt; Country,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATAREDUCTION_SALESPERSON as Salesperson&lt;/P&gt;&lt;P&gt;From ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This doesn't seem to work.&lt;/P&gt;&lt;P&gt;My question is: Did I do something wrong? Is this at all possible? Is there another solution to apply "OR"relations in datareduction.&lt;/P&gt;&lt;P&gt;Thanks for any help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 12:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-apply-data-Reduction-in-an-OR-relation/m-p/223784#M76266</guid>
      <dc:creator>janbouwmans</dc:creator>
      <dc:date>2011-02-21T12:32:12Z</dc:date>
    </item>
  </channel>
</rss>

