<?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: Excel to qvd in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826707#M291101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your responf.&lt;/P&gt;&lt;P&gt;I've created this script and it isn't working.&lt;/P&gt;&lt;P&gt;And as you can see there is an error in the script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="If_Store.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73496_If_Store.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2014 11:25:27 GMT</pubDate>
    <dc:creator>kris_vliegen</dc:creator>
    <dc:date>2014-12-15T11:25:27Z</dc:date>
    <item>
      <title>Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826705#M291099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a script that makes a Qvd out of an excel.&lt;/P&gt;&lt;P&gt;Sometimes the excel has no records. Now I would like to create the qvd only if there are records in the excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created the script to calculate the maximum rownumber.&lt;/P&gt;&lt;P&gt;Who can help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Kris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StocksrowTemp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; RowNo() as Row&lt;/P&gt;&lt;P&gt;resident Stocks;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Stocksrow:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; max(Row) as MaxRow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Resident StocksrowTemp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table StocksrowTemp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;directory ..\03_QVD ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ( MaxRow &amp;gt; 0,&lt;/P&gt;&lt;P&gt;store&lt;/P&gt;&lt;P&gt;&amp;nbsp; Stocks into Stocks.QVD);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826705#M291099</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2014-12-15T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826706#M291100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose your table is called My_Table&lt;/P&gt;&lt;P&gt;My_Table:&lt;/P&gt;&lt;P&gt;Load * &lt;/P&gt;&lt;P&gt;from path to excel file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can check the number of rows in this table:&lt;/P&gt;&lt;P&gt;if not isnull(NoOfRows('My_Table') and NoOfRows('My_Table') &amp;gt; 0 then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store My_Table into My_Table.qvd;&lt;/P&gt;&lt;P&gt;endif &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826706#M291100</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-12-15T11:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826707#M291101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your responf.&lt;/P&gt;&lt;P&gt;I've created this script and it isn't working.&lt;/P&gt;&lt;P&gt;And as you can see there is an error in the script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="If_Store.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73496_If_Store.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826707#M291101</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2014-12-15T11:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826708#M291102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are missing a closing bracket on the IsNull function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826708#M291102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-15T11:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826709#M291103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use not as part of the if statement. Also the isnull is missing a ) to close it out. &lt;/P&gt;&lt;P&gt;Try: &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if isnull(NoOfRows('My_Table')) = 0 and NoOfRows('My_Table') &amp;gt; 0 then&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; store My_Table into My_Table.qvd;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826709#M291103</guid>
      <dc:creator />
      <dc:date>2014-12-15T11:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826710#M291104</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;Try this way and load a if condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if NoOfRows('TabA') &amp;gt; 0 then&lt;/P&gt;&lt;P&gt;STORE&amp;nbsp; TabA into TabA.qvd;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if NoOfRows('Stocks') &amp;gt; 0 then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store My_Table into My_Table.qvd;&lt;/P&gt;&lt;P&gt;endif &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;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826710#M291104</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-15T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826711#M291105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought IsNull can be one of two value 0 or -1. Therefore maybe the '&amp;gt;' you use not correct either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826711#M291105</guid>
      <dc:creator />
      <dc:date>2014-12-15T11:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826712#M291106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you miss the ) for the isnull function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 13:05:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826712#M291106</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-12-15T13:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to qvd</title>
      <link>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826713#M291107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone. It is working fine now.&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;if NoOfRows('Stocks') &amp;gt; 0 then&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; store My_Table into My_Table.qvd;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 13:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excel-to-qvd/m-p/826713#M291107</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2014-12-15T13:07:09Z</dc:date>
    </item>
  </channel>
</rss>

