<?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 Comparing string variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256187#M96941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Of course, single quotes. I though i tried that but obviously not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2011 12:34:29 GMT</pubDate>
    <dc:creator>kim_rormark</dc:creator>
    <dc:date>2011-08-08T12:34:29Z</dc:date>
    <item>
      <title>Comparing string variables</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256185#M96939</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;I am trying to do an "if.. then" on two string variables, but it won't do it for me. Do I have to use something else to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" jivemacro="code"&gt;&lt;P&gt;if Peek('Type', $(i), 'Incidents') = "Downtime" then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Here Peek('Type', $(i), 'Incidents') will return the correct value that I want to compare with "Downtime". In the log-file it shows that the correct values are compared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex. if Downtime = "Downtime" then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried removing and adding quotes in every possible way, and I also tried using the text() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 12:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256185#M96939</guid>
      <dc:creator>kim_rormark</dc:creator>
      <dc:date>2011-08-08T12:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing string variables</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256186#M96940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attach is an example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried what you wrote &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems to work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;checkout to any diffrences&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 12:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256186#M96940</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-08-08T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Comparing string variables</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256187#M96941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Of course, single quotes. I though i tried that but obviously not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2011 12:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-string-variables/m-p/256187#M96941</guid>
      <dc:creator>kim_rormark</dc:creator>
      <dc:date>2011-08-08T12:34:29Z</dc:date>
    </item>
  </channel>
</rss>

