<?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: question about QVDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712544#M256555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to understand what you are trying to achieve before I give my opinion. &lt;/P&gt;&lt;P&gt;To answer your question, yes. It's possible. But why would you do this? Each Monday your Planned Weekly field will be updated for the WHOLE qvd file unless you have something in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please describe your architecture?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2014 14:48:21 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2014-09-04T14:48:21Z</dc:date>
    <item>
      <title>question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712541#M256552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a QVD that is refreshed daily. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Example: I have a table with the following fields in a QVD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Week, Product, Plant, Planned Production Weekly, Planned Production Daily&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want it to change 'Planned Production Weekly' field&amp;nbsp; if it is a Monday.... &lt;STRONG&gt;Is it possible for &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;ONE&lt;/EM&gt;&lt;/SPAN&gt; field in a QVD to be updated &lt;EM style="text-decoration: underline;"&gt;ONLY&lt;/EM&gt; if it is a certain day of the week?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712541#M256552</guid>
      <dc:creator />
      <dc:date>2014-09-04T14:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712542#M256553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you want to do? Not clear from your question itself...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712542#M256553</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-04T14:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712543#M256554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Load the QVD&lt;/P&gt;&lt;P&gt;2. Drop the field Planned Production Weekly&lt;/P&gt;&lt;P&gt;3. Do a left join with the new 'Planned Production Weekly' values.&lt;/P&gt;&lt;P&gt;4. Store QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your requirements you might need to alter step 2. and 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712543#M256554</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-09-04T14:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712544#M256555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to understand what you are trying to achieve before I give my opinion. &lt;/P&gt;&lt;P&gt;To answer your question, yes. It's possible. But why would you do this? Each Monday your Planned Weekly field will be updated for the WHOLE qvd file unless you have something in place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please describe your architecture?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712544#M256555</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-09-04T14:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712545#M256556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that .&amp;nbsp; You would join the new data from the source to your old QVD on week, product, and plant. Then overwrite the existing QVD with the joined data.&amp;nbsp; IT all starts with an IF to check todays weekday:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vTodaysWeekDay =&amp;nbsp; WeekDay(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if vTodaysWeekDay = 'Mon' then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; Week, Product, Plant, Planned Production Weekly&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExistingData:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; Week, Product, Plant,&amp;nbsp; Planned Production Daily&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; &amp;lt;YourQVD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (ExistingData)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;resident NewData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table NewData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store ExistingData&amp;nbsp;&amp;nbsp; as&amp;nbsp; &amp;lt;QVD&amp;gt;&amp;nbsp; (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 14:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712545#M256556</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-04T14:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712546#M256557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My reason for doing this is that right now, I do not have a 'Planned Production Weekly' field in my QVD, only 'Planned Production Daily'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My file gets overwritten everyday...so I lose my original Monday value. I want to show my Monday value in a chart so that on Friday, I can see how much it has changed from Monday...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 15:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712546#M256557</guid>
      <dc:creator />
      <dc:date>2014-09-04T15:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712547#M256558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't easier to aggregate your values by week?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your chart, you add Plant and Product as Dimension, and as expression you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14098483429963752" jivemacro_uid="_14098483429963752" modifiedtitle="true"&gt;
&lt;P&gt;sum({&amp;lt; Date = {$(=weekstart(Date)+5)}&amp;gt;} Planned)&amp;nbsp; - sum(&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;{&amp;lt; Date = {$(=weekstart(Date)&lt;/SPAN&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;)}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt; Planned)&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 16:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712547#M256558</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-09-04T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: question about QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712548#M256559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So to do the regular load on other days just add an 'elsef' clause right above the 'end if'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Regular load statement&amp;gt; ;&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 16:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/question-about-QVDs/m-p/712548#M256559</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-04T16:42:30Z</dc:date>
    </item>
  </channel>
</rss>

