<?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 Country level Restriction for Holiday List in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755429#M58248</link>
    <description>&lt;P&gt;Hi Forte,&lt;/P&gt;&lt;P&gt;Thank you. That should work.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 13:16:42 GMT</pubDate>
    <dc:creator>pradeep92</dc:creator>
    <dc:date>2020-10-23T13:16:42Z</dc:date>
    <item>
      <title>Section Access Country level Restriction for Holiday List</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755306#M58238</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have got a requirement as below,&lt;/P&gt;&lt;P&gt;I am having 4 countries like IN(India),SL(Srilanka),US(USA) and DE(Germany) with their holiday list.&lt;/P&gt;&lt;P&gt;So when I am logging in, I would like to have only that specific country holiday list that will be further used in calculation.&lt;/P&gt;&lt;P&gt;My below findings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SECTION ACCESS FIELD is COMPANY&lt;/P&gt;&lt;P&gt;Temp_Holiday:&lt;BR /&gt;Load *,'DE' as COMPANY Inline [Holiday_Day, Holiday_Date&lt;BR /&gt;Mon,'13/04/2020'&lt;BR /&gt;];&lt;BR /&gt;Load *,'US' as COMPANY Inline [Holiday_Day, Holiday_Date&lt;BR /&gt;Mon,'20/01/2020'&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;Holiday:&lt;BR /&gt;Load&amp;nbsp;&lt;BR /&gt;COMPANY,&lt;BR /&gt;Chr(39)&amp;amp;Concat(Date(Floor(Date#(Holiday_Date)),'DD/MM/YYYY'),chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39) as Holidays&lt;BR /&gt;Resident Temp_Holiday group by COMPANYKEY;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let vholidays = Peek('Holidays',0,'Holiday');&lt;/P&gt;&lt;P&gt;trace $(vholidays);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp; I login with DE it works fine as the vholidays variable uses 1st row which is nothing but DE0 but if I login with US,the holiday for DE is storing in the variable for US as well.&lt;/P&gt;&lt;P&gt;I would like to store the holiday list in a variable based on COUNTRY login because I am using that variable for calculation&lt;/P&gt;&lt;P&gt;in network days.&lt;/P&gt;&lt;P&gt;Kindly provide your inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 16:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755306#M58238</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2021-12-22T16:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Country level Restriction for Holiday List</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755375#M58242</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You need a variable definition that "works after" your Section Access. As you have described , you are filtering by COMPANY, so keep your table Holiday and change variable definition to set&amp;nbsp;&lt;SPAN&gt;vholidays&amp;nbsp; = Only(Holidays);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When you need that calc on your dashboard just call $(vholidays)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 11:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755375#M58242</guid>
      <dc:creator>forte</dc:creator>
      <dc:date>2020-10-23T11:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access Country level Restriction for Holiday List</title>
      <link>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755429#M58248</link>
      <description>&lt;P&gt;Hi Forte,&lt;/P&gt;&lt;P&gt;Thank you. That should work.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 13:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-Access-Country-level-Restriction-for-Holiday-List/m-p/1755429#M58248</guid>
      <dc:creator>pradeep92</dc:creator>
      <dc:date>2020-10-23T13:16:42Z</dc:date>
    </item>
  </channel>
</rss>

