<?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: Test against multiple rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233898#M392843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Governanace dashboard is the datasource and I have created .qvd that I use in an application to deploy files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the listboxes containes a list of files that a developer can deploy, the list is populated by an expresion and I want to verify that a file has the appropriate Task. Below is an example of a container where we have 5 .qvw that has 7 corresponding Tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/146141_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a file that only has one Task attached to it do I get one match The test [Filename] = [TaskName] will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146139_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I select a file that has two or more will the validation [Filename] = [TaskName] obviously not work and I would like the validation to accept bothe R and D or ignore that charachter.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/146140_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 08:00:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-09T08:00:29Z</dc:date>
    <item>
      <title>Test against multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233894#M392839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make a validation where one [&lt;STRONG&gt;Filename&lt;/STRONG&gt;] can have multiple corresponding values in [&lt;STRONG&gt;TaskName&lt;/STRONG&gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FileName&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;&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;&amp;nbsp; TaskName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ExtractApplication.qvw&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.R.ExractApplication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application.qvw&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.R.Application&lt;/P&gt;&lt;P&gt;&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;&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;&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;&amp;nbsp;&amp;nbsp; 0.D.Application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the above naming convention on our scheduled jobs and I would like to do this validation to keep everything consistent and support a deployent tool we have created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been playing with some kind of If statement like this&lt;/P&gt;&lt;P&gt;IF(FileName =TaskName, DoSomthing)&lt;/P&gt;&lt;P&gt;but this doesn't obviously not work for the Application.qvw file and I'm thinking&amp;nbsp; that some kind of set analyze would be the correct way and help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 04:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233894#M392839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T04:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Test against multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233895#M392840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your 'DoSomething' a kind of aggregation, you might rather try like:&lt;/P&gt;&lt;P&gt;Sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(FileName =TaskName, Amount))&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;I.e. - the structure would look like : DoSomething(IF (....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:20:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233895#M392840</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-12-09T05:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Test against multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233896#M392841</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;Is the data setup in some kind of pivot format maybe in excel?&lt;/P&gt;&lt;P&gt;Looks like you will have to convert to a flat file format to make it easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 05:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233896#M392841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T05:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Test against multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233897#M392842</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;See attached. Ive used the previous() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="146130" alt="PreviousEx_snap1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146130_PreviousEx_snap1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;* Updated attachments... C_ fields can be used to compare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 06:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233897#M392842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T06:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Test against multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233898#M392843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Governanace dashboard is the datasource and I have created .qvd that I use in an application to deploy files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the listboxes containes a list of files that a developer can deploy, the list is populated by an expresion and I want to verify that a file has the appropriate Task. Below is an example of a container where we have 5 .qvw that has 7 corresponding Tasks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/146141_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a file that only has one Task attached to it do I get one match The test [Filename] = [TaskName] will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146139_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I select a file that has two or more will the validation [Filename] = [TaskName] obviously not work and I would like the validation to accept bothe R and D or ignore that charachter.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/146140_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 08:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233898#M392843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-09T08:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Test against multiple rows</title>
      <link>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233899#M392844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I suggested above, if you put your IF condition in an aggregation function (Sum(), Max()....), it should work fine even with multiple possible values. For further help, try to share a sample qvw explaining your expected output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 08:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Test-against-multiple-rows/m-p/1233899#M392844</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-12-09T08:35:51Z</dc:date>
    </item>
  </channel>
</rss>

