<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How To Read Meta Data From A QlikView QVD	</title>
	<atom:link href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/</link>
	<description></description>
	<lastBuildDate>Wed, 05 Apr 2023 16:15:26 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: Steve Dark		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3109534</link>

		<dc:creator><![CDATA[Steve Dark]]></dc:creator>
		<pubDate>Mon, 14 Feb 2022 20:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-3109534</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3109526&quot;&gt;Love Stromberg&lt;/a&gt;.

Hi, You will notice that this post was written eight years ago, and in the screen grab there is a lineage XML feed in the QVD. Looking at a number of QVDs now I can&#039;t find a file with this information in, even when looking at QVDs from around that time. There was an option in QlikView to turn the storing of lineage data on or off, and switching it off for some QVDs was a good idea as it could cause a lot of bloat (particularly if you had loops in your generator script). If the information is there (and you can check this in a text editor) it should be easy to get it out, but what you need to be looking at is how to get it stored there - rather than how to get it out. Hope that helps!
Steve]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3109526">Love Stromberg</a>.</p>
<p>Hi, You will notice that this post was written eight years ago, and in the screen grab there is a lineage XML feed in the QVD. Looking at a number of QVDs now I can&#8217;t find a file with this information in, even when looking at QVDs from around that time. There was an option in QlikView to turn the storing of lineage data on or off, and switching it off for some QVDs was a good idea as it could cause a lot of bloat (particularly if you had loops in your generator script). If the information is there (and you can check this in a text editor) it should be easy to get it out, but what you need to be looking at is how to get it stored there &#8211; rather than how to get it out. Hope that helps!<br />
Steve</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Love Stromberg		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3109526</link>

		<dc:creator><![CDATA[Love Stromberg]]></dc:creator>
		<pubDate>Mon, 14 Feb 2022 08:12:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-3109526</guid>

					<description><![CDATA[Hi, great stuff :-) 

But please could you also show the script for pulling the lineage data?
I don´t see that option when I select XML, and I would really like to see the script generated.
Been googling a lot but can´t find any example script, just links to companies wanting to sell their lineage software...

thanks!]]></description>
			<content:encoded><![CDATA[<p>Hi, great stuff :-) </p>
<p>But please could you also show the script for pulling the lineage data?<br />
I don´t see that option when I select XML, and I would really like to see the script generated.<br />
Been googling a lot but can´t find any example script, just links to companies wanting to sell their lineage software&#8230;</p>
<p>thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve Dark		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3082865</link>

		<dc:creator><![CDATA[Steve Dark]]></dc:creator>
		<pubDate>Wed, 06 Nov 2019 15:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-3082865</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3082831&quot;&gt;Ed&lt;/a&gt;.

Hi Ed,

The loading of meta data only works for QVD files, you will not be able to do it for other file types. The approach you have for file size and update time looks fine for that though.

If you only look at .qvd files (i.e. remove the extension loop) and use the code in the blog post above you should be able to load the meta data.

Good luck!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3082831">Ed</a>.</p>
<p>Hi Ed,</p>
<p>The loading of meta data only works for QVD files, you will not be able to do it for other file types. The approach you have for file size and update time looks fine for that though.</p>
<p>If you only look at .qvd files (i.e. remove the extension loop) and use the code in the blog post above you should be able to load the meta data.</p>
<p>Good luck!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ed		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-3082831</link>

		<dc:creator><![CDATA[Ed]]></dc:creator>
		<pubDate>Wed, 06 Nov 2019 10:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-3082831</guid>

					<description><![CDATA[Hi Steve,
This code is very useful, however it did not work when trying to calculate the number of rows.
I am using the following approach:

sub DoDir (Root)
   For Each Ext in &#039;qvw&#039;, &#039;qvo&#039;, &#039;qvs&#039;, &#039;qvt&#039;, &#039;qvd&#039;, &#039;qvc&#039;, &#039;qvf&#039;
      For Each File in filelist (Root&#038;&#039;\*.&#039; &#038;Ext)
          LOAD
             &#039;$(File)&#039; as Name, 
             FileSize( &#039;$(File)&#039; ) as Size, 
             FileTime( &#039;$(File)&#039; ) as FileTime
          autogenerate 1;
      Next File
   Next Ext   
   For Each Dir in dirlist (Root&#038;&#039;\*&#039; )
      Call DoDir (Dir)
   Next Dir
End Sub

Call DoDir (&#039;lib://Apps&#039;)

Any idea?

Thanks]]></description>
			<content:encoded><![CDATA[<p>Hi Steve,<br />
This code is very useful, however it did not work when trying to calculate the number of rows.<br />
I am using the following approach:</p>
<p>sub DoDir (Root)<br />
   For Each Ext in &#8216;qvw&#8217;, &#8216;qvo&#8217;, &#8216;qvs&#8217;, &#8216;qvt&#8217;, &#8216;qvd&#8217;, &#8216;qvc&#8217;, &#8216;qvf&#8217;<br />
      For Each File in filelist (Root&amp;&#8217;\*.&#8217; &amp;Ext)<br />
          LOAD<br />
             &#8216;$(File)&#8217; as Name,<br />
             FileSize( &#8216;$(File)&#8217; ) as Size,<br />
             FileTime( &#8216;$(File)&#8217; ) as FileTime<br />
          autogenerate 1;<br />
      Next File<br />
   Next Ext<br />
   For Each Dir in dirlist (Root&amp;&#8217;\*&#8217; )<br />
      Call DoDir (Dir)<br />
   Next Dir<br />
End Sub</p>
<p>Call DoDir (&#8216;lib://Apps&#8217;)</p>
<p>Any idea?</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Guruprem Saginadham		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-53455</link>

		<dc:creator><![CDATA[Guruprem Saginadham]]></dc:creator>
		<pubDate>Wed, 07 Feb 2018 08:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-53455</guid>

					<description><![CDATA[Super useful Technique.]]></description>
			<content:encoded><![CDATA[<p>Super useful Technique.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve Dark		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-44866</link>

		<dc:creator><![CDATA[Steve Dark]]></dc:creator>
		<pubDate>Mon, 10 Apr 2017 07:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-44866</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-44864&quot;&gt;Reddi Kishor&lt;/a&gt;.

Hi Reddi,

It would appear that this field has changed in usage over time, looking at a few QVDs now I can see that some have text in here and others numbers.  You just need to process that field in the load script, perhaps use an ApplyMap to deal with numbers, a capitalize to tidy it a bit, and an IF statement to fix the UNKNOWN.  Perhaps something like:

Capitalize(ApplyMap(&#039;Map_Type&#039;, [NumberFormat/Type])) as Type,

Map_Type can be an inline load, including UNKNOWN,Varchar.

Hope that helps.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-44864">Reddi Kishor</a>.</p>
<p>Hi Reddi,</p>
<p>It would appear that this field has changed in usage over time, looking at a few QVDs now I can see that some have text in here and others numbers.  You just need to process that field in the load script, perhaps use an ApplyMap to deal with numbers, a capitalize to tidy it a bit, and an IF statement to fix the UNKNOWN.  Perhaps something like:</p>
<p>Capitalize(ApplyMap(&#8216;Map_Type&#8217;, [NumberFormat/Type])) as Type,</p>
<p>Map_Type can be an inline load, including UNKNOWN,Varchar.</p>
<p>Hope that helps.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Reddi Kishor		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-44864</link>

		<dc:creator><![CDATA[Reddi Kishor]]></dc:creator>
		<pubDate>Mon, 10 Apr 2017 06:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-44864</guid>

					<description><![CDATA[Hi Steve,
Really useful post, but i have one question here you mentioned in above script under &quot;QVD Fields&quot; there is a line i.e [NumberFormat/Type]    as Type . I know that Type here will show the data type in our application but i am getting data type as Unknow those fields having Varchar as a data type.

Kindly help me regarding this, how to get Varchar as data type(now it is showing as Unknown) in qlikview application
Thanks &#038; Regards,
Reddi Kishor]]></description>
			<content:encoded><![CDATA[<p>Hi Steve,<br />
Really useful post, but i have one question here you mentioned in above script under &#8220;QVD Fields&#8221; there is a line i.e [NumberFormat/Type]    as Type . I know that Type here will show the data type in our application but i am getting data type as Unknow those fields having Varchar as a data type.</p>
<p>Kindly help me regarding this, how to get Varchar as data type(now it is showing as Unknown) in qlikview application<br />
Thanks &amp; Regards,<br />
Reddi Kishor</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve Dark		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-33279</link>

		<dc:creator><![CDATA[Steve Dark]]></dc:creator>
		<pubDate>Fri, 14 Aug 2015 08:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-33279</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-33261&quot;&gt;Ralph&lt;/a&gt;.

Hi Ralph. I have created an app that persists this information to QVD each day, with a date stamp so daily changed can be spotted. You could do the same against database metadata, without having to first create a QVD. Simply create an ODBC connection and use the SysTables and SysColumns load statements. Hope that points you in the right direction for what you need to create.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-33261">Ralph</a>.</p>
<p>Hi Ralph. I have created an app that persists this information to QVD each day, with a date stamp so daily changed can be spotted. You could do the same against database metadata, without having to first create a QVD. Simply create an ODBC connection and use the SysTables and SysColumns load statements. Hope that points you in the right direction for what you need to create.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ralph		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-33261</link>

		<dc:creator><![CDATA[Ralph]]></dc:creator>
		<pubDate>Thu, 13 Aug 2015 11:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-33261</guid>

					<description><![CDATA[Sorry for bumping an old topic but have you ever used this metadata to compare against database table information such as number of rows and fields? A project I am working on has a database that is still in development (wonderful for QlikView development!) so I want to track any new fields that are added. Likewise to ensure data quality in terms of any incremental loads that may be in place. As you mentioned above it is a useful piece of automated documentation.]]></description>
			<content:encoded><![CDATA[<p>Sorry for bumping an old topic but have you ever used this metadata to compare against database table information such as number of rows and fields? A project I am working on has a database that is still in development (wonderful for QlikView development!) so I want to track any new fields that are added. Likewise to ensure data quality in terms of any incremental loads that may be in place. As you mentioned above it is a useful piece of automated documentation.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Steve Dark		</title>
		<link>https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-22796</link>

		<dc:creator><![CDATA[Steve Dark]]></dc:creator>
		<pubDate>Fri, 19 Dec 2014 13:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.quickintelligence.co.uk/?p=1931#comment-22796</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-22789&quot;&gt;JC&lt;/a&gt;.

Generally data types don&#039;t matter too much, as QlikView flexes to deal with whatever it is given.

You could do checks using functions like KeepChar, PurgeChar, Num# or a trick I sometimes uses is multiplying values by 1.

So things like this in your load script can flag different types of data:

if(Alt(FieldName * 1, 0) &lt;&gt; 0, 1, 0) as IsANumber,
if(len(FieldName) &lt;&gt; purgechar(FieldName, &#039;0123456789&#039;), 1, 0) as ContainsNumbers,
if(IsNull(Num(FieldName)), 1, 0) as NotANumber,

Some of the functions available, such as Num# you need to test carefully to ensure they always do what you expect - as some results can be counterintuitive.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/#comment-22789">JC</a>.</p>
<p>Generally data types don&#8217;t matter too much, as QlikView flexes to deal with whatever it is given.</p>
<p>You could do checks using functions like KeepChar, PurgeChar, Num# or a trick I sometimes uses is multiplying values by 1.</p>
<p>So things like this in your load script can flag different types of data:</p>
<p>if(Alt(FieldName * 1, 0) <> 0, 1, 0) as IsANumber,<br />
if(len(FieldName) <> purgechar(FieldName, &#8216;0123456789&#8217;), 1, 0) as ContainsNumbers,<br />
if(IsNull(Num(FieldName)), 1, 0) as NotANumber,</p>
<p>Some of the functions available, such as Num# you need to test carefully to ensure they always do what you expect &#8211; as some results can be counterintuitive.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.quickintelligence.co.uk @ 2026-06-23 06:38:44 by W3 Total Cache
-->