<?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: Section access Not working as Required/Intended in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078292#M88445</link>
    <description>&lt;P&gt;It is an inline load so what you have given as input is the output.&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 10:15:54 GMT</pubDate>
    <dc:creator>Gabbar</dc:creator>
    <dc:date>2023-05-31T10:15:54Z</dc:date>
    <item>
      <title>Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078155#M88422</link>
      <description>&lt;P&gt;I am Currently Trying to do section access,&lt;BR /&gt;I am doing this by creating a table with all required Fields like:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_0-1685516873238.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108714i251CD77AD80C766A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_0-1685516873238.png" alt="Gabbar_0-1685516873238.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Now i am using this Table as resident to create section access for every user like:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_0-1685517070432.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108715i35736213039DB6CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_0-1685517070432.png" alt="Gabbar_0-1685517070432.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;But In user Data is coming like this:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_1-1685517135482.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108716iE75BA6886FA12E50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_1-1685517135482.png" alt="Gabbar_1-1685517135482.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this, the first Row where Both the Fields are NA is what i dont want,&lt;BR /&gt;So i thought there must be some error in my where clause, So i tried seperating the OR statement in where clause&lt;BR /&gt;i did it like this to test: -&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_2-1685517570095.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108721i428DB6FA40910266/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_2-1685517570095.png" alt="Gabbar_2-1685517570095.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and it correctly works and shows 1 row :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_3-1685517606927.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108722iD9D23CF12F1AE4C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_3-1685517606927.png" alt="Gabbar_3-1685517606927.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I thought there must be some error with my other clause:-&lt;BR /&gt;So i tried:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_4-1685517651419.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108723iE50C26A0FE24BF9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_4-1685517651419.png" alt="Gabbar_4-1685517651419.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;But it also shows expected Data like:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gabbar_1-1685517497901.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108720i017095EE88190619/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Gabbar_1-1685517497901.png" alt="Gabbar_1-1685517497901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So as in hurry i tried to keep them separate and then Concatenate them but result still comes like:-&lt;BR /&gt;the first one where both the Columns have a row with 'NA' in them.&lt;BR /&gt;&lt;BR /&gt;I tried to check that if there is another linking by dropping the fact table and removing Section access Command From&amp;nbsp; script but only to find that the table is Island table so all the required field are also simply present in 1 main fact table.&lt;BR /&gt;&lt;BR /&gt;please help.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 07:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078155#M88422</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-05-31T07:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078156#M88423</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 07:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078156#M88423</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-05-31T07:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078237#M88433</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/189728"&gt;@Gabbar&lt;/a&gt;&amp;nbsp; It will be difficult to say without looking at data but as per what I understood you can try below. Basically first condition gets rid of both NA then append the actual or condition&lt;/P&gt;
&lt;P&gt;where (LICENSE_TYPE&amp;lt;&amp;gt;'NA' or SAMPLE_AUTHORITY&amp;lt;&amp;gt;'NA') and ( LICENSE_TYPE='STATE_LICENSE' or SAMPLE_AUTHORITY='STATE_AUTHORITY');&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 08:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078237#M88433</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-31T08:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078274#M88439</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp; but your where clause is also generating 'NA' in both the fields.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;what i want i when License_type is State license then Sample_authority Should be 'NA',&amp;nbsp;&lt;BR /&gt;or when Sample_authority is state authority then license_type can be anything,&lt;BR /&gt;These columns are only available in my Fact_Table.&lt;BR /&gt;&lt;BR /&gt;I also tried using Inline load and using CSV/QVD as a file to do it, it still didnt work,&lt;BR /&gt;i just dont know why is this happening.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 09:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078274#M88439</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-05-31T09:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078285#M88443</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/189728"&gt;@Gabbar&lt;/a&gt;&amp;nbsp; what should be the output of below data?&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;BR /&gt;LICENSE_TYPE,SAMPLE_AUTHORITY&lt;BR /&gt;STATE_LICENSE,NA&lt;BR /&gt;STATE_LICENSE,STATE_AUTHORITY&lt;BR /&gt;NA,STATE_AUTHORITY&lt;BR /&gt;NA,NA&lt;BR /&gt;X,NA&lt;BR /&gt;Y,STATE_AUTHORITY&lt;BR /&gt;STATE_LICENSE,Y&lt;BR /&gt;];&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078285#M88443</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-31T10:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078292#M88445</link>
      <description>&lt;P&gt;It is an inline load so what you have given as input is the output.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078292#M88445</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-05-31T10:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078318#M88447</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/189728"&gt;@Gabbar&lt;/a&gt;&amp;nbsp; Basically I want to know how your input data looks like and what should be the outcome of that after putting your condition.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 10:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078318#M88447</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-05-31T10:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078888#M88498</link>
      <description>&lt;P&gt;The input i am giving using Inline Load(Tried Using Excel and QVD File too ) is :-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0"&gt;&lt;COLGROUP width="67"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="310"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="130"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="246"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="188"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="207"&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;ACCESS&lt;/TD&gt;
&lt;TD align="left"&gt;USERID&lt;/TD&gt;
&lt;TD align="left"&gt;REGION_NAME&lt;/TD&gt;
&lt;TD align="left"&gt;SA_STATE&lt;/TD&gt;
&lt;TD align="left"&gt;LICENSE_TYPE&lt;/TD&gt;
&lt;TD align="left"&gt;SAMPLE_AUTHORITY&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_AUTHORITY&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_LICENSE&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_LICENSE&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_AUTHORITY&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The Output It generating Is:-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0"&gt;&lt;COLGROUP width="67"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="310"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="130"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="246"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="188"&gt;&lt;/COLGROUP&gt; &lt;COLGROUP width="207"&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;ACCESS&lt;/TD&gt;
&lt;TD align="left"&gt;USERID&lt;/TD&gt;
&lt;TD align="left"&gt;REGION_NAME&lt;/TD&gt;
&lt;TD align="left"&gt;SA_STATE&lt;/TD&gt;
&lt;TD align="left"&gt;LICENSE_TYPE&lt;/TD&gt;
&lt;TD align="left"&gt;SAMPLE_AUTHORITY&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;FSSAIANALYTICS\FSC_GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_AUTHORITY&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;FSSAIANALYTICS\FSC_GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_LICENSE&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;FSSAIANALYTICS\FSC_GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_LICENSE&lt;/TD&gt;
&lt;TD align="left"&gt;STATE_AUTHORITY&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD height="17" align="left"&gt;USER&lt;/TD&gt;
&lt;TD align="left"&gt;FSSAIANALYTICS\FSC_GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;GOA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;TD align="left"&gt;NA&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;The Last row Generated is causing problems.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 10:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078888#M88498</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-06-01T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Section access Not working as Required/Intended</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078893#M88499</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp; Thanks For the help,&lt;/P&gt;
&lt;P&gt;I solved it by merging the Sample and License column in 1 Column and using that column, and aligning it with the data,&lt;BR /&gt;But i still dont understand why that problem was arising.&lt;BR /&gt;I know from which data was being shown extra due to the problem so i just loaded only that portion but then it worked perfectly.&lt;BR /&gt;I will try manual debugging of data now, will update if i get to know the problem,&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 10:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-Not-working-as-Required-Intended/m-p/2078893#M88499</guid>
      <dc:creator>Gabbar</dc:creator>
      <dc:date>2023-06-01T10:20:48Z</dc:date>
    </item>
  </channel>
</rss>

