<?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: Metadata Management in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316870#M116912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-weight: normal; font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #343333; background-color: #f6f3f3;"&gt;How To Read Meta Data From A QlikView QVD&lt;/H1&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;QVD files are the backbone of any well designed QlikView application.&amp;nbsp; You store your data in there and read it out again – simple.&amp;nbsp; But, did you know that the QVD header holds some useful meta-data?&amp;nbsp; Did you know that could be loaded into QlikView for analysis?&amp;nbsp; No?&amp;nbsp; Well, read on.&lt;/P&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;QVD Files Are XML Files&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;If you have ever been inquisitive enough to open a QVD file in a text editor you will have seen that the file starts with a chunk of XML. If you haven’t done this previously, why not do it now? As you look through the headers you will see some basic information, such as the time the QVD was created. Further on in the header is the number of rows in the file. You may well be aware that these values can be referred to using a number of functions, for example:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;QvdNoOfRecords('c:\QlikView\Data\MyQVD.qvd'); QvdNoOfFields('c:\QlikView\Data\MyQVD.qvd'); &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Also in the header of the file you will find information on the field structure of the QVD and the lineage of the QVD (the initial SELECT or LOAD statements that went to build the QVD. All in all very interesting to look at in a text editor, but there are no functions to retrieve these things.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Beyond this, the QVD turns into binary for the storing of the data itself.&lt;/P&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;Retrieving The XML From A QVD&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;You may be aware that you can load data from an XML file into QlikView. So, it stands to follow that you can load the XML from your QVD into a table. And indeed you can.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;When you click the &lt;STRONG&gt;Table Files&lt;/STRONG&gt; button in QlikView and select a QVD, QlikView automatically changes to load the QVD data and shows you the content:&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;&lt;IMG alt="QVD File Type Selected" class="wp-image-1932 aligncenter jive-image size-full" height="272" src="https://www.quickintelligence.co.uk/wp-content/uploads/2014/08/FileTypeSelected.jpg" style="border-style: none; margin-left: auto; margin-right: auto;" width="287" /&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Just underneath the QVD radio button is a selection for XML. When you click this a different view of the QVD is shown:&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;&lt;IMG alt="QlikView QVD XML Tables" class="wp-image-1933 aligncenter jive-image size-full" height="352" src="https://www.quickintelligence.co.uk/wp-content/uploads/2014/08/XMLTables.jpg" style="border-style: none; margin-left: auto; margin-right: auto;" width="627" /&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;You will see that there are tables you can select for header information, field information and lineage. Field information for a QVD is shown above, you can click on the other tables to see the content of these.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Clicking &lt;STRONG&gt;Finish&lt;/STRONG&gt; will insert the code to load from the XML headers into your load script. The script for the field information looks like this:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;QvdFields: LOAD FieldName, BitOffset, BitWidth, Bias, NoOfSymbols, [NumberFormat/Type] as Type, [NumberFormat/nDec] as nDec, [NumberFormat/UseThou] as UseThou FROM [.\Data\MyQVD.qvd] (XmlSimple, Table is [QvdTableHeader/Fields/QvdFieldHeader]); &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;When you Save and Reload you then have a table showing all the fields in your QVD.&lt;/P&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;Loading From Multiple Files&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;This gives us a simple way of getting some QVD information into a QlikView document. But what if we want to view information for a whole folder full of QVDs? Well, we can simply enumerate around them, in a similar fashion as we did with CSV’s in the post How To Convert Drop Folder Files to QVD. Enumerating is done with a &lt;STRONG&gt;for&lt;/STRONG&gt; / &lt;STRONG&gt;next&lt;/STRONG&gt; loop on a &lt;STRONG&gt;FileList&lt;/STRONG&gt;statement. For each file, we want to grab the name and add it as a field. The code (after a bit of additional tidying) then looks like this:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;for each vFile in FileList('.\Data\*.qvd') let vFileName = mid(vFile, index(vFile, '\', -1) + 1, 99);&amp;nbsp; QvdFields: LOAD 1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as FieldCount, '$(vFileName)'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [File Name], FieldName&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 [Field Name], BitOffset&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 [Bit Offset], BitWidth&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 [Bit Width], Bias&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Bias], NoOfSymbols&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [No Of Symbols], [NumberFormat/Type]&amp;nbsp;&amp;nbsp;&amp;nbsp; as Type, [NumberFormat/nDec]&amp;nbsp;&amp;nbsp;&amp;nbsp; as Dec, [NumberFormat/UseThou] as UseThou FROM [$(vFile)] (XmlSimple, Table is [QvdTableHeader/Fields/QvdFieldHeader]); next &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;If you also want to add in some header information, such as number of rows, you can add another statement within the loop to pull in those values:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QvdTableHeader: LOAD 1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as QVDCount, '$(vFileName)'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [File Name], QvBuildNo&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 [QV Build No], CreatorDoc&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 [QVD Creator], CreateUtcTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Time Created], SourceFileSize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Source File Size], TableName&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 [Table Name], RecordByteSize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Record Byte Size], NoOfRecords&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Number Of Records] FROM [$(vFile)] (XmlSimple, Table is [QvdTableHeader]); &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;For completion you could also pull in the lineage table for each file. You will note that the tables will all associate on the &lt;STRONG&gt;File Name&lt;/STRONG&gt; field, as we keep this the same between tables.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;With these statements in place you can then create a number of different charts and tables over the data. You can use the resulting app to answer a whole host of questions about your data layer, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Which QVDs have the most rows?&lt;/LI&gt;&lt;LI&gt;Which QVDs have the most fields?&lt;/LI&gt;&lt;LI&gt;Which field name is most prevalent across QVDs?&lt;/LI&gt;&lt;LI&gt;What QVD creator app created the Customers QVD?&lt;/LI&gt;&lt;LI&gt;What on earth did I call the QVD I created from the Balances spreadsheet?&lt;/LI&gt;&lt;/UL&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;Taking It Further&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;A recent use case I had for profiling all the QVDs in an implementation was for a server migration. After a period of parallel running we needed to ensure that the data in all of the QVDs was the same on the server being retired to the one being migrated to. By putting an additional loop around these statements to look in two locations, naming the locations in each table and using a composite key (of location and file name); I created an app that profiled QVDs from both servers. A few simple straight tables later and I was able to say with confidence that the QVDs had the same rows on both servers.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;As well as being interesting for yourself, you may find that you can turn the application into a useful piece of living documentation for your users. They can find where fields reside in QVDs, particularly useful if you are going to allow them to self serve in Sense, for example.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;I hope you find this post useful and it points you towards new ways of making the most of your QVDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Dec 2017 19:02:36 GMT</pubDate>
    <dc:creator>subhash_gherade</dc:creator>
    <dc:date>2017-12-30T19:02:36Z</dc:date>
    <item>
      <title>Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316864#M116906</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;Can anyone please share the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;White Paper - QlikView Metadata Management.pdf&amp;nbsp; or any information regarding Metadata&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Gargi&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316864#M116906</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-01-30T12:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316865#M116907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think these files might give you some more insight regarding metadata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316865#M116907</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2012-01-30T12:42:18Z</dc:date>
    </item>
    <item>
      <title>Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316866#M116908</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;&lt;/P&gt;&lt;P&gt;Please go on to this link , u will get a pdf!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://community.qlik.com/docs/DOC-1782"&gt;http://community.qlik.com/docs/DOC-1782&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Parag Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316866#M116908</guid>
      <dc:creator />
      <dc:date>2012-01-30T12:42:42Z</dc:date>
    </item>
    <item>
      <title>Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316867#M116909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanx Jakob for the quick response!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316867#M116909</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2012-01-30T12:49:25Z</dc:date>
    </item>
    <item>
      <title>Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316868#M116910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gargi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you need any further information regarding QV meta data, don't hesitate to contact me on &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:robert.smith@qlik.com"&gt;robert.smith@qlik.com&lt;/A&gt;&lt;SPAN&gt; and I'll try to answer your questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(this is of cource not just for Gargi, you are welcome to post additional questions regarding QV meta data concept)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 12:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316868#M116910</guid>
      <dc:creator />
      <dc:date>2012-01-30T12:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316869#M116911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;very nice, informative and useful document. Every Qlikview addict should read once. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 18:58:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316869#M116911</guid>
      <dc:creator>subhash_gherade</dc:creator>
      <dc:date>2017-12-30T18:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316870#M116912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-weight: normal; font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #343333; background-color: #f6f3f3;"&gt;How To Read Meta Data From A QlikView QVD&lt;/H1&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;QVD files are the backbone of any well designed QlikView application.&amp;nbsp; You store your data in there and read it out again – simple.&amp;nbsp; But, did you know that the QVD header holds some useful meta-data?&amp;nbsp; Did you know that could be loaded into QlikView for analysis?&amp;nbsp; No?&amp;nbsp; Well, read on.&lt;/P&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;QVD Files Are XML Files&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;If you have ever been inquisitive enough to open a QVD file in a text editor you will have seen that the file starts with a chunk of XML. If you haven’t done this previously, why not do it now? As you look through the headers you will see some basic information, such as the time the QVD was created. Further on in the header is the number of rows in the file. You may well be aware that these values can be referred to using a number of functions, for example:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;QvdNoOfRecords('c:\QlikView\Data\MyQVD.qvd'); QvdNoOfFields('c:\QlikView\Data\MyQVD.qvd'); &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Also in the header of the file you will find information on the field structure of the QVD and the lineage of the QVD (the initial SELECT or LOAD statements that went to build the QVD. All in all very interesting to look at in a text editor, but there are no functions to retrieve these things.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Beyond this, the QVD turns into binary for the storing of the data itself.&lt;/P&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;Retrieving The XML From A QVD&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;You may be aware that you can load data from an XML file into QlikView. So, it stands to follow that you can load the XML from your QVD into a table. And indeed you can.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;When you click the &lt;STRONG&gt;Table Files&lt;/STRONG&gt; button in QlikView and select a QVD, QlikView automatically changes to load the QVD data and shows you the content:&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;&lt;IMG alt="QVD File Type Selected" class="wp-image-1932 aligncenter jive-image size-full" height="272" src="https://www.quickintelligence.co.uk/wp-content/uploads/2014/08/FileTypeSelected.jpg" style="border-style: none; margin-left: auto; margin-right: auto;" width="287" /&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Just underneath the QVD radio button is a selection for XML. When you click this a different view of the QVD is shown:&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;&lt;IMG alt="QlikView QVD XML Tables" class="wp-image-1933 aligncenter jive-image size-full" height="352" src="https://www.quickintelligence.co.uk/wp-content/uploads/2014/08/XMLTables.jpg" style="border-style: none; margin-left: auto; margin-right: auto;" width="627" /&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;You will see that there are tables you can select for header information, field information and lineage. Field information for a QVD is shown above, you can click on the other tables to see the content of these.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;Clicking &lt;STRONG&gt;Finish&lt;/STRONG&gt; will insert the code to load from the XML headers into your load script. The script for the field information looks like this:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;QvdFields: LOAD FieldName, BitOffset, BitWidth, Bias, NoOfSymbols, [NumberFormat/Type] as Type, [NumberFormat/nDec] as nDec, [NumberFormat/UseThou] as UseThou FROM [.\Data\MyQVD.qvd] (XmlSimple, Table is [QvdTableHeader/Fields/QvdFieldHeader]); &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;When you Save and Reload you then have a table showing all the fields in your QVD.&lt;/P&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;Loading From Multiple Files&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;This gives us a simple way of getting some QVD information into a QlikView document. But what if we want to view information for a whole folder full of QVDs? Well, we can simply enumerate around them, in a similar fashion as we did with CSV’s in the post How To Convert Drop Folder Files to QVD. Enumerating is done with a &lt;STRONG&gt;for&lt;/STRONG&gt; / &lt;STRONG&gt;next&lt;/STRONG&gt; loop on a &lt;STRONG&gt;FileList&lt;/STRONG&gt;statement. For each file, we want to grab the name and add it as a field. The code (after a bit of additional tidying) then looks like this:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;for each vFile in FileList('.\Data\*.qvd') let vFileName = mid(vFile, index(vFile, '\', -1) + 1, 99);&amp;nbsp; QvdFields: LOAD 1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as FieldCount, '$(vFileName)'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [File Name], FieldName&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 [Field Name], BitOffset&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 [Bit Offset], BitWidth&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 [Bit Width], Bias&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Bias], NoOfSymbols&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [No Of Symbols], [NumberFormat/Type]&amp;nbsp;&amp;nbsp;&amp;nbsp; as Type, [NumberFormat/nDec]&amp;nbsp;&amp;nbsp;&amp;nbsp; as Dec, [NumberFormat/UseThou] as UseThou FROM [$(vFile)] (XmlSimple, Table is [QvdTableHeader/Fields/QvdFieldHeader]); next &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;If you also want to add in some header information, such as number of rows, you can add another statement within the loop to pull in those values:&lt;/P&gt;&lt;PRE lang="html" style="color: #747474; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QvdTableHeader: LOAD 1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as QVDCount, '$(vFileName)'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [File Name], QvBuildNo&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 [QV Build No], CreatorDoc&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 [QVD Creator], CreateUtcTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Time Created], SourceFileSize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Source File Size], TableName&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 [Table Name], RecordByteSize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Record Byte Size], NoOfRecords&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Number Of Records] FROM [$(vFile)] (XmlSimple, Table is [QvdTableHeader]); &lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;For completion you could also pull in the lineage table for each file. You will note that the tables will all associate on the &lt;STRONG&gt;File Name&lt;/STRONG&gt; field, as we keep this the same between tables.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;With these statements in place you can then create a number of different charts and tables over the data. You can use the resulting app to answer a whole host of questions about your data layer, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Which QVDs have the most rows?&lt;/LI&gt;&lt;LI&gt;Which QVDs have the most fields?&lt;/LI&gt;&lt;LI&gt;Which field name is most prevalent across QVDs?&lt;/LI&gt;&lt;LI&gt;What QVD creator app created the Customers QVD?&lt;/LI&gt;&lt;LI&gt;What on earth did I call the QVD I created from the Balances spreadsheet?&lt;/LI&gt;&lt;/UL&gt;&lt;H3 style="font-family: MuseoSlab500Regular, arial, helvetica, sans-serif; color: #333333; font-weight: normal;"&gt;Taking It Further&lt;/H3&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;A recent use case I had for profiling all the QVDs in an implementation was for a server migration. After a period of parallel running we needed to ensure that the data in all of the QVDs was the same on the server being retired to the one being migrated to. By putting an additional loop around these statements to look in two locations, naming the locations in each table and using a composite key (of location and file name); I created an app that profiled QVDs from both servers. A few simple straight tables later and I was able to say with confidence that the QVDs had the same rows on both servers.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;As well as being interesting for yourself, you may find that you can turn the application into a useful piece of living documentation for your users. They can find where fields reside in QVDs, particularly useful if you are going to allow them to self serve in Sense, for example.&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0 0 20px; color: #747474; font-family: PTSansRegular, Arial, Helvetica, sans-serif;"&gt;I hope you find this post useful and it points you towards new ways of making the most of your QVDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 19:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/316870#M116912</guid>
      <dc:creator>subhash_gherade</dc:creator>
      <dc:date>2017-12-30T19:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/1542617#M439549</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for information on Metadata management for Qlik Sense:&lt;BR /&gt;&lt;BR /&gt;*&amp;nbsp;Extraction Method &amp;gt; Authentication &amp;gt; Explain how a scanner can authenticate with the technology's metadata repository.&lt;/P&gt;&lt;P&gt;*&amp;nbsp;Metadata Extraction Interfaces&lt;/P&gt;&lt;P&gt;Is this to be found anywhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 04:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/1542617#M439549</guid>
      <dc:creator>VirginiaGalbarini</dc:creator>
      <dc:date>2019-02-12T04:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata Management</title>
      <link>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/1803626#M1211918</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41150"&gt;@subhash_gherade&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for sharing my article on QVD metadata. Always happy to share the knowledge. Would have been nicer if you could have credited the source though.&lt;/P&gt;&lt;P&gt;The original article is here:&lt;BR /&gt;&lt;A href="https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/" target="_blank"&gt;https://www.quickintelligence.co.uk/read-meta-data-qlikview-qvd/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 19:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Metadata-Management/m-p/1803626#M1211918</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2021-04-28T19:47:00Z</dc:date>
    </item>
  </channel>
</rss>

