<?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 reduction on one field with date range Historical data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Section-access-reduction-on-one-field-with-date-range-Historical/m-p/2499369#M102976</link>
    <description>&lt;P&gt;Hi, how about a creating a composite of the company and ranges of dates as a linkage between section access and the model.&lt;/P&gt;
&lt;P&gt;SECTION ACCESS;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, COMPANYYEARKEY&lt;BR /&gt;ADMIN, ADMIN, *&lt;BR /&gt;USER, GROUP1, GH-PRIORYEAR&lt;BR /&gt;USER, GROUP1, GHM-CURRENTYEAR&lt;BR /&gt;USER, GROUP2, GH-CURRENTYEAR&lt;BR /&gt;USER, GROUP3, *&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;SECTION APPLICATION;&lt;/P&gt;
&lt;P&gt;DATA:&lt;BR /&gt;LOAD *,&lt;BR /&gt;Upper(Company) &amp;amp; '-' &amp;amp; If(Date(MonthStart(Date), 'YYYY/MM') &amp;lt; '2024/12', 'PRIORYEAR', 'CURRENTYEAR') as COMPANYYEARKEY&lt;BR /&gt;FROM &amp;lt;SourceTable&amp;gt;;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2024 13:58:01 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2024-12-26T13:58:01Z</dc:date>
    <item>
      <title>Section access reduction on one field with date range Historical data</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-reduction-on-one-field-with-date-range-Historical/m-p/2499358#M102974</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I need to add section access where the reduction is on the Company field. However, I have other conditions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Group 1:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Should have access to company GH when the date is before 2024/12 and should have access to GHM if the date is after 2025/01.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Group 2:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Should have access to GH only when the date is after 2025/01.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Group 3:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Should have access to all data.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Note that, we have date for both companies for both years 2025 and 2024&lt;/P&gt;
&lt;P&gt;What are the best ways to do this ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 09:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-reduction-on-one-field-with-date-range-Historical/m-p/2499358#M102974</guid>
      <dc:creator>RanOuerg</dc:creator>
      <dc:date>2024-12-26T09:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Section access reduction on one field with date range Historical data</title>
      <link>https://community.qlik.com/t5/App-Development/Section-access-reduction-on-one-field-with-date-range-Historical/m-p/2499369#M102976</link>
      <description>&lt;P&gt;Hi, how about a creating a composite of the company and ranges of dates as a linkage between section access and the model.&lt;/P&gt;
&lt;P&gt;SECTION ACCESS;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;ACCESS, USERID, COMPANYYEARKEY&lt;BR /&gt;ADMIN, ADMIN, *&lt;BR /&gt;USER, GROUP1, GH-PRIORYEAR&lt;BR /&gt;USER, GROUP1, GHM-CURRENTYEAR&lt;BR /&gt;USER, GROUP2, GH-CURRENTYEAR&lt;BR /&gt;USER, GROUP3, *&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;SECTION APPLICATION;&lt;/P&gt;
&lt;P&gt;DATA:&lt;BR /&gt;LOAD *,&lt;BR /&gt;Upper(Company) &amp;amp; '-' &amp;amp; If(Date(MonthStart(Date), 'YYYY/MM') &amp;lt; '2024/12', 'PRIORYEAR', 'CURRENTYEAR') as COMPANYYEARKEY&lt;BR /&gt;FROM &amp;lt;SourceTable&amp;gt;;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 13:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Section-access-reduction-on-one-field-with-date-range-Historical/m-p/2499369#M102976</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2024-12-26T13:58:01Z</dc:date>
    </item>
  </channel>
</rss>

