<?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: Data access problem (2 main tables in dashboard) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392884#M612484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To control the access on certain data to certain users you could use &lt;A href="https://community.qlik.com/docs/DOC-9039"&gt;Section Access&lt;/A&gt;. I'm not sure how to implement it in your particular case of two fields linked per another field because my scenarios are a bit different. In general it should be possible but you might need a few trials to find the right solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit more simpler could the section access be if you changed a bit your datamodel. I could imagine that a concatenation of part_id, quantity and stock country (as country) to the sales table would bypass the problem with two different country-fields. This meant you would get a single fact-table and the other fields from the stock table could be loaded (distinct) as a dimension-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Sep 2017 11:49:30 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2017-09-12T11:49:30Z</dc:date>
    <item>
      <title>Data access problem (2 main tables in dashboard)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392883#M612483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a problem with implementing data-access (d&lt;SPAN style="font-size: 13.3333px;"&gt;id not work much with data access or data reduction so far, so please bear with me a little).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Scenario is: &lt;/SPAN&gt;Got a dashboard with two main tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table one is a very generic Stocks table (part_id, part-number, description, quantity, serial, warehouse, stock country).&lt;/P&gt;&lt;P&gt;The second is a Sales Summary table (customer, sales date, part_id, sales amount, currency, salesperson, sales country).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link between the two is the part_id (unique identifier for a given part-number). &lt;/P&gt;&lt;P&gt;This allow a user to see from a stocks perspective what were the Sales and from the Sales perspective what stock there is.&lt;/P&gt;&lt;P&gt;So the link is fine and that's just what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, both tables also got a country dimension. &lt;/P&gt;&lt;P&gt;The dimensions are named differently in each table, so the link is just the part_id - BUT this is the domension that needs to be used for data-access: users from different countries ONLY need to see stock AND Sales from their respective countries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Have seen a number of posts / articles on this subject but none seem to be exactly what I'm trying to do (could be because I'm trying to do this wrong...).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did manage a lock me out of the dashboard a couple of times today though... glad for backups &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Also run into loops, or either Stocks or Sales wouldn't show any data &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can data-access be applied to two separate tables using a specific dimension &lt;SPAN style="text-decoration: underline;"&gt;while the tables are linked through a different dimension&lt;/SPAN&gt;? How? &lt;/P&gt;&lt;P&gt;Could anyone point me to a article/post on topic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Big Thanks &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, 11 Sep 2017 18:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392883#M612483</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-11T18:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Data access problem (2 main tables in dashboard)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392884#M612484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To control the access on certain data to certain users you could use &lt;A href="https://community.qlik.com/docs/DOC-9039"&gt;Section Access&lt;/A&gt;. I'm not sure how to implement it in your particular case of two fields linked per another field because my scenarios are a bit different. In general it should be possible but you might need a few trials to find the right solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bit more simpler could the section access be if you changed a bit your datamodel. I could imagine that a concatenation of part_id, quantity and stock country (as country) to the sales table would bypass the problem with two different country-fields. This meant you would get a single fact-table and the other fields from the stock table could be loaded (distinct) as a dimension-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392884#M612484</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-09-12T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data access problem (2 main tables in dashboard)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392885#M612488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would suggest to link the countries to the part_id:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AccessTable:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT part_id, UPPER(stock_country) AS Country RESIDENT Stocks;&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD DISTINCT part_id, UPPER(sales_country) AS Country RESIDENT Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then place your security on the field Country,&lt;/P&gt;&lt;P&gt;i.e. a person being able to see a certain country would be allowed to see all part_id's, be it in stock in this country or being sold there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 12:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392885#M612488</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-09-12T12:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data access problem (2 main tables in dashboard)</title>
      <link>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392886#M612493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus, Hi Peter&lt;/P&gt;&lt;P&gt;Many thanks for your replies, you were life-savers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Went with Peter's suggestion and created a AccessTable with part_id + country. Works 99.99% ok. Only unexpected side-effect for me is that Qlikview does a OR in Sales and Stock Country, so a user having access to France only, can still see stock existing in the UK if that part_id has been used in a French Sales Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fortunately, these cases are rare and this behavior actually improves the synergy between Sales and Logistics so will be seen as a plus.&lt;/P&gt;&lt;P&gt;If this ever becomes an issue, think there's a "nuclear" option to sever the part_id link between Stock and Sales.&lt;/P&gt;&lt;P&gt;Users would have to check Sales and Stock data separately, which would be a loss of functionality but...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the long-run Marcus suggestion would be the ideal - changing the data-model, but not possible to implement due to time constraints (may be for a future v2.0 dashboard...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. All-in-all these problems what you get when trying to quickly re-ash an old dashboard that was used in the UK only, to be used in all of Europe -- there's just not such a thing as a free lunch &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again a big thank you to both!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Sep 2017 19:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-access-problem-2-main-tables-in-dashboard/m-p/1392886#M612493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-12T19:39:34Z</dc:date>
    </item>
  </channel>
</rss>

