<?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: String Function Set function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352433#M1169962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=only({1}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If([On target to pass]='Yes', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/check_g.png',if([On target to pass]='No', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/cross_r.png',''))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2012 14:10:53 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-07-16T14:10:53Z</dc:date>
    <item>
      <title>String Function Set function</title>
      <link>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352432#M1169961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table where when field [Ontarget] = 'Yes' it shows a big green tick in the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to lock this so regardless of what is selected in the liost boxes ther chart doesnt change - I would do this with sets in a "Number" chart but not sure how to do it when looking at strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If([On target to pass]='Yes', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/check_g.png',if([On target to pass]='No', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/cross_r.png',''))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And represenation is image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 14:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352432#M1169961</guid>
      <dc:creator />
      <dc:date>2012-07-16T14:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: String Function Set function</title>
      <link>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352433#M1169962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=only({1}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If([On target to pass]='Yes', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/check_g.png',if([On target to pass]='No', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/cross_r.png',''))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 14:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352433#M1169962</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-16T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: String Function Set function</title>
      <link>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352434#M1169963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AS the formula was pasted It didnt work so I tested different parts to see if I could get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below works :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({1}If([On target]='Yes','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/check_g.png'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the "only" function works on 1 side of the IF statement, only if [On target] is Yes make tick . &lt;/P&gt;&lt;P&gt;It doesnt seem to get the second condition if [On target] is not Yes Is it No ? then&amp;nbsp; give me an X if neither give me blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It ONLY gives the first condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestions ? - I could use as is I Suppose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 14:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Function-Set-function/m-p/352434#M1169963</guid>
      <dc:creator />
      <dc:date>2012-07-16T14:24:48Z</dc:date>
    </item>
  </channel>
</rss>

