<?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 Multiple grain fact table with multiple field security in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-grain-fact-table-with-multiple-field-security/m-p/815800#M1027431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize I might be asked for a code sample considering the complexity, but I'll start with the following.&amp;nbsp; I have a scenario where I have Providers (provider_key) and Groups (group_key), where providers belong to groups.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Row reduction (not column) is based on both keys, that is, a provider can only see his provider name and info and measures associated to him.&amp;nbsp; In some cases, certain providers are set up to see ALL providers in their group (they might supervisors or lead, let's say). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) My existing Fact table is at a grain where values exists for both of these keys.&amp;nbsp; Up to this point, I have security and row reduction working the way I want it to.&amp;nbsp; Now I've been asked to add another fact table but it only has values for group_key, the less granular grain.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Pretend MEASURE-1 is at the provider AND group grain, and MEASURE-2 is at the group grain only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 ways I've tried to implement this have me in a pickle, so to speak....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; If I use the value &amp;lt;ANY&amp;gt; for the provider_key in the fact table for the rows with MEASURE-2, and add a single row in the provider dimension to represent the &amp;lt;ANY&amp;gt; value (where all other attributes of the dimension are null) to tie to those fact table rows, row reduction works when I log in as various users (good), however if you select a provider attribute, then any chart with both MEASURE-1 and MEASURE-2 changes to only show MEASURE-1 (bad).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;--&amp;gt;If I use the value &amp;lt;ANY&amp;gt; for the provider_key in the fact table for the rows with MEASURE-2, and add a duplicate set of provider dimension rows where the provider_key value is replaced with &amp;lt;ANY&amp;gt; to tie to the applicable fact table rows, row reduction does not work when I log in as various users (bad), however if you select a provider attribute, then any chart with both MEASURE-1 and MEASURE-2 remains unchanged (good).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I would love to hear if anyone has had to deal with this and if there's a way to make it happen.&amp;nbsp; At this point I'm thinking I cannot make the best of both worlds occur. Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 22:30:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-16T22:30:24Z</dc:date>
    <item>
      <title>Multiple grain fact table with multiple field security</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-grain-fact-table-with-multiple-field-security/m-p/815800#M1027431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realize I might be asked for a code sample considering the complexity, but I'll start with the following.&amp;nbsp; I have a scenario where I have Providers (provider_key) and Groups (group_key), where providers belong to groups.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Row reduction (not column) is based on both keys, that is, a provider can only see his provider name and info and measures associated to him.&amp;nbsp; In some cases, certain providers are set up to see ALL providers in their group (they might supervisors or lead, let's say). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) My existing Fact table is at a grain where values exists for both of these keys.&amp;nbsp; Up to this point, I have security and row reduction working the way I want it to.&amp;nbsp; Now I've been asked to add another fact table but it only has values for group_key, the less granular grain.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Pretend MEASURE-1 is at the provider AND group grain, and MEASURE-2 is at the group grain only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 ways I've tried to implement this have me in a pickle, so to speak....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; If I use the value &amp;lt;ANY&amp;gt; for the provider_key in the fact table for the rows with MEASURE-2, and add a single row in the provider dimension to represent the &amp;lt;ANY&amp;gt; value (where all other attributes of the dimension are null) to tie to those fact table rows, row reduction works when I log in as various users (good), however if you select a provider attribute, then any chart with both MEASURE-1 and MEASURE-2 changes to only show MEASURE-1 (bad).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;--&amp;gt;If I use the value &amp;lt;ANY&amp;gt; for the provider_key in the fact table for the rows with MEASURE-2, and add a duplicate set of provider dimension rows where the provider_key value is replaced with &amp;lt;ANY&amp;gt; to tie to the applicable fact table rows, row reduction does not work when I log in as various users (bad), however if you select a provider attribute, then any chart with both MEASURE-1 and MEASURE-2 remains unchanged (good).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;I would love to hear if anyone has had to deal with this and if there's a way to make it happen.&amp;nbsp; At this point I'm thinking I cannot make the best of both worlds occur. Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 22:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-grain-fact-table-with-multiple-field-security/m-p/815800#M1027431</guid>
      <dc:creator />
      <dc:date>2015-02-16T22:30:24Z</dc:date>
    </item>
  </channel>
</rss>

