<?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 mismatch? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936393#M323237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out that the issue was related to this piece of Load Script Code because my FCAST* rows had a REQ_STATUS of NULL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;STRONG&gt; REQ_STATUS &lt;/STRONG&gt;not in ('Not Submitted')&amp;nbsp; &lt;/P&gt;&lt;P&gt;fixed by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;isnull(REQ_STATUS, 'x')&lt;/STRONG&gt; not in ('Not Submitted')&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2015 19:53:21 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2015-12-16T19:53:21Z</dc:date>
    <item>
      <title>Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936386#M323230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure how this is possible but to address an issue of data not displaying correctly, I have created a sample QVW and also stripped down my actual application to two tables - a Fact table and a Dimension table. They both join on a field called REQ_ID. In the Fact table, this field is alphanumeric and is aliased to join to the Dimension table. In the Dimension table, it is also alpha-numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The issue in my real QVW file is that for the REQ_ID values that are alphanumeric (as opposed to integers), some of the other field values are not coming through (REQ_NAME = TBD , for example).&lt;/STRONG&gt; There are also several other joins in the actual application between the FACT table and other Dimension tables on a field called REQUEST_ID but this was stripped out to identify the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="12-15-2015 1-24-46 PM.jpg" class="jive-image image-3" src="/legacyfs/online/109120_12-15-2015 1-24-46 PM.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried to replicate this in my sample, the TBD names came through just fine. I've even tried loading the real fields as text() but it didn't work. I've been at this for days and cannot figure it out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a data model view of the stripped down real file (APP_ELD = FACT table):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="12-15-2015 1-13-37 PM.jpg" class="jive-image image-1" src="/legacyfs/online/109118_12-15-2015 1-13-37 PM.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my sample that I could NOT get to replicate the issue (TBD is what I would want to see):&lt;/P&gt;&lt;P&gt;Note&amp;nbsp; REQ_ID is displayed as REQUEST_ID &lt;/P&gt;&lt;P&gt;&lt;IMG alt="12-15-2015 1-25-45 PM.jpg" class="image-4 jive-image" src="/legacyfs/online/109121_12-15-2015 1-25-45 PM.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am completely out of ideas and steam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help, please!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936386#M323230</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-15T20:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936387#M323231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you hover over the REQ_ID field in the Dimension table, what is the subset ratio?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 21:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936387#M323231</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-12-15T21:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936388#M323232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;97%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 21:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936388#M323232</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-15T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936389#M323233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what that means is that 3% of the REQ_ID values in your fact table don't have a match in the Dim table. So the trick is to identify which values and why. I think you were already on that track but here's a suggestion to clarify the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the REQ_ID and extra time in each table, in the DIm table a REQ_ID_DIM, and the fact as REQ_ID_FACT. Then you can do a combination of Select All and Select Excluded in each of the listboxes to see what doesn't match, and what the associate REQ_ID values look like. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 21:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936389#M323233</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-12-15T21:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936390#M323234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does this address the fact that I'm not seeing TBD for the REQ_ID's that start with FCAST?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 22:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936390#M323234</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-15T22:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936391#M323235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming that you are not seeing REQ_NAME values for those keys because there is no FCAST* value in the Dim table, right? There is a mismatch between the key values. My suggestion was just a method to help identify what the key mismatch is. It doesn't correct the problem, but hopefully identifies where the problem is. Am I misunderstanding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 22:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936391#M323235</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-12-15T22:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936392#M323236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The values are in both the DIM and FACT tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 22:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936392#M323236</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-15T22:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936393#M323237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Turns out that the issue was related to this piece of Load Script Code because my FCAST* rows had a REQ_STATUS of NULL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&lt;STRONG&gt; REQ_STATUS &lt;/STRONG&gt;not in ('Not Submitted')&amp;nbsp; &lt;/P&gt;&lt;P&gt;fixed by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;STRONG&gt;isnull(REQ_STATUS, 'x')&lt;/STRONG&gt; not in ('Not Submitted')&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 19:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-type-mismatch/m-p/936393#M323237</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-16T19:53:21Z</dc:date>
    </item>
  </channel>
</rss>

