<?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 Define in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Define/m-p/728100#M260953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've this load statement with a field defined by an expression as follow:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(field_a='some_value' AND field_b='some_value', 1, 0) as new_field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This load statament fetch data from a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add another condition like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND field_c='some_value'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where field_c belongs to __another table__ (inside the DB this table is joined with the source table of the previous QVD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This data will be showed in a graph and field to be defined is used as an expression.&lt;/P&gt;&lt;P&gt;I can insert the new condition inside the expression of the graph instead to put it in the field definition of the load statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases how can I refer the field of the other table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, due to the huge amount of record (several milion) how that table should be loaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2014 11:17:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-22T11:17:15Z</dc:date>
    <item>
      <title>Define</title>
      <link>https://community.qlik.com/t5/QlikView/Define/m-p/728100#M260953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've this load statement with a field defined by an expression as follow:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(field_a='some_value' AND field_b='some_value', 1, 0) as new_field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This load statament fetch data from a QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add another condition like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND field_c='some_value'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where field_c belongs to __another table__ (inside the DB this table is joined with the source table of the previous QVD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This data will be showed in a graph and field to be defined is used as an expression.&lt;/P&gt;&lt;P&gt;I can insert the new condition inside the expression of the graph instead to put it in the field definition of the load statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases how can I refer the field of the other table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, due to the huge amount of record (several milion) how that table should be loaded?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 11:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Define/m-p/728100#M260953</guid>
      <dc:creator />
      <dc:date>2014-08-22T11:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Define</title>
      <link>https://community.qlik.com/t5/QlikView/Define/m-p/728101#M260954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some point i am not able to catch but yes try loading the table with this huge data and follow this document to make Optimized dashboards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4556"&gt;Best Practices for Data Modelling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 11:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Define/m-p/728101#M260954</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-08-22T11:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Define</title>
      <link>https://community.qlik.com/t5/QlikView/Define/m-p/728102#M260955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly join these two tables and then use resident load, in which you can put aal conditions.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 11:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Define/m-p/728102#M260955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-22T11:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Define</title>
      <link>https://community.qlik.com/t5/QlikView/Define/m-p/728103#M260956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pourpose is to define a field as an expression whose element belongs to different table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUALIFY "field_A1", "field_A2",&amp;nbsp; "field_B1";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD "field_ID",&lt;/P&gt;&lt;P&gt;"field_A1",&lt;/P&gt;&lt;P&gt;"field_A2",&lt;/P&gt;&lt;P&gt;FROM A.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;"field_ID",&lt;/P&gt;&lt;P&gt;"field_B1",&lt;/P&gt;&lt;P&gt;FROM B.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T3:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"field_ID",&lt;/P&gt;&lt;P&gt;// some selection&lt;/P&gt;&lt;P&gt;T1.field_A1,&lt;/P&gt;&lt;P&gt;T1.field_A2,&lt;/P&gt;&lt;P&gt;T2.field_B1,&lt;/P&gt;&lt;P&gt;//&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((T1.field_A2)='test_value', 1, 0) As ZZZ&amp;nbsp;&amp;nbsp; // this is the field i try to define..&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.. moreover the table T1 is very huge...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this solution correct???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 13:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Define/m-p/728103#M260956</guid>
      <dc:creator />
      <dc:date>2014-08-22T13:40:38Z</dc:date>
    </item>
  </channel>
</rss>

