<?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: how to use count and cast functions in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037870#M642343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dathu &lt;/P&gt;&lt;P&gt;Thanks for the response, but i couldnt get the result from the floor function I used 'DayName' Function and i got the result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:bhai@dattu.qv"&gt;bhai@dattu.qv&lt;/A&gt;&lt;SPAN&gt;@dattu.qv&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jan 2016 12:52:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-21T12:52:34Z</dc:date>
    <item>
      <title>how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037867#M642340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Namaste to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please tell me, how to write the below sql query in qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT CAST(DT_CREAT AS DATE) , Count(*) from Autopallet_registration GROUP BY&amp;nbsp; CAST(DT_CREAT AS DATE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 14:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037867#M642340</guid>
      <dc:creator />
      <dc:date>2016-01-20T14:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037868#M642341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor(DT_CREAT) AS Date_created&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(&lt;SPAN style="font-size: 13.3333px;"&gt;DT_CREAT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;From source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;group by &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Floor(DT_CREAT)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 17:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037868#M642341</guid>
      <dc:creator />
      <dc:date>2016-01-20T17:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037869#M642342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;some more method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Date_created,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COunt(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt;DT_CREAT)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Group by&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Date_created&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Floor(DT_CREAT) AS Date_created&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DT_CREAT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;From source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 17:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037869#M642342</guid>
      <dc:creator />
      <dc:date>2016-01-20T17:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037870#M642343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dathu &lt;/P&gt;&lt;P&gt;Thanks for the response, but i couldnt get the result from the floor function I used 'DayName' Function and i got the result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:bhai@dattu.qv"&gt;bhai@dattu.qv&lt;/A&gt;&lt;SPAN&gt;@dattu.qv&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 12:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037870#M642343</guid>
      <dc:creator />
      <dc:date>2016-01-21T12:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037871#M642344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are connecting to query the database, you need something like this:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;Floor()&lt;/SPAN&gt; rounds &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;x&lt;/SPAN&gt; down to the nearest multiple of &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;step&lt;/SPAN&gt; [+ &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;offset&lt;/SPAN&gt;]. The default value of &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;offset&lt;/SPAN&gt; is 0. Compare with the &lt;SPAN class="statement" data-mc-conditions="Primary.NotToTranslate" style="font-weight: bold;"&gt;ceil&lt;/SPAN&gt; function, which rounds input numbers up. &lt;SPAN class="autonumber"&gt;Syntax: &lt;/SPAN&gt;&lt;SPAN class="script_token" style="margin-top: 0.7em; margin-bottom: 0.8em; font-weight: bold;"&gt;Floor(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" style="margin-top: 0.7em; margin-bottom: 0.8em;"&gt;x[, step[, offset]]&lt;/SPAN&gt;&lt;SPAN class="statement" style="font-weight: bold;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;floor:&lt;/P&gt;&lt;P&gt;Select SQL &lt;/P&gt;&lt;P&gt;Floor(DT_CREAT) as Date_created,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DT_CREAT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;From &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Autopallet_registration &lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;count(DT_CREAT) as count_created,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DT_CREAT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;From &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Autopallet_registration &lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 17:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037871#M642344</guid>
      <dc:creator>erivera10</dc:creator>
      <dc:date>2016-01-21T17:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037872#M642345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please tell me, how to use count function while using group by&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 10:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037872#M642345</guid>
      <dc:creator />
      <dc:date>2016-01-22T10:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037873#M642346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you have two fields do not need a GROUP BY, you served for 3 or more fields, but if you want to use would be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count:&lt;/P&gt;&lt;P&gt;Load count (DT_CREAT) as count_created,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DT_CREAT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from [Autopallet_registration](qvd)&lt;/P&gt;&lt;P&gt;GROUP BY DT_CREAT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count:&lt;/P&gt;&lt;P&gt;Load ID,&lt;/P&gt;&lt;P&gt;Name ,&lt;/P&gt;&lt;P&gt;DT_CREAT,&lt;/P&gt;&lt;P&gt;count (DT_CREAT) as count_created&lt;/P&gt;&lt;P&gt;From [../qlik/qvd/Autopallet_registration.qvd](qvd)&lt;/P&gt;&lt;P&gt;Group BY ID, Name, DT_CREAT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 15:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037873#M642346</guid>
      <dc:creator>erivera10</dc:creator>
      <dc:date>2016-01-22T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037874#M642347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you extract of the database, the example would be like this:&lt;/P&gt;&lt;P&gt;Count:&lt;/P&gt;&lt;P&gt;Select SQL ID,&lt;/P&gt;&lt;P&gt;Name ,&lt;/P&gt;&lt;P&gt;DT_CREAT,&lt;/P&gt;&lt;P&gt;count (DT_CREAT) as count_created&lt;/P&gt;&lt;P&gt;From Auto Pallet Registration&lt;/P&gt;&lt;P&gt;Group by ID, Name, DT_CREAT;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 15:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037874#M642347</guid>
      <dc:creator>erivera10</dc:creator>
      <dc:date>2016-01-22T15:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037875#M642348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you sir, for the quick response. &lt;/P&gt;&lt;P&gt;Now, I clearly understood, using of count. &lt;/P&gt;&lt;P&gt;But, i have a problem because of the time stamp in the database i am using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2015-03-12 16:51:40.000&lt;/P&gt;&lt;P&gt;2015-03-12 16:54:00.000&lt;/P&gt;&lt;P&gt;2015-03-12 16:57:24.000&lt;/P&gt;&lt;P&gt;2015-03-12 17:02:00.000&lt;/P&gt;&lt;P&gt;2015-03-12 17:10:08.000&lt;/P&gt;&lt;P&gt;2015-03-12 17:10:52.000&lt;/P&gt;&lt;P&gt;2015-03-12 17:15:56.000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Task:&lt;/P&gt;&lt;P&gt;my aim is to "count the number of records per date". &lt;/P&gt;&lt;P&gt;so i have converted the "datetime" column to date and want to count the number of records per date. by grouping the records on same date.&lt;/P&gt;&lt;P&gt;I hope , I tried to explain my problem clearly.&lt;/P&gt;&lt;P&gt;Please see the code that i have wrote by using "Resident " keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA1:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "ID_ORDER",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DayName("DT_CREAT");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;SQL SELECT * &lt;/P&gt;&lt;P&gt;FROM FDB.dbo."AUTOPALLET_REGISTRATION";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; "ID_ORDER",&lt;/P&gt;&lt;P&gt;&amp;nbsp; Count(DayName(DT_CREAT)) as datecount&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident Ganesh&lt;/P&gt;&lt;P&gt;&amp;nbsp; Group By&amp;nbsp; ID_ORDER;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again. thank you for the quick response sir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037875#M642348</guid>
      <dc:creator />
      <dc:date>2016-01-22T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037876#M642349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you need another field to group, example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count:&lt;/P&gt;&lt;P&gt;Select SQL &lt;SPAN style="font-size: 13.3333px;"&gt;LongDayNames(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DT_CREAT) as &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Name_day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DT_CREAT&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;count (DT_CREAT) as count_created&lt;/P&gt;&lt;P&gt;From Auto Pallet Registration&lt;/P&gt;&lt;P&gt;Group by &lt;SPAN style="font-size: 13.3333px;"&gt;DT_CREAT&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results:&lt;/P&gt;&lt;P&gt;Name_day, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DT_CREAT, &lt;/SPAN&gt;count (DT_CREAT) as count_created&lt;/P&gt;&lt;P&gt;thursday, 2015-03-12 17:02:00.000, 1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thursday, &lt;/SPAN&gt;2015-03-12 16:51:40.000, 2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thursday, &lt;/SPAN&gt;2015-03-12 16:54:00.000, 3&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thursday, &lt;/SPAN&gt;2015-03-12 16:57:24.000, 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;monday, 2015-30-11 &lt;SPAN style="font-size: 13.3333px;"&gt;17:02:00.000, 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;monday, 2015-30-11 &lt;SPAN style="font-size: 13.3333px;"&gt;18:02:00.000, 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;monday, 2015-30-11 &lt;SPAN style="font-size: 13.3333px;"&gt;20:02:00.000, 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Example New table box&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thursday&lt;/SPAN&gt;, 4&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;monday, &lt;SPAN style="font-size: 13.3333px;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Or try a master calendar, it may be the best solution, depending on how much data you use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037876#M642349</guid>
      <dc:creator>erivera10</dc:creator>
      <dc:date>2016-01-22T17:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037877#M642350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for the late reply. I will not have access to my VPN in the weekend, so, i couldnt work with the code,. that you gave .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know,&amp;nbsp; i am unable to get the result with the code that you gave.. I am getting the error as shown below, when i use the code that you gave.&lt;/P&gt;&lt;P&gt;May i ask you, how can we count the DT_CREAT, as i told u earlier, it has time stamp, so we cant group that column since, it qill have different value for each column depending on the time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the error i get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112464_qv.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;but i got the required result with the below code, by counting the other column and grouping ti&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;DayName(DT_CREAT) , //AS Date_Created,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(ID_PLANT) AS Count1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group By&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; DayName(DT_CREAT);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;select * from Autopallet_registration&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;but, here i cam counting the other column, but i would like to count using the DT_CREAT column, is it possible&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037877#M642350</guid>
      <dc:creator />
      <dc:date>2016-01-25T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to use count and cast functions in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037878#M642351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a source error, check that you have correctly configured the ODBC or OLE DB connection, make the connection test, if the connection works, try to bring a clean table, without modifications, or try to improve DBeaver Query works. Make sure you have a connection, existing table, and other commands.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 17:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-count-and-cast-functions-in-qlikview/m-p/1037878#M642351</guid>
      <dc:creator>erivera10</dc:creator>
      <dc:date>2016-01-25T17:12:09Z</dc:date>
    </item>
  </channel>
</rss>

