<?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: Different results from WinSQL and Qlikview for the exact same query? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164343#M94564</link>
    <description>&lt;P&gt;It's probably not the load which excludes duplicates else it's the UI object which always showed distinct values.&lt;/P&gt;
&lt;P&gt;To track it I suggest that you add a record-id and if none exists to create ones with recno() and rowno() within the Qlik load (not within the SQL part else within a separate load or a preceding load). Within the UI add both record counter-fields in the object and you could see which records are really there.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 11:37:02 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-01-23T11:37:02Z</dc:date>
    <item>
      <title>Different results from WinSQL and Qlikview for the exact same query?</title>
      <link>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164123#M94538</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a Qlikview model that extracts data from an ERP system database via ODBC.&amp;nbsp; However, the data returned was inconsistent with what was expected. So I isolated the query in question and created a new Qlikview model with only this query and no conversion or anything and just presented the returned values in a straight table, which I then exported to an Excel document to review.&lt;/P&gt;
&lt;P&gt;What I found was that the exact same query in WinSQL directly querying the database gave a different result to the query in the load script of my QV model. There were records missing in the QV model. At first I thought maybe there was duplicates that QV merged somehow, but even when adding a DISTINCT in my WinSQL query, it is still the same.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Qlikview version is 11.20.12904.0&lt;/P&gt;
&lt;P&gt;Any ideas why this could be?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164123#M94538</guid>
      <dc:creator>Matty</dc:creator>
      <dc:date>2024-11-15T21:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from WinSQL and Qlikview for the exact same query?</title>
      <link>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164343#M94564</link>
      <description>&lt;P&gt;It's probably not the load which excludes duplicates else it's the UI object which always showed distinct values.&lt;/P&gt;
&lt;P&gt;To track it I suggest that you add a record-id and if none exists to create ones with recno() and rowno() within the Qlik load (not within the SQL part else within a separate load or a preceding load). Within the UI add both record counter-fields in the object and you could see which records are really there.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 11:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164343#M94564</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-01-23T11:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from WinSQL and Qlikview for the exact same query?</title>
      <link>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164630#M94595</link>
      <description>&lt;P&gt;I figured it out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Apparently a straight table is only showing unique rows and not ALL rows, so therefore records were missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I used a pivot table instead I got the correct results.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 00:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Different-results-from-WinSQL-and-Qlikview-for-the-exact-same/m-p/2164630#M94595</guid>
      <dc:creator>Matty</dc:creator>
      <dc:date>2024-01-24T00:03:59Z</dc:date>
    </item>
  </channel>
</rss>

