<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074054#M465523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having a problem getting my head round this. My current section Access works well when 1 choose 1 year. But now my client wants to be able to choose multiple years and I can't get my head around it any help will be great. I can not upload any data as its a government data set. My current script below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-APPL'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Period Year Quarter Desc]={"$(vPrevYearFinalQtr)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; + &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-GRL'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Period Year]={"$(vPrevYear)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; + &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-TRPL'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Period Year Quarter Desc]={"$(vPrevYearFinalQtr)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; } &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Activity Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,'#,##0') *1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 09:23:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-15T09:23:37Z</dc:date>
    <item>
      <title>Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074054#M465523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having a problem getting my head round this. My current section Access works well when 1 choose 1 year. But now my client wants to be able to choose multiple years and I can't get my head around it any help will be great. I can not upload any data as its a government data set. My current script below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-APPL'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Period Year Quarter Desc]={"$(vPrevYearFinalQtr)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; + &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-GRL'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Period Year]={"$(vPrevYear)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; + &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-TRPL'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,[Activity Period Year Quarter Desc]={"$(vPrevYearFinalQtr)"}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; } &lt;/P&gt;&lt;P&gt;&amp;nbsp; [Activity Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,'#,##0') *1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074054#M465523</guid>
      <dc:creator />
      <dc:date>2016-03-15T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074055#M465524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Activity Period Year]={"$(vPrevYear)"} from script, may be you are storing Multiple values in variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vPrevYear&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074055#M465524</guid>
      <dc:creator>amayuresh</dc:creator>
      <dc:date>2016-03-15T09:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074056#M465525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You speak about Section Access and script, but you give us an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be more explicit, please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074056#M465525</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-15T09:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074057#M465526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Section access has nothing to do with set analysis. If you use section access to reduce the data available to a user then possibly there is no data for the other years. But perhaps you mean set analysis instead of section access. What you posted contains no real clues. I can't tell what the variables contain. I have not idea how your expression is used. I don't know if you're using period fields as dimensions as well in the object where you use your expression. If you need help then you'll have to create a small qlikview document that demonstrates the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here for how to create documents that don't contain confidention information anymore:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you don't trust scrambing then make up some example data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 09:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074057#M465526</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-15T09:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074058#M465527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My apologies had a bad start to the day. It is Set Analysis please also find attached a reduced data version. What I have currently happening is when you choose one year in Goal 6 it shows you the last Quarter data but what I now need to do is if I pick 2 years I get an extra text box and want to show the max year on the right and the middle is previous year and the box on the left show previous - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 14:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074058#M465527</guid>
      <dc:creator />
      <dc:date>2016-03-15T14:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074059#M465528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before answer you, I found something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I selected 2014 and after 2015 and we could see that values for 2014 are not the same where 2014 is current year or previous year&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-03-15 16_43_26-QlikView x64 - [C__Users_sfatoux_Downloads_Reduced Data.qvw_].png" class="jive-image image-1" height="135" src="/legacyfs/online/118063_2016-03-15 16_43_26-QlikView x64 - [C__Users_sfatoux_Downloads_Reduced Data.qvw_].png" style="height: 135px; width: 310.663px;" width="311" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="2016-03-15 16_45_26-QlikView x64 - [C__Users_sfatoux_Downloads_Reduced Data.qvw_].png" class="jive-image image-2" height="135" src="/legacyfs/online/118088_2016-03-15 16_45_26-QlikView x64 - [C__Users_sfatoux_Downloads_Reduced Data.qvw_].png" style="height: 135.41px; width: 317px;" width="317" /&gt;&lt;/P&gt;&lt;P&gt;It's just because mesure &lt;SPAN style="font-size: 13.3333px;"&gt;[Activity Measure Code]={'TS-APP1','TS-APP2','TS-APP3','TS-APP4','TS-TRP1','TS-TRP2','TS-TRP3','TS-TRP4'} &lt;/SPAN&gt;are removed due to current selection of &lt;STRONG style="font-size: 10.6667px;"&gt;Activity Period Year&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You could find below your expression compacted (more clear) and &lt;STRONG&gt;corrected&lt;/STRONG&gt; (for the red object above):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;= num(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum({$&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-APP1','TS-APP2','TS-APP3','TS-APP4','TS-TRP1','TS-TRP2','TS-TRP3','TS-TRP4'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; ,[Activity Period Year Quarter Desc]={"$(vPrevYearFinalQtr)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;STRONG&gt;,[Activity Period Year]={"$(vPrevYear)"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &amp;gt; + &amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; [Milestone Num] = {22}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; ,[Activity Measure Code]={'TS-GRR1','TS-GRR2','TS-GRR3','TS-GRR4'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; ,[Activity Period Year]={"$(vPrevYear)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &amp;gt; } [Activity Value]) ,'#,##0') *1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;I let you modify the two other objects accordingly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074059#M465528</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-15T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Section Access</title>
      <link>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074060#M465529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have to time to dig through your document and fix everything. Start with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select multiple &lt;SPAN style="font-size: 13.3333px;"&gt;Activity Period Year values then using =[&lt;SPAN style="font-size: 13.3333px;"&gt;Activity Period Year] as definition for the variable vYear will result in vYear having a null value since there are multiple possible values. So you need to be specific and tell Qlikview which value you want. I assume you want the maximum of the selected values: &lt;SPAN style="font-size: 13.3333px;"&gt;vYear: =max([Activity Period Year]).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you getting some steps towards the result you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-Access/m-p/1074060#M465529</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-15T16:13:11Z</dc:date>
    </item>
  </channel>
</rss>

