<?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 Test for two specific selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416766#M811258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be really simple but I can't see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a selection box (Company) with four possible selections (say 'ABC','DEF','GHI','JKL'). I have a text box that reads the selection and uses it concatenated with 'Report' to provide a header (=Company &amp;amp; ' Report').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So selecting 'ABC' produces a text box with 'ABC Report' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However we select two specific Company selections, say 'DEF' and 'GHI' I want the text box to say 'MNO Report'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ='DEF' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='GHI,'MNO',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp; ' Period Report' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Test for two specific selections</title>
      <link>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416766#M811258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should be really simple but I can't see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a selection box (Company) with four possible selections (say 'ABC','DEF','GHI','JKL'). I have a text box that reads the selection and uses it concatenated with 'Report' to provide a header (=Company &amp;amp; ' Report').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So selecting 'ABC' produces a text box with 'ABC Report' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However we select two specific Company selections, say 'DEF' and 'GHI' I want the text box to say 'MNO Report'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ='DEF' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;GetCurrentField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)='GHI,'MNO',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;amp; ' Period Report' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&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/Test-for-two-specific-selections/m-p/1416766#M811258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Test for two specific selections</title>
      <link>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416767#M811259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount(Concat(DISTINCT '|' &amp;amp; Company &amp;amp; '|'), '|DEF|') = 1 and &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SubStringCount(Concat(DISTINCT '|' &amp;amp; Company &amp;amp; '|'), '|GHI|') = 1, 'MNO', Company) &amp;amp; ' Period Report'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416767#M811259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-09T12:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Test for two specific selections</title>
      <link>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416768#M811260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;STRONG&gt;GetCurrentSelections()&lt;/STRONG&gt; instead of getcurrentfield().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416768#M811260</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-10-09T12:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Test for two specific selections</title>
      <link>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416769#M811261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant as usual Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416769#M811261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-09T12:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Test for two specific selections</title>
      <link>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416770#M811262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Concat(Company,'|') ='DEF|GHI', 'MNO Report', Company &amp;amp; ' Report')&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-for-two-specific-selections/m-p/1416770#M811262</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-09T12:28:08Z</dc:date>
    </item>
  </channel>
</rss>

