<?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: String Data Field Empty in View in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808490#M664812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Dec 2014 16:28:44 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-12-31T16:28:44Z</dc:date>
    <item>
      <title>String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808489#M664811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the strangest issue.&amp;nbsp; I have a view that appears to be working in every way except one: I have a single field that is showing up blank, no matter if it should be or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field has data in the database (at least in some records) and even though all records are loading in the script and showing in the tables/charts whether they use the field or not, the field itself is empty.&amp;nbsp; It's just a basic string field, as far as I can tell.&amp;nbsp; I have used upper() on it, as well as text(), in case there was something wonky about it and still nothing.&amp;nbsp; I have gone into the Table Viewer and when I preview that table, everything looks great except that field is showing empty for every single record.&amp;nbsp; So it's like it's not even loading from my SQL database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone think of anything I am missing?&amp;nbsp; I have never encountered this in all the views I have built and I am convinced it's something basic.&amp;nbsp; Any insight would be deeply appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 15:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808489#M664811</guid>
      <dc:creator>raynac</dc:creator>
      <dc:date>2014-12-31T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808490#M664812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 16:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808490#M664812</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-31T16:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808491#M664813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot post the whole thing as it's several tabs long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the two tables with the discounts in them and the one field that's coming up blank (in the first table only) is the pos_discount_code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;pshist_i:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_sequence" as "pos_sequence",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_item_code" as "Item Code",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_quantity_f6" as "Quantity",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_price" as "Price",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_sequence"&amp;amp;'-'&amp;amp;"suffix_no" as "Line Item",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;"pos_discount_code",&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_discount_amount",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_discount_percent",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_extended_amount_bd8",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_extended_amount_apd8",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_extended_amount_fnl8"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM $(TBLPRE)pshist_i i JOIN $(TBLPRE)pshist_h h &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;on i.pos_sequence = h.pos_sequence;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;psdiscount:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "pos_discount_code",&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; description as "POS Discount Desc";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM "nw_src".dbo.psdiscount;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Even before I added the psdiscount table to obtain the discount description, the field was still showing as blank.&amp;nbsp; The codes are all in the psdiscount table - and they are loading correctly, but not "matching" with any of the ones in pshist_i - so there are no codes or descriptions matching any of the items.&amp;nbsp; I also tried it against another database on a server...no dice there either.&amp;nbsp; It's utterly bizarre. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 16:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808491#M664813</guid>
      <dc:creator>raynac</dc:creator>
      <dc:date>2014-12-31T16:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808492#M664814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can load the two tables pshist_i and pshist_h separately&amp;nbsp; as two different tables and then see if &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;pos_discount_code &lt;/STRONG&gt;has values in it. This is just a sanity check to see whats going on. Also &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;pos_discount_code &lt;/STRONG&gt;is coming from which of those two tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 21:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808492#M664814</guid>
      <dc:creator />
      <dc:date>2014-12-31T21:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808493#M664815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Is pos_discount_code present in both the tables &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;pshist_i and pshist_h? If yes, then explicitly select this field from one of the tables which has values&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SQL SELECT i.&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;pos_discount_code,...&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;FROM $(TBLPRE)pshist_i i JOIN $(TBLPRE)pshist_h h&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;on i.pos_sequence = h.pos_sequence;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2015 12:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808493#M664815</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-01-01T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808494#M664816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, Ajay!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your help.&amp;nbsp; I misread your message and said this: "I do load &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;pshist_h separately - that's the header record.&amp;nbsp; &lt;/SPAN&gt;The discount code is applied to just the detail/item record, so it comes from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;pshist_i only.&amp;nbsp; I was then using it to get the discount code description, but even before I brought that table in, it was malfunctioning."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Then I realized that I was joining the tables based on the pos_sequence, which I really didn't need to (it was left over from something else I was working on and never removed!).&amp;nbsp; The minute I removed that clause, it worked like a charm.&amp;nbsp; I then realized that was what you had meant all along!&amp;nbsp; Thank you so much!&amp;nbsp; I am certain I'd have missed that detail entirely.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808494#M664816</guid>
      <dc:creator>raynac</dc:creator>
      <dc:date>2015-01-05T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: String Data Field Empty in View</title>
      <link>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808495#M664817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your help.&amp;nbsp; Ajay pointed me in the right direction!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2015 16:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-Data-Field-Empty-in-View/m-p/808495#M664817</guid>
      <dc:creator>raynac</dc:creator>
      <dc:date>2015-01-05T16:17:26Z</dc:date>
    </item>
  </channel>
</rss>

