<?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: How to use the evaluated variable value as a search string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275084#M400615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I tried this, but still got a syntax error.&lt;/P&gt;&lt;P&gt;What ended up working is this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;year_quarter={"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;year-1&amp;amp;'-Q4'&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Qlik still grumbled, but all the expressions so far evaluated correctly.&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 14:41:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-07T14:41:13Z</dc:date>
    <item>
      <title>How to use the evaluated variable value as a search string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275082#M400613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can search my data via strings like 2014-Q1, 2015-Q3, etc.&lt;/P&gt;&lt;P&gt;I need to compare the given period with Q4 of the preceding year, eg 2015-Q3 to 2014-Q4, 2014-Q1 ro 2013-Q4, etc. The comparison period is always the Q4 of the previous year. &lt;/P&gt;&lt;P&gt;The filed holding these labels is called year_quarter.&lt;/P&gt;&lt;P&gt;I tried the following.&lt;/P&gt;&lt;P&gt;1. left(year_quarter, 4) as year&lt;/P&gt;&lt;P&gt;2. set vTest=year-1&amp;amp;'-Q4'&lt;/P&gt;&lt;P&gt;The vTest evaluates correctly, but when I try to put $(vTest) in my set expression, I get &lt;SPAN style="font-size: 10pt;"&gt;a syntax error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tried year_quarter={$(vTest)}, and year_quarter={"&lt;SPAN style="font-size: 13.3333px;"&gt;$(vTest)&lt;/SPAN&gt;"}, and a number of similar combinations, but I still get an error.&lt;/P&gt;&lt;P&gt;Does anybody know how to solve this?&lt;/P&gt;&lt;P&gt;Please keep in mind that I have no way of altering the original dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for all your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2016 15:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275082#M400613</guid>
      <dc:creator />
      <dc:date>2016-12-03T15:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the evaluated variable value as a search string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275083#M400614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try 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;year_quarter={"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;=&lt;/SPAN&gt;vTest)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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: 13px;"&gt;&lt;STRONG&gt;year_quarter={"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;=$(&lt;/SPAN&gt;vTest&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Dec 2016 22:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275083#M400614</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-04T22:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the evaluated variable value as a search string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275084#M400615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I tried this, but still got a syntax error.&lt;/P&gt;&lt;P&gt;What ended up working is this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;year_quarter={"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12pt; font-family: inherit; color: #ff0000;"&gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;year-1&amp;amp;'-Q4'&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;"}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Qlik still grumbled, but all the expressions so far evaluated correctly.&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 14:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-the-evaluated-variable-value-as-a-search-string/m-p/1275084#M400615</guid>
      <dc:creator />
      <dc:date>2016-12-07T14:41:13Z</dc:date>
    </item>
  </channel>
</rss>

