<?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 Text field formatted as a number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147224#M25675</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;gordon.savage wrote:formatting it as number&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It's kind of an interesting dialog behavior, but I'd suggest it's a non-issue. "General" is an Excel numeric type, so under the rules of QV the Numeric type is assigned. According to the Ref Guide, for fields that are typed from their source:&lt;/P&gt;&lt;P&gt;"QlikView will remember the original number format of the field even if the&lt;BR /&gt;number format is changed in the number format dialogs of the application."&lt;/P&gt;&lt;P&gt;Strings do not get formatted, so anything you could do on the Number tab would have no effect on the string values in the example.&lt;/P&gt;&lt;P&gt;Here is my theory as to why you can't change to mixed in the dialog.&lt;/P&gt;&lt;P&gt;1. Mixed data is always stored internally as Strings. Very wasteful for storage but maybe the best QV can do if no type information is supplied at load time.&lt;/P&gt;&lt;P&gt;2. If a datasource is typed as numeric (like your example), QV attempts to store each and every value internally as a number. Better utilization of storage and better expression performance. Those values that are not really numbers get stored as Strings.&lt;/P&gt;&lt;P&gt;3. Mixed data is displayed as-is from storage. It's already in String form so it's just copied from storage to display. Internally stored numerics must have some formatting declared. So for your example, you have some internal numerics, therefore you are forced to specify a format.&lt;/P&gt;&lt;P&gt;That's my $0.02 theory for Friday afternoon.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jun 2009 06:25:43 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2009-06-20T06:25:43Z</dc:date>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147219#M25670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Got an odd one here (using 8.20).&lt;/P&gt;&lt;P&gt;I have a column in an XLS (cells formatted as 'General') which contain text (nu numbers). When I load this into the document, Qlikview insists on formatting it as number (even changing it through document properties &amp;gt; number &amp;gt; mixed has no effect. In a list box, the mixed attribute is greyed out.&lt;/P&gt;&lt;P&gt;Why is Qlikview doing this?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 19:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147219#M25670</guid>
      <dc:creator />
      <dc:date>2009-06-19T19:00:00Z</dc:date>
    </item>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147220#M25671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and here is the xls....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 19:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147220#M25671</guid>
      <dc:creator />
      <dc:date>2009-06-19T19:01:01Z</dc:date>
    </item>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147221#M25672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either there's a difference in 8.5, or I'm not understanding the question. Looking at your Excel file, I see a list of groups, all of which are either 'Oil' or 'Other'. Looking at the Qlikview file, I see a list box with both 'Oil' and 'Other'. They are left justified, hinting that they are text. Nothing is grayed out. Showing the frequency indicates that many different rows were read in. Everything looks exactly like I would expect.&lt;/P&gt;&lt;P&gt;That said, if you want to force QlikView to load a field as text, just load text(Field) as Field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2009 03:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147221#M25672</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-20T03:39:25Z</dc:date>
    </item>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147222#M25673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;BR /&gt;I don't know if it is a real problem, but it looks odd. Try this:&lt;BR /&gt;Open Document Properties, tab Number.&lt;BR /&gt;Select field Group - see that it is "Number"&lt;BR /&gt;Change to "Mixed", and Apply.&lt;BR /&gt;Select the field again - it is "Number", not "Mixed".&lt;BR /&gt;As a result, in the List Box properties, tab Number, "Mixed" option is not available.&lt;BR /&gt;I tried in 8.50 and 9.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2009 03:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147222#M25673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-20T03:46:43Z</dc:date>
    </item>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147223#M25674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right; that is strange. However, I was able to fix it by changing the column to text instead of general in the Excel, setting the field format to mixed and survive reload, and reloading. And the text() function works too, though again, you have to fix the properties of the column too. So I don't know why it appears to be misbehaving, and whether or not it's actually a problem, but it's easy enough to fix. Definitely a curiosity, though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2009 04:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147223#M25674</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-06-20T04:07:57Z</dc:date>
    </item>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147224#M25675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;gordon.savage wrote:formatting it as number&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It's kind of an interesting dialog behavior, but I'd suggest it's a non-issue. "General" is an Excel numeric type, so under the rules of QV the Numeric type is assigned. According to the Ref Guide, for fields that are typed from their source:&lt;/P&gt;&lt;P&gt;"QlikView will remember the original number format of the field even if the&lt;BR /&gt;number format is changed in the number format dialogs of the application."&lt;/P&gt;&lt;P&gt;Strings do not get formatted, so anything you could do on the Number tab would have no effect on the string values in the example.&lt;/P&gt;&lt;P&gt;Here is my theory as to why you can't change to mixed in the dialog.&lt;/P&gt;&lt;P&gt;1. Mixed data is always stored internally as Strings. Very wasteful for storage but maybe the best QV can do if no type information is supplied at load time.&lt;/P&gt;&lt;P&gt;2. If a datasource is typed as numeric (like your example), QV attempts to store each and every value internally as a number. Better utilization of storage and better expression performance. Those values that are not really numbers get stored as Strings.&lt;/P&gt;&lt;P&gt;3. Mixed data is displayed as-is from storage. It's already in String form so it's just copied from storage to display. Internally stored numerics must have some formatting declared. So for your example, you have some internal numerics, therefore you are forced to specify a format.&lt;/P&gt;&lt;P&gt;That's my $0.02 theory for Friday afternoon.&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2009 06:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147224#M25675</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2009-06-20T06:25:43Z</dc:date>
    </item>
    <item>
      <title>Text field formatted as a number</title>
      <link>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147225#M25676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;P&gt;It is very odd behaviour - especially given that the cells are formatted as general in the xls. The data is rendering quite correctly (aligned left) so QV identifies the data as text therefore one would expect to see the formatting as 'mixed'.&lt;/P&gt;&lt;P&gt;I quite often find anomalies with QV and XLS (it would be rude of me to point at the suspect). I had one the other day where I used 'cross table' on columns that had number formatting and sometimes (randomly) QV saw the data as the formatted values and others the underlying actual values.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2009 15:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-field-formatted-as-a-number/m-p/147225#M25676</guid>
      <dc:creator />
      <dc:date>2009-06-22T15:30:39Z</dc:date>
    </item>
  </channel>
</rss>

