<?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: Field is empty when I do a group by on a .qvd in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587019#M4341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it's an issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 17:55:29 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2014-05-05T17:55:29Z</dc:date>
    <item>
      <title>Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587015#M4337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Just send the following case to QT-Support. I wasn't aware that a group by on a .qvd can be that dangerous. Hopefully they at least update the documentation on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following simple script returns an empty field "Key" when I do a group by on a .qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- I'm aware of the knowledgebase article &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://eu1.salesforce.com/articles/Basic/Transform-durring-QVD-load?popup=true" target="_blank"&gt;https://eu1.salesforce.com/articles/Basic/Transform-durring-QVD-load?popup=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- I'm aware of the workaround going through a resident load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOWEVER: nowhere in the documentation is written that transformations on .qvds are not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "qvd Files" entry in the help only states "QVD files can be read in two modes: standard (fast) and optimized (faster). The selected mode is determined automatically by the QlikView script engine. Optimized mode can be utilized only when all loaded fields are read without any transformations (formulas acting upon the fields), though the renaming of fields is allowed. A WHERE clause causing QlikView to unpack the records will also disable the optimized load."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; please fix this erroneous behavior for "standard mode .qvd load", or at least add a documentation which statements are allowed to read .qvds correctly in "standard mode".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tst:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;floor(rowno()/2) as key1,&lt;/P&gt;&lt;P&gt;rowno()*2 as key2,&lt;/P&gt;&lt;P&gt;rand() as value&lt;/P&gt;&lt;P&gt;AutoGenerate(100000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store tst into tst.qvd;&lt;/P&gt;&lt;P&gt;drop table tst;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;key1&amp;amp;'|'&amp;amp;key2 as Key,&lt;/P&gt;&lt;P&gt;sum(value)&lt;/P&gt;&lt;P&gt;from tst.qvd(qvd)&lt;/P&gt;&lt;P&gt;where key1 &amp;gt; 5000&lt;/P&gt;&lt;P&gt;group by key1,key2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikView x64 - [CUsersrvaDesktopqvdGroupByBug.qvw]_2014-05-02_10-00-45.png" class="jive-image" src="/legacyfs/online/58276_QlikView x64 - [CUsersrvaDesktopqvdGroupByBug.qvw]_2014-05-02_10-00-45.png" style="width: 620px; height: 337px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587015#M4337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-23T14:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587016#M4338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;key1&amp;amp;'|'&amp;amp;key2 as Key,&lt;/P&gt;&lt;P&gt;sum(value)&lt;/P&gt;&lt;P&gt;from tst.qvd(qvd)&lt;/P&gt;&lt;P&gt;where key1 &amp;gt; 5000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;group by key1&amp;amp;'|'&amp;amp;key2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;usually group by is with all non aggregate fields; it seems that &lt;/P&gt;&lt;P&gt;grouping by key1, key2 &lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;grouping by key1&amp;amp;'|'&amp;amp;key2&lt;/P&gt;&lt;P&gt;gives different result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 06:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587016#M4338</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-03T06:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587017#M4339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reason is that the group by is made on the fields of the resulting table, not the source table. So, it's different than in SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2014 08:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587017#M4339</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-05-03T08:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587018#M4340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;havent heard back yet from QTSupport, hope they add this to the documentation!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@massimo: nice workaround; could be faster than doing the groupby on a resident-load, but imho&amp;nbsp; those are all just workarounds on this issue..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 17:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587018#M4340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-05T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587019#M4341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it's an issue...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 17:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587019#M4341</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-05-05T17:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587020#M4342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I also don't think this is an issue, besides what Massimo proposes is not really a workaround, but the correct way to do this group by. This is similar to reuse a formula in script for a new field, when you don't want to use preceding load for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Field2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1 &amp;amp; '|' &amp;amp; Field2 as Field3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1 &amp;amp; '|' &amp;amp; Field2 &amp;amp; '|' &amp;amp; Field3 as Field4 //Here you can't call/reuse "Field3" for Field4 calculation, because you're at the same level. if you want to use "Field3" in other fields calculations you may use preceding load. It happens the same with your group by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 18:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587020#M4342</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-05-05T18:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587021#M4343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't aggree - I think it's definitely a specific issue with .qvd files; &lt;/P&gt;&lt;P&gt;from a SQL-perspective my original statement is valid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also QlikView calculated correctly when I go through a resident Load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;from tst.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;key1&amp;amp;'|'&amp;amp;key2 as Key,&lt;/P&gt;&lt;P&gt;sum(value)&lt;/P&gt;&lt;P&gt;resident Tmp&lt;/P&gt;&lt;P&gt;where&amp;nbsp; key1 &amp;gt; 5000&lt;/P&gt;&lt;P&gt;group by key1,key2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also got feedback from &lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;QT Support providing me the ID 68229 for a documentation bug. So looking forward to the next SRs how his gonna end up in the documentation!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587021#M4343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-07T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587022#M4344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..but it isn't a SQL query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 11:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587022#M4344</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-05-07T11:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587023#M4345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know; but Ralf why do you take Qlik under your wings? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A QV-LOAD statement looks like an SQL statement, typically it behaves like a SQL statement and nowhere in the documentation it's written that my group-by statement on a .qvd is not valid. Any QlikView novice would wonder about this behavior. We might know that .qvd is kind of special, but without this knowledge it's a flaw:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script execution puts no error, no warning (because they don't exist) and simply returns a unforseeable result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; to me this is a (documentation) bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 13:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587023#M4345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-07T13:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field is empty when I do a group by on a .qvd</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587024#M4346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which wings? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think we have to learn and understand how QlikView is working. And some processings are different than SQL because it's procesed on the target, not source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I do agree, it's a documentation issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2014 13:48:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Field-is-empty-when-I-do-a-group-by-on-a-qvd/m-p/587024#M4346</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-05-07T13:48:41Z</dc:date>
    </item>
  </channel>
</rss>

