<?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 Custom value in header depending on value in lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-value-in-header-depending-on-value-in-lines/m-p/306027#M710160</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 am reading a Quality Control table, it has a header with the QualityControl ID and several lines in other table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QualityControlHeader:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "No_" as ControlID&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM QualityControlHeader; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LineOnTest,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TRUE or FALSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumControl as ControlID;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM QualityControlLines;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a field in the table (which is not in the data source): if all the lines for a ControlID are TRUE for the LineOnTest field, a new field in the Header (HeaderOnTest) has to be TRUE. If not, the value for this field needs to be FALSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be carried out? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2011 08:26:51 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2011-08-29T08:26:51Z</dc:date>
    <item>
      <title>Custom value in header depending on value in lines</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-value-in-header-depending-on-value-in-lines/m-p/306027#M710160</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 am reading a Quality Control table, it has a header with the QualityControl ID and several lines in other table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QualityControlHeader:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "No_" as ControlID&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM QualityControlHeader; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LineOnTest,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TRUE or FALSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NumControl as ControlID;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM QualityControlLines;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a field in the table (which is not in the data source): if all the lines for a ControlID are TRUE for the LineOnTest field, a new field in the Header (HeaderOnTest) has to be TRUE. If not, the value for this field needs to be FALSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be carried out? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 08:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-value-in-header-depending-on-value-in-lines/m-p/306027#M710160</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2011-08-29T08:26:51Z</dc:date>
    </item>
  </channel>
</rss>

