<?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 Easy data dictionary from your QVDs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Easy-data-dictionary-from-your-QVDs/m-p/1274561#M400489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;What happens when you have a bunch of QVD’s that feed your data model and you want to create a data dictionary listing Table, Field and a row or 2 of sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;That’s the challenge I just helped a co-worker with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;In my case the QVD’s had qualified field names so the employee and phone fields in the master table would look have a field name of master.employee, master.phone and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If that’s not the case you can add another line to your script &lt;STRONG style="color: blue; font-size: 12pt; font-family: 'Courier New';"&gt;QUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; *; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It’s very simple and just 1 line of script, 2 if you need to add the QUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Code:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: blue;"&gt;First&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; 2 &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 12pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; MyLocation\*.qvd (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This will loop through all QVD’s in the specified location and load 2 records from each table.&amp;nbsp; Keep in mind some columns may not have a value in the first or 2&lt;SUP&gt;nd&lt;/SUP&gt; row but I didn’t want to go crazy given the large QVDs and was afraid if I tried looking for values it would take too long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Now create a Straight Table Chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Dimensions:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;$Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Expressions:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,'.')-1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Field&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,'.')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sample Value 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sample Value 2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The only other thing you want to do is to go to the presentation tab and for the first column $Field you want to check (*) Hide column.&amp;nbsp;&amp;nbsp; This is something I almost never do as it can have very bad results but in this case the chart must have at least one dimension and at least one expression so this is how I worked around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When you run it you end up with something like this with more rows and a 2&lt;SUP&gt;nd&lt;/SUP&gt; sample value I omitted for space reasons.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="documentor.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154613_documentor.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 18:01:49 GMT</pubDate>
    <dc:creator>dgreenberg</dc:creator>
    <dc:date>2017-02-27T18:01:49Z</dc:date>
    <item>
      <title>Easy data dictionary from your QVDs</title>
      <link>https://community.qlik.com/t5/QlikView/Easy-data-dictionary-from-your-QVDs/m-p/1274561#M400489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;What happens when you have a bunch of QVD’s that feed your data model and you want to create a data dictionary listing Table, Field and a row or 2 of sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;That’s the challenge I just helped a co-worker with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;In my case the QVD’s had qualified field names so the employee and phone fields in the master table would look have a field name of master.employee, master.phone and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If that’s not the case you can add another line to your script &lt;STRONG style="color: blue; font-size: 12pt; font-family: 'Courier New';"&gt;QUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; *; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;It’s very simple and just 1 line of script, 2 if you need to add the QUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Code:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: blue;"&gt;First&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; 2 &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 12pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt; MyLocation\*.qvd (&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: blue;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This will loop through all QVD’s in the specified location and load 2 records from each table.&amp;nbsp; Keep in mind some columns may not have a value in the first or 2&lt;SUP&gt;nd&lt;/SUP&gt; row but I didn’t want to go crazy given the large QVDs and was afraid if I tried looking for values it would take too long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Now create a Straight Table Chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Dimensions:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;$Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Expressions:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;left&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,'.')-1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Field&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;Index&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,'.')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sample Value 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sample Value 2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;,2) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The only other thing you want to do is to go to the presentation tab and for the first column $Field you want to check (*) Hide column.&amp;nbsp;&amp;nbsp; This is something I almost never do as it can have very bad results but in this case the chart must have at least one dimension and at least one expression so this is how I worked around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;When you run it you end up with something like this with more rows and a 2&lt;SUP&gt;nd&lt;/SUP&gt; sample value I omitted for space reasons.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="documentor.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/154613_documentor.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Easy-data-dictionary-from-your-QVDs/m-p/1274561#M400489</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2017-02-27T18:01:49Z</dc:date>
    </item>
  </channel>
</rss>

