<?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 Section Access comaparing divisional with whole data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access-comaparing-divisional-with-whole-data/m-p/1514205#M440780</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I created a database using section access for a number of hospital.s&lt;/P&gt;&lt;P&gt;The admin can see all the data and the hospital users can see only there data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done this just using the hospital ID's&lt;/P&gt;&lt;P&gt;I have KPI's&amp;nbsp; set up for particular data they are looking with specific calculations.&lt;/P&gt;&lt;P&gt;So when Section Access kicks in for user they only see there data in the KPI's.&lt;/P&gt;&lt;P&gt;The admin are asking can I show the National Average along side the KPI's. So Hospital Data along with National data so they can compare.&lt;/P&gt;&lt;P&gt;What I understand to do this is you create a separate table away from the section access.&amp;nbsp; The way I am doing this is&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="1"&gt;count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;Interventions_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1' &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;and&lt;/FONT&gt; &lt;FONT color="#800000" size="1"&gt;TimeBSPAx_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1', &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;NEWKEYID&lt;/FONT&gt;&lt;FONT size="1"&gt;))-&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;Count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;Interventions_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1' &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;and&lt;/FONT&gt; &lt;FONT color="#800000" size="1"&gt;TimeBSPAx_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1', &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;PatientsNotAssessed_ID&lt;/FONT&gt;&lt;FONT size="1"&gt;)), as [National_&amp;gt;2hrs]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;resident&lt;BR /&gt;&amp;nbsp;Fact;&lt;/P&gt;&lt;P&gt;With the table then being [National_&amp;gt;2hrs]&lt;/P&gt;&lt;P&gt;I am creating the new table in the script and then doing the upload.&amp;nbsp; But for some I'm get an error during the upload that it those not see particular field, for example it say it does not recognise the above 'interventions_ID'&lt;/P&gt;&lt;P&gt;Is it that I need to link the tables in some way?&amp;nbsp; Totally stuck on this!&lt;/P&gt;&lt;P&gt;I may be over complicating this!&lt;/P&gt;&lt;P&gt;Please Help!examples would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 12:18:05 GMT</pubDate>
    <dc:creator>sweens78</dc:creator>
    <dc:date>2018-11-29T12:18:05Z</dc:date>
    <item>
      <title>Section Access comaparing divisional with whole data</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access-comaparing-divisional-with-whole-data/m-p/1514205#M440780</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I created a database using section access for a number of hospital.s&lt;/P&gt;&lt;P&gt;The admin can see all the data and the hospital users can see only there data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done this just using the hospital ID's&lt;/P&gt;&lt;P&gt;I have KPI's&amp;nbsp; set up for particular data they are looking with specific calculations.&lt;/P&gt;&lt;P&gt;So when Section Access kicks in for user they only see there data in the KPI's.&lt;/P&gt;&lt;P&gt;The admin are asking can I show the National Average along side the KPI's. So Hospital Data along with National data so they can compare.&lt;/P&gt;&lt;P&gt;What I understand to do this is you create a separate table away from the section access.&amp;nbsp; The way I am doing this is&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="1"&gt;count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;Interventions_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1' &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;and&lt;/FONT&gt; &lt;FONT color="#800000" size="1"&gt;TimeBSPAx_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1', &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;NEWKEYID&lt;/FONT&gt;&lt;FONT size="1"&gt;))-&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;Count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;if&lt;/FONT&gt;&lt;FONT size="1"&gt; (&lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;Interventions_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1' &lt;/FONT&gt;&lt;FONT color="#0000ff" size="1"&gt;and&lt;/FONT&gt; &lt;FONT color="#800000" size="1"&gt;TimeBSPAx_ID&lt;/FONT&gt;&lt;FONT size="1"&gt; = '1', &lt;/FONT&gt;&lt;FONT color="#800000" size="1"&gt;PatientsNotAssessed_ID&lt;/FONT&gt;&lt;FONT size="1"&gt;)), as [National_&amp;gt;2hrs]&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;resident&lt;BR /&gt;&amp;nbsp;Fact;&lt;/P&gt;&lt;P&gt;With the table then being [National_&amp;gt;2hrs]&lt;/P&gt;&lt;P&gt;I am creating the new table in the script and then doing the upload.&amp;nbsp; But for some I'm get an error during the upload that it those not see particular field, for example it say it does not recognise the above 'interventions_ID'&lt;/P&gt;&lt;P&gt;Is it that I need to link the tables in some way?&amp;nbsp; Totally stuck on this!&lt;/P&gt;&lt;P&gt;I may be over complicating this!&lt;/P&gt;&lt;P&gt;Please Help!examples would be great!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 12:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access-comaparing-divisional-with-whole-data/m-p/1514205#M440780</guid>
      <dc:creator>sweens78</dc:creator>
      <dc:date>2018-11-29T12:18:05Z</dc:date>
    </item>
  </channel>
</rss>

