<?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 Loop Data for multiple tests in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950783#M648567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have set of data. And these data must go through different multiple tests with different conditions. Is there a way to loop around? Now I have used concatenate load with different conditions. Say I have 10 tests and I have taken 10 resident concatenate loads to tackle this. is there a better option around?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 06:02:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-15T06:02:16Z</dc:date>
    <item>
      <title>Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950783#M648567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have set of data. And these data must go through different multiple tests with different conditions. Is there a way to loop around? Now I have used concatenate load with different conditions. Say I have 10 tests and I have taken 10 resident concatenate loads to tackle this. is there a better option around?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 06:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950783#M648567</guid>
      <dc:creator />
      <dc:date>2015-09-15T06:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950784#M648568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 07:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950784#M648568</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-09-15T07:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950785#M648569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you be more specific with sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 07:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950785#M648569</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-09-15T07:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950786#M648570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possibly - but its impossible to give you specific help without a lot more information&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 07:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950786#M648570</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-15T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950787#M648571</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;please post sample data,so can help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 08:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950787#M648571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T08:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950788#M648572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TestData:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nums, Country&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,India&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,US&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,China&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5,Russia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -6,Japan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -2,UK&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Nums,&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;IF(Nums&amp;lt;0,'Has negative values','OK') as [Error type]&lt;/P&gt;&lt;P&gt;RESIDENT TestData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD&lt;/P&gt;&lt;P&gt;Nums,&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;IF(Nums=-2,'Has -2 value','OK') as [Error type]&lt;/P&gt;&lt;P&gt;RESIDENT TestData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD&lt;/P&gt;&lt;P&gt;Nums,&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;IF(Nums=0,'Has 0 value','OK') as [Error type]&lt;/P&gt;&lt;P&gt;RESIDENT TestData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE LOAD&lt;/P&gt;&lt;P&gt;Nums,&lt;/P&gt;&lt;P&gt;Country,&lt;/P&gt;&lt;P&gt;IF(Country&amp;lt;&amp;gt;'US','Non-US Country','OK') as [Error type]&lt;/P&gt;&lt;P&gt;RESIDENT TestData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE TestData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have shared some sample data.If a record has the possibility of all 4 Error Type, then it must be duplicated with the correct error type. Is it possible to do the same in a loop without using nested if blocks for all error types?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 10:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950788#M648572</guid>
      <dc:creator />
      <dc:date>2015-09-15T10:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950789#M648573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;TestData:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Nums,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Country,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;IF(Nums=-2,'Has -2 value',If(Nums&amp;lt;0,'Has negative values',If(Nums=0,'Has 0 value',IF(Country&amp;lt;&amp;gt;'US','Non-US Country','OK')))) as [Error type];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nums, Country&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,India&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,US&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6,China&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5,Russia&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -6,Japan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -2,UK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="98980" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98980_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry i misunderstood the question &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 10:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950789#M648573</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-09-15T10:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Data for multiple tests</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950790#M648574</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;may be try:&lt;/P&gt;&lt;P&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;PICK(Match(Nums,'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;'&amp;lt;0','&lt;/SPAN&gt;0','-2','&amp;gt;0'),'Has Negative values', &lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Has 0 values',&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'Has -2 values'&lt;/SPAN&gt;&lt;/SPAN&gt;,'OK ') as ErrorType&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 10:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Data-for-multiple-tests/m-p/950790#M648574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T10:50:36Z</dc:date>
    </item>
  </channel>
</rss>

