<?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 Using max function deliver null values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-max-function-deliver-null-values/m-p/1803805#M1211929</link>
    <description>&lt;P&gt;Greeting community!&lt;/P&gt;&lt;P&gt;I use the min() function and it delivers me NULLS instead of numeric values. I do not have a clue, why this behavior.&lt;/P&gt;&lt;P&gt;Here are the details:&lt;/P&gt;&lt;P&gt;I want to read the followinf qvd file called&lt;STRONG&gt; HRP1001FZ2.qvd&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Hier is a sample of its content:&lt;/P&gt;&lt;P&gt;%key2;PERNR;PROZT;%key&lt;BR /&gt;00000188-0;00000188;0;00000008&lt;BR /&gt;00032020-100;00032020;100;30008268&lt;BR /&gt;00032032-100;00032032;100;30007087&lt;BR /&gt;00032044-100;00032044;100;30001537&lt;BR /&gt;00032056-100;00032056;100;30001808&lt;BR /&gt;00032068-100;00032068;100;30002200&lt;BR /&gt;00032111-100;00032111;100;30004052&lt;BR /&gt;00032123-100;00032123;100;30006532&lt;BR /&gt;00032159-100;00032159;100;30002201&lt;/P&gt;&lt;P&gt;10001348-50;10001348;50;30001626&lt;BR /&gt;10001348-50;10001348;50;30001623&lt;/P&gt;&lt;P&gt;00339660-50;00339660;50;30003234&lt;BR /&gt;00339660-50;00339660;50;30001770&lt;/P&gt;&lt;P&gt;10000998-100;10000998;100;30005927&lt;BR /&gt;10000998-100;10000998;100;30005929&lt;/P&gt;&lt;P&gt;In this file, I have some double records having the same PERNR. I want to use the min() function over the last field %key, and I get as results NULLs in this field.&lt;/P&gt;&lt;P&gt;Here the code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;HRP1001FZ3:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PERNR,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;min(%key)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM [..\DATA_20\HRP1001FZ2.qvd] (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Group by PERNR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Store [HRP1001FZ3] into [..\DATA_20\HRP1001FZ3.qvd](qvd);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Drop Table [HRP1001FZ3];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I do not understand why I get NULLs in the last column, see next screenshot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="draghici1109_0-1619697847353.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53960iB3B12062EB0D7021/image-size/medium?v=v2&amp;amp;px=400" role="button" title="draghici1109_0-1619697847353.png" alt="draghici1109_0-1619697847353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone has an idea what goes wrong?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Alexandru&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.: I used also max(num(%key)) but got the same results...&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 12:22:40 GMT</pubDate>
    <dc:creator>draghici1109</dc:creator>
    <dc:date>2021-04-29T12:22:40Z</dc:date>
    <item>
      <title>Using max function deliver null values</title>
      <link>https://community.qlik.com/t5/QlikView/Using-max-function-deliver-null-values/m-p/1803805#M1211929</link>
      <description>&lt;P&gt;Greeting community!&lt;/P&gt;&lt;P&gt;I use the min() function and it delivers me NULLS instead of numeric values. I do not have a clue, why this behavior.&lt;/P&gt;&lt;P&gt;Here are the details:&lt;/P&gt;&lt;P&gt;I want to read the followinf qvd file called&lt;STRONG&gt; HRP1001FZ2.qvd&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Hier is a sample of its content:&lt;/P&gt;&lt;P&gt;%key2;PERNR;PROZT;%key&lt;BR /&gt;00000188-0;00000188;0;00000008&lt;BR /&gt;00032020-100;00032020;100;30008268&lt;BR /&gt;00032032-100;00032032;100;30007087&lt;BR /&gt;00032044-100;00032044;100;30001537&lt;BR /&gt;00032056-100;00032056;100;30001808&lt;BR /&gt;00032068-100;00032068;100;30002200&lt;BR /&gt;00032111-100;00032111;100;30004052&lt;BR /&gt;00032123-100;00032123;100;30006532&lt;BR /&gt;00032159-100;00032159;100;30002201&lt;/P&gt;&lt;P&gt;10001348-50;10001348;50;30001626&lt;BR /&gt;10001348-50;10001348;50;30001623&lt;/P&gt;&lt;P&gt;00339660-50;00339660;50;30003234&lt;BR /&gt;00339660-50;00339660;50;30001770&lt;/P&gt;&lt;P&gt;10000998-100;10000998;100;30005927&lt;BR /&gt;10000998-100;10000998;100;30005929&lt;/P&gt;&lt;P&gt;In this file, I have some double records having the same PERNR. I want to use the min() function over the last field %key, and I get as results NULLs in this field.&lt;/P&gt;&lt;P&gt;Here the code:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;HRP1001FZ3:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PERNR,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;min(%key)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM [..\DATA_20\HRP1001FZ2.qvd] (qvd)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Group by PERNR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Store [HRP1001FZ3] into [..\DATA_20\HRP1001FZ3.qvd](qvd);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Drop Table [HRP1001FZ3];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I do not understand why I get NULLs in the last column, see next screenshot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="draghici1109_0-1619697847353.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53960iB3B12062EB0D7021/image-size/medium?v=v2&amp;amp;px=400" role="button" title="draghici1109_0-1619697847353.png" alt="draghici1109_0-1619697847353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone has an idea what goes wrong?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Alexandru&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.: I used also max(num(%key)) but got the same results...&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-max-function-deliver-null-values/m-p/1803805#M1211929</guid>
      <dc:creator>draghici1109</dc:creator>
      <dc:date>2021-04-29T12:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using max function deliver null values</title>
      <link>https://community.qlik.com/t5/QlikView/Using-max-function-deliver-null-values/m-p/1803812#M1211930</link>
      <description>&lt;P&gt;found myself the solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using min(num#(%key)) solved the problem!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 12:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-max-function-deliver-null-values/m-p/1803812#M1211930</guid>
      <dc:creator>draghici1109</dc:creator>
      <dc:date>2021-04-29T12:28:45Z</dc:date>
    </item>
  </channel>
</rss>

