<?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: help combining variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227291#M869413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that works in a text box, but how would i set it up in an action on the button to make the 3 selections on the Dataset field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 23:06:38 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2016-11-24T23:06:38Z</dc:date>
    <item>
      <title>help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227278#M869400</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 variables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vCounter = Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)&lt;/P&gt;&lt;P&gt;vPeriod_1 = Only({&amp;lt;Counter = {$(=vCounter-1)}&amp;gt;} nd_FISCAL_PERIOD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see, vPeriod_1 uses vCounter within it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to combine the above 2 variables, the vCounter expression needs to replace the vCounter part of the vPeriod_1 variable expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then the i want to replace the vPeriod_1 part of the below expression with the combined expression from the above.&lt;/P&gt;&lt;P&gt;='("LV Snapshot FY$(=Right(CurrentFiscalYear,2))*" &amp;amp; (*$(vPeriod_1)))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i cant get this to work, can anyone help please?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;i have attached an example qvw.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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/help-combining-variables/m-p/1227278#M869400</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227279#M869401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='("LV Snapshot FY$(=Right(CurrentFiscalYear,2))*" &amp;amp; (*$(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-1)}&amp;gt;} nd_FISCAL_PERIOD)))'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 21:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227279#M869401</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T21:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227280#M869402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again! that works in QV (i changed the button to use that expression instead of the variable) but again it doesnt work in NP! AAARRRRRGGGGHHHHHH!!!!!&lt;/P&gt;&lt;P&gt;this is so frustrating!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227280#M869402</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T22:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227281#M869403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it work if you hard code the search string in NP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;("LV Snapshot FY17*" &amp;amp; (*201704)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to check that the search approach does work out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227281#M869403</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T22:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227282#M869404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok so the above doesnt work, it only works if the actual string is hardcoded&lt;/P&gt;&lt;P&gt;i.e.&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;LV Snapshot FY17 201704&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;so the problem is getting NP to evaluate the expression and apply the result. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227282#M869404</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T22:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227283#M869405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I missed a bracket:&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: 12px; background-color: #f2f2f2;"&gt;("LV Snapshot FY17*" &amp;amp; (*201704))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or&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: 12px; background-color: #f2f2f2;"&gt;("LV Snapshot FY17*" &amp;amp; "*201704")&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227283#M869405</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T22:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227284#M869406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had already noticed that and corrected it in my test. didnt work. &lt;/P&gt;&lt;P&gt;within a text box, the expression...&lt;/P&gt;&lt;P&gt;='("LV Snapshot FY$(=Right(CurrentFiscalYear,2))*" &amp;amp; (*$(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-1)}&amp;gt;} nd_FISCAL_PERIOD))))' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives the result of..&lt;/P&gt;&lt;P&gt;("LV Snapshot FY17*" &amp;amp; (*201704))&lt;/P&gt;&lt;P&gt;but this isnt a value in the Dataset field which i think is why its not making the selection. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227284#M869406</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T22:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227285#M869407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have changed the expression slightly to..&lt;/P&gt;&lt;P&gt;='LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-1)}&amp;gt;} nd_FISCAL_PERIOD))' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which removed some double quotes and some brackets, this in a text box matches one of the values in the Dataset field and also works in NP. &lt;/P&gt;&lt;P&gt;i dont know if this will have any other affect though so i will add in the other 2 periods and see what happens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227285#M869407</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T22:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227286#M869408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you using this search string in the context of NP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above is a compound search string, which should work in selection -select in field triggers, for example.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-15671"&gt;Compound Search - demystified&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227286#M869408</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T22:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227287#M869409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in NP i am creating a field filter on the dataset field and ticking the 'evaluate' check box (i have also tried without ticking the check box too. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227287#M869409</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T22:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227288#M869410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't know NPrinting good enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe try to specifically address your issue to&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/space/2207"&gt;Qlik NPrinting&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227288#M869410</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T22:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227289#M869411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;last question i promise! &lt;/P&gt;&lt;P&gt;i now need to add in the additional 2 periods (201703 and 201702) which are from the other 2 variables you did. &lt;/P&gt;&lt;P&gt;for this to work in NP i would need the result to be comma separated, (i think) so the 3 values can be selected the same time.&lt;/P&gt;&lt;P&gt;is it possible to add these to the following expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-1)}&amp;gt;} nd_FISCAL_PERIOD))' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 22:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227289#M869411</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T22:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227290#M869412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-1)}&amp;gt;} nd_FISCAL_PERIOD)),LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-2)}&amp;gt;} nd_FISCAL_PERIOD)),LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-3)}&amp;gt;} nd_FISCAL_PERIOD))'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 23:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227290#M869412</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T23:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227291#M869413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that works in a text box, but how would i set it up in an action on the button to make the 3 selections on the Dataset field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 23:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227291#M869413</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T23:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227292#M869414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know how NPrinting works, but in QV, you can use a compound search like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;("value1"|"value2"|"value3")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 23:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227292#M869414</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-11-24T23:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: help combining variables</title>
      <link>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227293#M869415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;i have changed the expression to the following..&lt;/P&gt;&lt;P&gt;='("LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-1)}&amp;gt;} nd_FISCAL_PERIOD))"|"LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-2)}&amp;gt;} nd_FISCAL_PERIOD))"|"LV Snapshot FY$(=Right(CurrentFiscalYear,2)) $(=Only({&amp;lt;Counter = {$(=Only({&amp;lt;nd_FISCAL_PERIOD = {$(=Only(CurrentFiscalPeriod))}&amp;gt;}Counter)-3)}&amp;gt;} nd_FISCAL_PERIOD))")'&lt;/P&gt;&lt;P&gt;which works in QV but i can't get it to work in NP. &lt;/P&gt;&lt;P&gt;i have asked Stephen Jasonowski at Qlik for support. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 23:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-combining-variables/m-p/1227293#M869415</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-11-24T23:21:47Z</dc:date>
    </item>
  </channel>
</rss>

