<?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: Creating new fields on existing QVD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770051#M59571</link>
    <description>&lt;P&gt;When you use Aggregate function you have to declare the group by for all non aggregate fields. Perhaps you can try this way&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;"Day",&lt;BR /&gt;"Location",&lt;BR /&gt;DOH,&lt;BR /&gt;"Ending Inventory",&lt;BR /&gt;ID,&lt;BR /&gt;"In Transit",&lt;BR /&gt;"Lost Sales",&lt;BR /&gt;"On Order",&lt;BR /&gt;"Product Desc",&lt;BR /&gt;Receipts,&lt;BR /&gt;Sales&lt;/P&gt;&lt;P&gt;FROM [lib://QVD Storage (ngavin)/INVHIST.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Left Join (Table)&lt;/P&gt;&lt;P&gt;Load Max(Day) as MaxDat Resident Table;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2020 18:19:02 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2020-12-22T18:19:02Z</dc:date>
    <item>
      <title>Creating new fields on existing QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770050#M59570</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I currently have a QVD file with the following script:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;"Day",&lt;BR /&gt;"Location",&lt;BR /&gt;DOH,&lt;BR /&gt;"Ending Inventory",&lt;BR /&gt;ID,&lt;BR /&gt;"In Transit",&lt;BR /&gt;"Lost Sales",&lt;BR /&gt;"On Order",&lt;BR /&gt;"Product Desc",&lt;BR /&gt;Receipts,&lt;BR /&gt;Sales&lt;/P&gt;&lt;P&gt;FROM [lib://QVD Storage (ngavin)/INVHIST.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;After initially loading this script into the app, I have been able to create this new field and subsequently load it as well:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Location" &amp;amp; "Product Desc" as LocationProdKey&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently trying to add another field, but am running into an error titled 'Invalid Expression'&lt;/P&gt;&lt;P&gt;The new field I'm trying to add is :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Max("Day") as "MaxDay"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a reason I am not able to add this 'MaxDay' field the same way I did the 'LocationProdKey'?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Nolan&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770050#M59570</guid>
      <dc:creator>Nolan</dc:creator>
      <dc:date>2024-11-16T00:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new fields on existing QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770051#M59571</link>
      <description>&lt;P&gt;When you use Aggregate function you have to declare the group by for all non aggregate fields. Perhaps you can try this way&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;"Day",&lt;BR /&gt;"Location",&lt;BR /&gt;DOH,&lt;BR /&gt;"Ending Inventory",&lt;BR /&gt;ID,&lt;BR /&gt;"In Transit",&lt;BR /&gt;"Lost Sales",&lt;BR /&gt;"On Order",&lt;BR /&gt;"Product Desc",&lt;BR /&gt;Receipts,&lt;BR /&gt;Sales&lt;/P&gt;&lt;P&gt;FROM [lib://QVD Storage (ngavin)/INVHIST.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Left Join (Table)&lt;/P&gt;&lt;P&gt;Load Max(Day) as MaxDat Resident Table;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770051#M59571</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2020-12-22T18:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new fields on existing QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770054#M59572</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 18:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-new-fields-on-existing-QVD/m-p/1770054#M59572</guid>
      <dc:creator>Nolan</dc:creator>
      <dc:date>2020-12-22T18:36:06Z</dc:date>
    </item>
  </channel>
</rss>

