<?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: Why are the wrong values loaded from my QVD? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703850#M53937</link>
    <description>&lt;P&gt;How does it look like if you put these fields within a table in the UI?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 13:00:56 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2020-05-20T13:00:56Z</dc:date>
    <item>
      <title>Why are the wrong values loaded from my QVD?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703562#M53893</link>
      <description>&lt;P&gt;Am I doing something wrong or is Qlik malfunctioning?&amp;nbsp; Why are the wrong values being loaded into the data model?&amp;nbsp; This is happening with my other QVDs too.&lt;/P&gt;&lt;P&gt;SQL Server (correct values):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SQL Server.png" style="width: 507px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33974i79520AC376E55EF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="SQL Server.png" alt="SQL Server.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;QVD (correct values):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QVD.png" style="width: 244px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33975iE6CA440E28C69872/image-size/large?v=v2&amp;amp;px=999" role="button" title="QVD.png" alt="QVD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Data model (wrong values):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data model.png" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33976iFD531125ACF3F7DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="data model.png" alt="data model.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Load statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Dim_ScrapTracker:
LOAD
    %scrapTrackerId,
    [Scrap Tracker]
FROM [lib://folder - QVDs/Dim_ScrapTracker.qvd] (qvd);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I realized Qlik brings in the data correctly if I load this table in isolation or load it first.&amp;nbsp; But if I load the fact table containing that same key field (%scrapTrackerId) first, then the values in this dimension table get shuffled around.&amp;nbsp; This is truly baffling.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703562#M53893</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2024-11-16T18:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the wrong values loaded from my QVD?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703850#M53937</link>
      <description>&lt;P&gt;How does it look like if you put these fields within a table in the UI?&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 13:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703850#M53937</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-05-20T13:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the wrong values loaded from my QVD?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703883#M53941</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It matches the data model.&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703883#M53941</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2020-05-20T14:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the wrong values loaded from my QVD?</title>
      <link>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703893#M53946</link>
      <description>&lt;P&gt;Ahhhhh, I figured it out.&amp;nbsp; I put this at the end of the script to be clever and then totally forgot about it:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;AutoNumber '%*';&lt;/LI-CODE&gt;&lt;P&gt;In this case, if the dimension table is loaded first, the auto-numbering of %scrapTrackerId just so happens to match the original numbering of that field, obscuring the fact that AutoNumber was used.&amp;nbsp; In contrast, if the fact table is loaded first, the field ends up with different numbers.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lesson: Don't be a fool and forget that you used AutoNumber!&amp;nbsp; Disable it before debugging such fields!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 14:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Why-are-the-wrong-values-loaded-from-my-QVD/m-p/1703893#M53946</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2020-05-20T14:39:15Z</dc:date>
    </item>
  </channel>
</rss>

