<?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 Bulk Formatting Fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161035#M632147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote some code for reformatting fields in bulk from an Excel file. It works as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Rename the fields to Name_temp that are going to be formatted (so that you can load star and build the new versions without overlapping their names)&lt;/LI&gt;&lt;LI&gt;Build a string of all the formatting commands&lt;/LI&gt;&lt;LI&gt;1 reload of the table with * and then the formatting string&lt;/LI&gt;&lt;LI&gt;Drop all the Name_temp fields&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions and feedback welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Format&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Format Type&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;DOB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;MM/DD/YYYY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;End Date Year&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Postal Code&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Num&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Formats&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Format:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Field Name" AS "Format Field",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Format,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Format Type"&lt;/P&gt;&lt;P&gt;FROM [lib://Public Content Library/Format.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Format)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Fact Table&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;From Fact.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Formats&lt;/P&gt;&lt;P&gt;Let ii = NoOfRows('DD_Format') - 1;&lt;/P&gt;&lt;P&gt;For i=0 to $(ii)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormatField = Peek('Format Field',$(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormat = Peek('Format',$(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormatType = Peek('Format Type', $(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Rename Field [$(vFormatField)] to [$(vFormatField)_temp];&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; If i=0 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFormatString = '$(vFormatType)([$(vFormatField)_temp],''$(vFormat)'') AS [$(vFormatField)]';&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFormatString = '$(vFormatString),' &amp;amp; chr(10) &amp;amp; '$(vFormatType)([$(vFormatField)_temp],''$(vFormat)'') AS [$(vFormatField)]';&lt;/P&gt;&lt;P&gt;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Apply Formatting&lt;/P&gt;&lt;P&gt;Rename Table FD to FD_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;FD:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt; *,&lt;/P&gt;&lt;P&gt; $(vFormatString)&lt;/P&gt;&lt;P&gt;Resident FD_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i=0 to $(ii)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormatField = Peek('Format Field',$(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop Field [$(vFormatField)_temp];&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table FD_temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 19:38:12 GMT</pubDate>
    <dc:creator>andydietler</dc:creator>
    <dc:date>2016-07-01T19:38:12Z</dc:date>
    <item>
      <title>Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161035#M632147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote some code for reformatting fields in bulk from an Excel file. It works as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Rename the fields to Name_temp that are going to be formatted (so that you can load star and build the new versions without overlapping their names)&lt;/LI&gt;&lt;LI&gt;Build a string of all the formatting commands&lt;/LI&gt;&lt;LI&gt;1 reload of the table with * and then the formatting string&lt;/LI&gt;&lt;LI&gt;Drop all the Name_temp fields&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions and feedback welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Format&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Format Type&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;DOB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;MM/DD/YYYY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;End Date Year&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;YY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Postal Code&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Num&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Formats&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Format:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Field Name" AS "Format Field",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Format,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Format Type"&lt;/P&gt;&lt;P&gt;FROM [lib://Public Content Library/Format.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Format)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Fact Table&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;From Fact.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Load Formats&lt;/P&gt;&lt;P&gt;Let ii = NoOfRows('DD_Format') - 1;&lt;/P&gt;&lt;P&gt;For i=0 to $(ii)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormatField = Peek('Format Field',$(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormat = Peek('Format',$(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormatType = Peek('Format Type', $(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Rename Field [$(vFormatField)] to [$(vFormatField)_temp];&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; If i=0 then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFormatString = '$(vFormatType)([$(vFormatField)_temp],''$(vFormat)'') AS [$(vFormatField)]';&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFormatString = '$(vFormatString),' &amp;amp; chr(10) &amp;amp; '$(vFormatType)([$(vFormatField)_temp],''$(vFormat)'') AS [$(vFormatField)]';&lt;/P&gt;&lt;P&gt;&amp;nbsp; end if&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Apply Formatting&lt;/P&gt;&lt;P&gt;Rename Table FD to FD_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;FD:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt; *,&lt;/P&gt;&lt;P&gt; $(vFormatString)&lt;/P&gt;&lt;P&gt;Resident FD_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i=0 to $(ii)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFormatField = Peek('Format Field',$(i),'DD_Format');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop Field [$(vFormatField)_temp];&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table FD_temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 19:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161035#M632147</guid>
      <dc:creator>andydietler</dc:creator>
      <dc:date>2016-07-01T19:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161036#M632148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may be a bit shorter. I used an INLINE table to show what happens. Easily replaced by a LOAD FROM an external source:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FormatTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD concat(SingleField, ', ') AS RenameColumns;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD [Format Type] &amp;amp; '([' &amp;amp; [Field Name] &amp;amp; '], ' &amp;amp; chr(39) &amp;amp; Format &amp;amp; chr(39) &amp;amp;') AS [' &amp;amp; [Field Name] &amp;amp; ']' AS SingleField;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Field Name, Format, Format Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DOB, MM/DD/YYYY, Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;End Date Year, YY, Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Postal Code, 00000, Num&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vRenameColumns = peek('RenameColumns');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD $(vRenameColumns) FROM Fact.QVD;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP Table FormatTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161036#M632148</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-01T20:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161037#M632149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like it. Any way to make it work for the case where not every field in the Fact table is defined in the Format table? I just want to leave all of the other fields alone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161037#M632149</guid>
      <dc:creator>andydietler</dc:creator>
      <dc:date>2016-07-01T20:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161038#M632150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that was the question that you didn't ask?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you always be reading facts or other data from QVDs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161038#M632150</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-01T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161039#M632151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, it kind of slipped my mind that that is what I was doing. It will always be a single table, mostly fact tables, this is just part of a transformation process that outputs QVDs with the modifications made.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 20:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161039#M632151</guid>
      <dc:creator>andydietler</dc:creator>
      <dc:date>2016-07-01T20:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161040#M632152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView script has a few very useful functions to read QVD meta-data. This one should do what you want: Also contains a few tricks to make the code more compact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Formats:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MAPPING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD [Field Name], [Format Type] &amp;amp; '([' &amp;amp; [Field Name] &amp;amp; '], ' &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chr(39) &amp;amp; Format &amp;amp; chr(39) &amp;amp;') AS [' &amp;amp; [Field Name] &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ']' AS FormatRename&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Field Name, Format, Format Type&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DOB, MM/DD/YYYY, Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;End Date Year, YY, Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Postal Code, 00000, Num&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vSeparator = '';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FOR i = 1 TO QvdNoOfFields('Facts.QVD')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vColumnName = QvdFieldName('Facts.QVD', i);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vRename=vRename &amp;amp; vSeparator &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&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; ApplyMap('Formats',vColumnName,'['&amp;amp;vColumnName&amp;amp;']');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; LET vSeparator = ', ';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NEXT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD $(vRenameColumns) FROM Facts.QVD;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// Don't forget to clean up leftover variables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't believe QV Desktop help about 0-based field numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 21:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161040#M632152</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-01T21:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161041#M632153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've considered blogging this several times but figured no one cared about it but me. Here's how I "reformat" fields I load from a QVD. Like "RENAME USING Map", you can include fields that are not in the QVD. I've used this to set all dates to a different locale for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FormatTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Date(0, 'MM/DD/YYYY') as DOB,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Date(0, 'YY') as [End Date Year],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Num(0, '00000') as PostalCode,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; Date(0, 'YYYY-MMM') as OtherField &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;AutoGenerate 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Facts:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * FROM Fact.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP TABLE FormatTable;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formats are inherited from the FormatTable fields, There is no need to apply the formatting functions on the load of the Fact table. While I've coded the FormatTable as a set of simple statements above, I'm sure you can adapt the idea to use your external file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2016 00:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161041#M632153</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-02T00:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161042#M632154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt; that looks like a superb idea, I am not sure if I will ever get to use this, but I am def. going to try this out. Thanks for sharing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2016 00:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161042#M632154</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-02T00:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161043#M632155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tihnk there is one important distinction. IMHO inheriting a default format won't reject any values because they don't match the expected type, while the explicit LOAD with formatting functions will replace invalid values with NULLs. That may be useful if you want to combine load-cleanup-and-format in one load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jul 2016 09:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161043#M632155</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-02T09:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161044#M632156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;while the explicit LOAD with formatting functions will replace invalid values with NULLs."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I don't see this behavior.&amp;nbsp; In my experience &lt;STRONG&gt;formatting&lt;/STRONG&gt; functions will return an unchanged value, not a null. Can you provide an example?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2016 14:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161044#M632156</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-04T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161045#M632157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right Rob, that was very bad wording by me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTOH, I was already thinking about an even more flexible setup where a mapping table is filled with whatever expression you want (including&lt;EM&gt; interpretation&lt;/EM&gt; functions or a bunch of IF() calls) and one or more markers to be replaced by the field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I can't find a reason why you would want to use a central field repository while a few customized load statements in include files (1 per table) would do the trick just fine. Costs &amp;amp; Benefits...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doh. Nice idea, no application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2016 16:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161045#M632157</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-04T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161046#M632158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, that's not working for me in Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got just your code snippet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FormatTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(0, 'MM/DD/YYYY') as [Birth Date]&lt;/P&gt;&lt;P&gt;AutoGenerate 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Facts:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM [lib://Library/Fact.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE FormatTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I still get the original format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-07-07 14_21_01-Amazon WorkSpaces.png" class="jive-image image-1" src="/legacyfs/online/130585_2016-07-07 14_21_01-Amazon WorkSpaces.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 21:21:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161046#M632158</guid>
      <dc:creator>andydietler</dc:creator>
      <dc:date>2016-07-07T21:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161047#M632159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And it doesn't break the optimized load. Nice!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 23:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161047#M632159</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-07-07T23:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161048#M632160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Peter, I just noticed today that you are right about at least one formatting function -- num() -- returns null if the input is not a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 00:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161048#M632160</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-08T00:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161049#M632161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy, It works ok for me in Sense.&lt;/P&gt;&lt;P&gt;1. What version are you using?&lt;/P&gt;&lt;P&gt;2. Is [Birth Date] as master item or just a field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 00:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161049#M632161</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-08T00:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161050#M632162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently so does&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=Date('ABC') // Same in script&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference may be that Date() accepts quite a lot of different formats (strings and numbers).and may give the impression to not care too much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 00:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161050#M632162</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-08T00:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161051#M632163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Version 2.0.9.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just a field in the Fact table QVD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 00:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161051#M632163</guid>
      <dc:creator>andydietler</dc:creator>
      <dc:date>2016-07-08T00:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161052#M632164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Nice approach !&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've test it with several format. My conclusion is :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It works well with Num(), Text()&lt;/LI&gt;&lt;LI&gt;But not with Timestamp(), Date(), Money(), Time(), Interval()&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using QV 11.2 SR11&lt;/P&gt;&lt;P&gt;Any idea/solution of the reason while it don't work with the date &amp;amp; time format ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;myTable:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; Text(0) as TXT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; ,Num(0) as NUM&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; ,Money(0) as EUR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; ,Timestamp(42376.45) as TS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; ,Date(42376) as DATE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; ,Interval(0.375) as INTERVAL&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;&amp;nbsp; ,Time(0.375) as TIME&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;AutoGenerate 1;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;TIME, INTERVAL, EUR, TS, DATE, TXT, NUM&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;0.375, 0.375, 100, 42376.45, 42376, 5000, 5000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 8pt;"&gt;0.375, 0.375, 200, 42377.65, 42377, 52e40, 52e40&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The result&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145984_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The yellow row is the &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;AutoGenerated one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 10:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161052#M632164</guid>
      <dc:creator>jhamard</dc:creator>
      <dc:date>2016-12-08T10:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161053#M632165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Julien,&lt;/P&gt;&lt;P&gt;As you've noted, this technique will not automatically interpret numbers as Dates or Times when loading from Inline or Text file. You must include the Date() function in the Inline load. It will however, apply the default from the autogenerated "Default Format" load. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FormatTable:&lt;/P&gt;&lt;P&gt;LOAD Date(0, 'YYYY-MM-DD') as OrderDate&lt;/P&gt;&lt;P&gt;AutoGenerate 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD Date(OrderDate) as OrderDate INLINE [&lt;/P&gt;&lt;P&gt;OrderDate&lt;/P&gt;&lt;P&gt;43267&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"OrderDate" will be correctly read as a Date but will be formatted YYYY-MM-DD, not the &lt;SPAN style="font-size: 13.3333px;"&gt;DateFormat='M/D/YYYY'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Dec 2016 04:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161053#M632165</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-12-11T04:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk Formatting Fields</title>
      <link>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161054#M632166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way to apply this kind of formatting in combination with BINARY LOAD?&lt;/P&gt;&lt;P&gt;There you should not load anything before the load-statement.&lt;/P&gt;&lt;P&gt;Guess that needs to be done then in the inititial database (backend)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 13:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bulk-Formatting-Fields/m-p/1161054#M632166</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-02-14T13:37:50Z</dc:date>
    </item>
  </channel>
</rss>

