<?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: Multiple version selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530674#M198395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really, it´s perfectly clear to me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. File attached, hope that makes it clearer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 18:28:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-10-09T18:28:05Z</dc:date>
    <item>
      <title>Multiple version selections</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530672#M198393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I´m trying to present comments that explains differences between two versions. What comments to present should be based on what Versions are selected in my economy application. The comments are edited by the business in an excel file where I have two fields for Version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ll try to give a simplified example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve got one transaction table called "Data" that looks like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CostCenter&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Actual&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;Budget&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 120&lt;/P&gt;&lt;P&gt;Forecast1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 140&lt;/P&gt;&lt;P&gt;Forecast2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 160&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want a textbox to present comments to explain differences between the versions, and I want that textbox to display those comments based on two selections in the field Version. The problem is that in the comments excel file I have two fields for version. This is what I´ve tried but of course it doesn´t work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (Data)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version1 as Version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Comment&lt;/P&gt;&lt;P&gt;FROM Comments.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both Version1 and Version2 the values can be any of Actual, Budget, Forecast1 or Forecast2, but never the same in both fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve set up two Variables in the document:&lt;/P&gt;&lt;P&gt;vVersion1 = maxstring(Version)&lt;/P&gt;&lt;P&gt;vVersion2 = minstring(Version)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement in the textbox&lt;/P&gt;&lt;P&gt;=If(Version2 = '$(vVersion1)' or Version2 = '$(vVersion2)', Comment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn´t work of course, but now I´m out of ideas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 06:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530672#M198393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-09T06:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple version selections</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530673#M198394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm afraid your explanation is as clear as mud to me. Can you post an example document with example data and what the result should look like? A mock-up is excel might be the easiest way to demonstrate what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 07:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530673#M198394</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-09T07:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple version selections</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530674#M198395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really, it´s perfectly clear to me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. File attached, hope that makes it clearer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 18:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530674#M198395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-09T18:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple version selections</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530675#M198396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your text box, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;Version1 = {$(=minstring(Version))}, Version2 = {$(=maxstring(Version))}&amp;gt;} Comment)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your combinations should always show Version1 as the minimum string, so I think it should be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 450px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="342"&gt;Comment&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="54"&gt;Version1&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="54"&gt;Version2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Amount is higher than budget due to new sales strategy&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Budget&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Forecast1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Amount is lower than budget due to bad weather&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Budget&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Amount is lower than forecast due to ......&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;Actual&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;Forecast2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Amount is lower than forecast due to delay in marketing activities&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Actual&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Forecast1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 18:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-version-selections/m-p/530675#M198396</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-10-09T18:42:07Z</dc:date>
    </item>
  </channel>
</rss>

