<?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: Conditionally creating QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555452#M685410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Selvakumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this will store only records where month is january.&lt;/P&gt;&lt;P&gt;I think the goal is to stroe a whole qvd when the current month is january&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jan 2014 12:47:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-06T12:47:46Z</dc:date>
    <item>
      <title>Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555449#M685407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I create a QVD under certain conditions?&lt;/P&gt;&lt;P&gt;Like if I have table With months data and i want to create the QVD only when month value is JANUARY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555449#M685407</guid>
      <dc:creator>ankit777</dc:creator>
      <dc:date>2014-01-06T12:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555450#M685408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Ankit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can.&lt;/P&gt;&lt;P&gt;Just use WHERE&amp;nbsp; or IF ...THEN ...ELSE&amp;nbsp; condition &lt;/P&gt;&lt;P&gt;This just need to peek month to evaluate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555450#M685408</guid>
      <dc:creator />
      <dc:date>2014-01-06T12:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555451#M685409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can.. You can use where condition like SQL...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;Tablename.QVD (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Jan'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selvakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555451#M685409</guid>
      <dc:creator />
      <dc:date>2014-01-06T12:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555452#M685410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Selvakumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this will store only records where month is january.&lt;/P&gt;&lt;P&gt;I think the goal is to stroe a whole qvd when the current month is january&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555452#M685410</guid>
      <dc:creator />
      <dc:date>2014-01-06T12:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555453#M685411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable for Currentmonth and use if condition before load script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (vCurrentMonth=Yes) then Load * from table.. else Exit Script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to calculate the month you want in that variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555453#M685411</guid>
      <dc:creator />
      <dc:date>2014-01-06T12:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555454#M685412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi you can try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;orginaltable :&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;num(TxnDate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TestDate&lt;/P&gt;&lt;P&gt;from xxx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maxtable:&lt;/P&gt;&lt;P&gt;max(TestDate)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MaxDateNum&lt;/P&gt;&lt;P&gt;resident orginaltable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vMaxDate = peek('MaxDateNum',0,'maxtable');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table maxtable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vComment=if(Month(date($(vMaxDate)))='Jan' and Year(date($(vMaxDate)))=Year(date(today())) ,' ' ,'//');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vComment) store orginaltable into C:\path..;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table orginaltable ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else you can use if and else loop also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Premhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 13:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555454#M685412</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-01-06T13:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555455#M685413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;This is my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD PK_DMA_ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FK_HDZ_ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAINS_LENGTH_MT,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month as M&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;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create the QVD for the records of month January only. How should I use if else or where condition?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 04:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555455#M685413</guid>
      <dc:creator>ankit777</dc:creator>
      <dc:date>2014-01-07T04:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555456#M685414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can do it by using precedent load like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="pkwf6" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-style: inherit; font-family: inherit; text-decoration: underline; color: #0000ff;"&gt;Temp&lt;/SPAN&gt;:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;load * where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;numM&lt;/SPAN&gt; = 1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD PK_DMA_ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FK_HDZ_ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAINS_LENGTH_MT, &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month as M,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;num(Month) as numM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, &lt;SPAN class="pkwf6" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-style: inherit; font-family: inherit; text-decoration: underline; color: #0000ff;"&gt;embedded&lt;/SPAN&gt; labels, table is Sheet1$);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 04:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555456#M685414</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-01-07T04:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally creating QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555457#M685415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Ankit,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like this&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD PK_DMA_ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FK_HDZ_ID,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAINS_LENGTH_MT, &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month as M&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(biff, embedded labels, table is Sheet1$)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Where Month = 'January';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;** Replace January with your month name (Jan or 1 or January)&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 04:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditionally-creating-QVD/m-p/555457#M685415</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-01-07T04:55:40Z</dc:date>
    </item>
  </channel>
</rss>

