<?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 Data reduction does not work, please advice in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-reduction-does-not-work-please-advice/m-p/394955#M696660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problems when reducing data. It works for 2 fields except for the last one that I added. &lt;/P&gt;&lt;P&gt;That field determines the document currency that corresponds with a user that is logged in. &lt;/P&gt;&lt;P&gt;This field, DOCCURR, is loosely coupled in the datamodel and when a look at the values loaded (by looking at a LB of that field f.e. or when looking at the preview in table view) I can see that the correct value is loaded.&lt;/P&gt;&lt;P&gt;My goal is then to capture the value of that field (with peek and select the first record in the table) and put it in a variable. This variable is then used as a selectionparameter for another field (using an action 'select in field' when opening a sheet). This all seems to work correctly... BUT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It goes wrong when using the peek function. The table DocumentCurrency (which is loaded in section application) does not reduce the data correctly. As mentioned above, when looking at a LB, it seems that I have only 1 record in the table. &lt;/P&gt;&lt;P&gt;When using peek() for the first record, the first record of the source table of DocumentCurrency is taken (only 3 records in the source) and this is of course not always the correct value. &lt;/P&gt;&lt;P&gt;A check on this is, is using the NoOfRows() function on the field DOCCURR of table DocumentCurrency: the returned value is 3 and not 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I test with another reduced data field, I can see that for this other field, only 1 record is returned after section application. I am expecting this behaviour for field DOCCURR as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dominique. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 18:17:48 GMT</pubDate>
    <dc:creator>domiho123</dc:creator>
    <dc:date>2013-02-28T18:17:48Z</dc:date>
    <item>
      <title>Data reduction does not work, please advice</title>
      <link>https://community.qlik.com/t5/QlikView/Data-reduction-does-not-work-please-advice/m-p/394955#M696660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problems when reducing data. It works for 2 fields except for the last one that I added. &lt;/P&gt;&lt;P&gt;That field determines the document currency that corresponds with a user that is logged in. &lt;/P&gt;&lt;P&gt;This field, DOCCURR, is loosely coupled in the datamodel and when a look at the values loaded (by looking at a LB of that field f.e. or when looking at the preview in table view) I can see that the correct value is loaded.&lt;/P&gt;&lt;P&gt;My goal is then to capture the value of that field (with peek and select the first record in the table) and put it in a variable. This variable is then used as a selectionparameter for another field (using an action 'select in field' when opening a sheet). This all seems to work correctly... BUT...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It goes wrong when using the peek function. The table DocumentCurrency (which is loaded in section application) does not reduce the data correctly. As mentioned above, when looking at a LB, it seems that I have only 1 record in the table. &lt;/P&gt;&lt;P&gt;When using peek() for the first record, the first record of the source table of DocumentCurrency is taken (only 3 records in the source) and this is of course not always the correct value. &lt;/P&gt;&lt;P&gt;A check on this is, is using the NoOfRows() function on the field DOCCURR of table DocumentCurrency: the returned value is 3 and not 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I test with another reduced data field, I can see that for this other field, only 1 record is returned after section application. I am expecting this behaviour for field DOCCURR as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dominique. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 18:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-reduction-does-not-work-please-advice/m-p/394955#M696660</guid>
      <dc:creator>domiho123</dc:creator>
      <dc:date>2013-02-28T18:17:48Z</dc:date>
    </item>
  </channel>
</rss>

