<?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 Pass values dynamically into section access in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pass-values-dynamically-into-section-access/m-p/1032506#M938405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings for the day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&amp;nbsp; inline [&lt;/P&gt;&lt;P&gt;NAME,Value,Area,SubArea&lt;/P&gt;&lt;P&gt;JOHN,100,Area1,SA1&lt;/P&gt;&lt;P&gt;JOHN,110,Area2,SA2&lt;/P&gt;&lt;P&gt;JOHN,210,Total&lt;/P&gt;&lt;P&gt;CHRIS,210,Total&lt;/P&gt;&lt;P&gt;NANCY,101,Area1,SA3&lt;/P&gt;&lt;P&gt;NANCY,102,Area2,SA4&lt;/P&gt;&lt;P&gt;NANCY,103,Area3,SA5&lt;/P&gt;&lt;P&gt;NANCY,306,Total&lt;/P&gt;&lt;P&gt;ALEX,400,Total&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement i have to pass values dynamically into section access code like &lt;/P&gt;&lt;P&gt;If Area is 'Total' and and that user is not assigned to any other area (like CHRIS,ALEX) then&lt;/P&gt;&lt;P&gt; i have to pick NAME,TOTAL else i have to pick NAME,Value,Area,SubArea as like below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;If Area = 'Total' and not assigned to other Area then&lt;/P&gt;&lt;P&gt;Load NAME,Area resident Data;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;Load NAME,Area,SubArea resident Data;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;section application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possiblity on this? If yes Could you please help me here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;QV11 User&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2016 10:30:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-15T10:30:58Z</dc:date>
    <item>
      <title>Pass values dynamically into section access</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-values-dynamically-into-section-access/m-p/1032506#M938405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings for the day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have script as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *&amp;nbsp; inline [&lt;/P&gt;&lt;P&gt;NAME,Value,Area,SubArea&lt;/P&gt;&lt;P&gt;JOHN,100,Area1,SA1&lt;/P&gt;&lt;P&gt;JOHN,110,Area2,SA2&lt;/P&gt;&lt;P&gt;JOHN,210,Total&lt;/P&gt;&lt;P&gt;CHRIS,210,Total&lt;/P&gt;&lt;P&gt;NANCY,101,Area1,SA3&lt;/P&gt;&lt;P&gt;NANCY,102,Area2,SA4&lt;/P&gt;&lt;P&gt;NANCY,103,Area3,SA5&lt;/P&gt;&lt;P&gt;NANCY,306,Total&lt;/P&gt;&lt;P&gt;ALEX,400,Total&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my requirement i have to pass values dynamically into section access code like &lt;/P&gt;&lt;P&gt;If Area is 'Total' and and that user is not assigned to any other area (like CHRIS,ALEX) then&lt;/P&gt;&lt;P&gt; i have to pick NAME,TOTAL else i have to pick NAME,Value,Area,SubArea as like below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Section Access;&lt;/P&gt;&lt;P&gt;If Area = 'Total' and not assigned to other Area then&lt;/P&gt;&lt;P&gt;Load NAME,Area resident Data;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;Load NAME,Area,SubArea resident Data;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;section application;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any possiblity on this? If yes Could you please help me here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;QV11 User&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 10:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-values-dynamically-into-section-access/m-p/1032506#M938405</guid>
      <dc:creator />
      <dc:date>2016-02-15T10:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pass values dynamically into section access</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-values-dynamically-into-section-access/m-p/1032507#M938406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that should be possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load *&amp;nbsp; inline [&lt;/P&gt;&lt;P&gt;NAME, Value,Area,SubArea&lt;/P&gt;&lt;P&gt;JOHN,100,Area1,SA1&lt;/P&gt;&lt;P&gt;JOHN,110,Area2,SA2&lt;/P&gt;&lt;P&gt;JOHN,210,Total&lt;/P&gt;&lt;P&gt;CHRIS,210,Total&lt;/P&gt;&lt;P&gt;NANCY,101,Area1,SA3&lt;/P&gt;&lt;P&gt;NANCY,102,Area2,SA4&lt;/P&gt;&lt;P&gt;NANCY,103,Area3,SA5&lt;/P&gt;&lt;P&gt;NANCY,306,Total&lt;/P&gt;&lt;P&gt;ALEX,400,Total&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;LOAD NAME, NAME as CHECK, Area&lt;/P&gt;&lt;P&gt;RESIDENT Temp&lt;/P&gt;&lt;P&gt;WHERE Area &amp;lt;&amp;gt; 'Total';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE(Result)&lt;/P&gt;&lt;P&gt;LOAD NAME, Area&lt;/P&gt;&lt;P&gt;RESIDENT Temp&lt;/P&gt;&lt;P&gt;WHERE Area = 'Total' AND NOT Exists(CHECK,NAME);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SECTION ACCESS;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD * RESIDENT Result;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 17:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-values-dynamically-into-section-access/m-p/1032507#M938406</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-15T17:54:56Z</dc:date>
    </item>
  </channel>
</rss>

