<?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: Load data for multiple conditions simultaneously in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549798#M440158</link>
    <description>Hi Sujit,&lt;BR /&gt;&lt;BR /&gt;In first load you can load all rows without using where clause. Once load then assign noofrows to one variable using NoOfRows function. Then take resident load from above table there you can use where condition as Field C not equal to Y. Again store noofrows from newly loaded table to one more variable. Then you can substract new variable from previous one and assign that value to final variable. Final variable will store your number that you want. After this again load data from first loaded table there you can use field A and field B condition in where clause and concatenate that with table where you have used field C condition.&lt;BR /&gt;&lt;BR /&gt;Hope you understand.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vishal Waghole</description>
    <pubDate>Wed, 27 Feb 2019 12:05:47 GMT</pubDate>
    <dc:creator>VishalWaghole</dc:creator>
    <dc:date>2019-02-27T12:05:47Z</dc:date>
    <item>
      <title>Load data for multiple conditions simultaneously</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549768#M440157</link>
      <description>&lt;P&gt;My requirement is as such:&lt;/P&gt;&lt;P&gt;I have a csv from which I am loading the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Suppose I have 3 conditions&lt;/P&gt;&lt;P&gt;1. field A = 'Y'&lt;/P&gt;&lt;P&gt;2.feild B='N'&lt;/P&gt;&lt;P&gt;3.feild C&amp;lt;&amp;gt;'Y'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-So, my load statement would be like --&lt;/P&gt;&lt;P&gt;load * from myfile&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;field A = 'Y'&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;feild B='N'&lt;/P&gt;&lt;P&gt;AND&lt;/P&gt;&lt;P&gt;feild C&amp;lt;&amp;gt;'Y'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;-Now I want to check how many records are eliminated only due to feild c&amp;lt;&amp;gt;'Y' , but my actual load should contain that elimination.&lt;/P&gt;&lt;P&gt;How do I achieve that?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549768#M440157</guid>
      <dc:creator>sujit_nath</dc:creator>
      <dc:date>2024-11-16T04:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Load data for multiple conditions simultaneously</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549798#M440158</link>
      <description>Hi Sujit,&lt;BR /&gt;&lt;BR /&gt;In first load you can load all rows without using where clause. Once load then assign noofrows to one variable using NoOfRows function. Then take resident load from above table there you can use where condition as Field C not equal to Y. Again store noofrows from newly loaded table to one more variable. Then you can substract new variable from previous one and assign that value to final variable. Final variable will store your number that you want. After this again load data from first loaded table there you can use field A and field B condition in where clause and concatenate that with table where you have used field C condition.&lt;BR /&gt;&lt;BR /&gt;Hope you understand.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Vishal Waghole</description>
      <pubDate>Wed, 27 Feb 2019 12:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549798#M440158</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2019-02-27T12:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load data for multiple conditions simultaneously</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549839#M440163</link>
      <description>&lt;P&gt;Please check the NoOfRows()&amp;nbsp; in this link:&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/TableFunctions/NoOfRows.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/TableFunctions/NoOfRows.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 12:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549839#M440163</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2019-02-27T12:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load data for multiple conditions simultaneously</title>
      <link>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549845#M440164</link>
      <description>&lt;P&gt;May be do another load like this&lt;/P&gt;&lt;PRE&gt;ExclusionCount:&lt;BR /&gt;LOAD Count(feild C) as CountFieldC
FROM myfile
Where&amp;nbsp;feild C &amp;lt;&amp;gt; 'Y';&lt;BR /&gt;&lt;BR /&gt;Concatenate(ExclusionCount)&lt;BR /&gt;LOAD Count(feild B) as CountFieldB&lt;BR /&gt;FROM myfile&lt;BR /&gt;Where &lt;SPAN&gt;feild B='N'&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;Concatenate(ExclusionCount)&lt;BR /&gt;LOAD Count(feild A) as CountFieldA&lt;BR /&gt;FROM myfile&lt;BR /&gt;Where &lt;SPAN&gt;field A = 'Y'&lt;/SPAN&gt;;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Feb 2019 12:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-data-for-multiple-conditions-simultaneously/m-p/1549845#M440164</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-28T12:04:57Z</dc:date>
    </item>
  </channel>
</rss>

