<?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: Variable help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251046#M855855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no that gives me the max period in my dataset which is 203206.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a button that selects the periods needed. i am using a counter field which is against the Period field to make the correct selections (as 201708+12 is 201720 which is not the correct period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the button works, but i want a text box showing the periods instead of the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for NPrinting btw, the variable that works in the button doesnt work in NPrinting, so i am trying to get a variable to evaluate the periods needed separated by a pipe then i'm going to try and get NPrinting to apply the pipe separated values to the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that make sense..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2017 09:47:08 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2017-02-10T09:47:08Z</dc:date>
    <item>
      <title>Variable help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251042#M855851</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;i have the following variable..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;='&amp;amp;CurrentPeriod&amp;amp;'&amp;lt;='&amp;amp;Only({&amp;lt;Counter = {$(=Only({&amp;lt;PERIOD = {$(=Only(CurrentPeriod))}&amp;gt;}Counter)+12)}&amp;gt;} PERIOD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which this is used in an action or trigger it makes selections on 13 periods (current and next 12).&lt;/P&gt;&lt;P&gt;i am trying to get the 13 period values to display in a text box but i can't seem to get it working. &lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251042#M855851</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251043#M855852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Concat(Distinct&lt;/STRONG&gt; {&amp;lt;Counter = {$(=Only({&amp;lt;PERIOD = {$(=Only(CurrentPeriod))}&amp;gt;}Counter)+12)}&amp;gt;} PERIOD&lt;STRONG&gt;, ','&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 09:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251043#M855852</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-02-10T09:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Variable help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251044#M855853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the current period is 201708&lt;/P&gt;&lt;P&gt;so what i want is a text box that gives me..&lt;/P&gt;&lt;P&gt;201708&lt;/P&gt;&lt;P&gt;201709&lt;/P&gt;&lt;P&gt;201710&lt;/P&gt;&lt;P&gt;201711&lt;/P&gt;&lt;P&gt;201712&lt;/P&gt;&lt;P&gt;201801&lt;/P&gt;&lt;P&gt;201802&lt;/P&gt;&lt;P&gt;201803&lt;/P&gt;&lt;P&gt;201804&lt;/P&gt;&lt;P&gt;201805&lt;/P&gt;&lt;P&gt;201806&lt;/P&gt;&lt;P&gt;201807&lt;/P&gt;&lt;P&gt;201808&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you have suggested only gives me the last period (201808).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wouldn't i still have to use the &amp;gt;=currentperiod&amp;lt;= currentperiod+12?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 09:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251044#M855853</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2017-02-10T09:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251045#M855854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat(Distinct&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PERIOD&lt;/SPAN&gt;= {'&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Max(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PERIOD)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt; &amp;lt;$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PERIOD&lt;/SPAN&gt;)+12)'}&amp;gt;} PERIOD&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;, ','&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 09:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251045#M855854</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-02-10T09:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable help</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251046#M855855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no that gives me the max period in my dataset which is 203206.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a button that selects the periods needed. i am using a counter field which is against the Period field to make the correct selections (as 201708+12 is 201720 which is not the correct period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the button works, but i want a text box showing the periods instead of the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is for NPrinting btw, the variable that works in the button doesnt work in NPrinting, so i am trying to get a variable to evaluate the periods needed separated by a pipe then i'm going to try and get NPrinting to apply the pipe separated values to the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that make sense..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 09:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-help/m-p/1251046#M855855</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2017-02-10T09:47:08Z</dc:date>
    </item>
  </channel>
</rss>

