<?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 Count Function in SQL not working from Qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810102#M1212507</link>
    <description>&lt;P&gt;I have a simple select count sql statement which is not working from qlikview&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;Select&lt;BR /&gt;count(BusinessEntityID)&lt;BR /&gt;from [Person].[BusinessEntityAddress];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However same script is working from dbms.&lt;/P&gt;&lt;P&gt;I have used OLEDB connect statement&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 17:19:04 GMT</pubDate>
    <dc:creator>rohitgupta_ey</dc:creator>
    <dc:date>2021-05-24T17:19:04Z</dc:date>
    <item>
      <title>Count Function in SQL not working from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810102#M1212507</link>
      <description>&lt;P&gt;I have a simple select count sql statement which is not working from qlikview&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;Select&lt;BR /&gt;count(BusinessEntityID)&lt;BR /&gt;from [Person].[BusinessEntityAddress];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However same script is working from dbms.&lt;/P&gt;&lt;P&gt;I have used OLEDB connect statement&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810102#M1212507</guid>
      <dc:creator>rohitgupta_ey</dc:creator>
      <dc:date>2021-05-24T17:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in SQL not working from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810105#M1212509</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Is that full load statement or did you forgot to add load. The good practice is to name result column in sql statements.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810105#M1212509</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2021-05-24T17:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in SQL not working from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810108#M1212511</link>
      <description>&lt;P&gt;yes&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46674"&gt;@mfchmielowski&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;that worked&amp;nbsp;&lt;BR /&gt;but without alias it does not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How does it work in db without alias&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810108#M1212511</guid>
      <dc:creator>rohitgupta_ey</dc:creator>
      <dc:date>2021-05-24T17:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count Function in SQL not working from Qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810142#M1212513</link>
      <description>&lt;P&gt;Hi. You need to tell qlik what column he had to load. In my case (MySQL as DB) code:&lt;BR /&gt;Table: load *; sql select count(id) from SomeTable;&amp;nbsp;&lt;BR /&gt;loads one column named count(id).&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 19:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Function-in-SQL-not-working-from-Qlikview/m-p/1810142#M1212513</guid>
      <dc:creator>mfchmielowski</dc:creator>
      <dc:date>2021-05-24T19:41:55Z</dc:date>
    </item>
  </channel>
</rss>

