<?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: Data Type Formats Mismatch between QV and QS in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517176#M105885</link>
    <description>&lt;P&gt;Are you loading using Qlik Data Gateway?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 16:05:50 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2025-05-08T16:05:50Z</dc:date>
    <item>
      <title>Data Type Formats Mismatch between QV and QS</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517022#M105864</link>
      <description>&lt;P&gt;We are migrating our Qlikview processes to Qliksense and noticed a problem in the way Qliksense interprets data type of an attribute.&lt;/P&gt;&lt;P&gt;Our database table (mytable) has Department as STRING (varchar). It contains numbers, strings, mixed values, numbers with leading zeros ..etc. When we load this table into Qlikview, Qlikview automatically translates number (like) values into numbers and varchars into text. For example using:&lt;/P&gt;&lt;P&gt;LOAD Retailer, Department from mytable;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Department values like 011, MISSY, 230-20,35 are loaded in QV:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;11 (number right justified)&lt;/LI&gt;&lt;LI&gt;MISSY (text left justified)&lt;/LI&gt;&lt;LI&gt;230-20 (text left justified)&lt;/LI&gt;&lt;LI&gt;35 (number right justified)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;We are not using any function to load Department at all in QV.&lt;/P&gt;&lt;P&gt;When i translated the same load in QS, the same values are treated as text only and are right justified:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;011 (text left justified)&lt;/LI&gt;&lt;LI&gt;MISSY (text left justified)&lt;/LI&gt;&lt;LI&gt;230-20 (text left justified)&lt;/LI&gt;&lt;LI&gt;35 (text left justified)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This mismatch has created a problem for history data where QVD loaded off Qlikview had 11 as Department value, but now in QS it is 011.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to have Qliksense load such data in the same way as Qlikview does?&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 15:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517022#M105864</guid>
      <dc:creator>AnnaRodriguez</dc:creator>
      <dc:date>2025-05-07T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type Formats Mismatch between QV and QS</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517075#M105870</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hello Anna,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The problem with how QlikView or QlikSense interprets the data type of an attribute when loading data from a QVD file is quite old and has caused me quite a few problems, especially with varchar fields.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I found a very "elegant" technical solution at Rob Wunderlich.&amp;nbsp;See the link below:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;A href="https://qlikviewcookbook.com/2016/07/touchless-formatting/" target="_blank"&gt;https://qlikviewcookbook.com/2016/07/touchless-formatting/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;In the case of your problem, load dummy field before loading data from QVD file to assign the attribute to the Department field&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;TempFormatTable:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Num(0) as Department&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AutoGenerate 1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Data:&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;Load Department, ... from Data.QVD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DROP Table TempFormatTable;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Please test the solution and send me your feedback.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Regards, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Eliza&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 05:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517075#M105870</guid>
      <dc:creator>ElisaF</dc:creator>
      <dc:date>2025-05-08T05:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type Formats Mismatch between QV and QS</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517169#M105884</link>
      <description>&lt;P&gt;This is a very nice suggestion, but it did not work for me. I had Departments values still loaded as 532 and 0532. I expected them to be consolidated into 532.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 15:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517169#M105884</guid>
      <dc:creator>AnnaRodriguez</dc:creator>
      <dc:date>2025-05-08T15:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type Formats Mismatch between QV and QS</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517176#M105885</link>
      <description>&lt;P&gt;Are you loading using Qlik Data Gateway?&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 16:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517176#M105885</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2025-05-08T16:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type Formats Mismatch between QV and QS</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517685#M105958</link>
      <description>&lt;P&gt;no, i am using Qliksense on Windows.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 16:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517685#M105958</guid>
      <dc:creator>AnnaRodriguez</dc:creator>
      <dc:date>2025-05-13T16:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data Type Formats Mismatch between QV and QS</title>
      <link>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517686#M105959</link>
      <description>&lt;P&gt;I used num# function on Department and that seemed to consolidate num and varchar values into num (right justified). The problem is that any history QVDs had to be also updated to match the structure.&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 16:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-Type-Formats-Mismatch-between-QV-and-QS/m-p/2517686#M105959</guid>
      <dc:creator>AnnaRodriguez</dc:creator>
      <dc:date>2025-05-13T16:42:07Z</dc:date>
    </item>
  </channel>
</rss>

