<?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: group by date SQL Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985078#M14345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both fields are named exactly the same and no joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 11:16:02 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2015-10-02T11:16:02Z</dc:date>
    <item>
      <title>group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985073#M14340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table loaded in via a SQL server,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, the filter pain for Order_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is showing multiple order date instances&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;04/04/2015&lt;/P&gt;&lt;P&gt;04/04/2015&lt;/P&gt;&lt;P&gt;04/04/2015&lt;/P&gt;&lt;P&gt;04/04/2015&lt;/P&gt;&lt;P&gt;06/04/2015&lt;/P&gt;&lt;P&gt;06/04/2015&lt;/P&gt;&lt;P&gt;06/04/2015&lt;/P&gt;&lt;P&gt;07/04/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish it to show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;04/04/2015&lt;/P&gt;&lt;P&gt;06/04/2015&lt;/P&gt;&lt;P&gt;07/04/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way of grouping by the date??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a calendar, and the based on the order date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;day(Order Date) in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the same happens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985073#M14340</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-02T10:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985074#M14341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Master Calendar to link to your transactional data on order date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots of resources on the site around how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985074#M14341</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-10-02T10:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985075#M14342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should get you started on the prinicples&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8642"&gt;Understanding the Master Calendar (video)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985075#M14342</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-10-02T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985076#M14343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have like this and have the same issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar: DECLARE FIELD DEFINITION TAGGED '$date' &lt;BR /&gt;Parameters first_month_of_year = 1,&lt;BR /&gt;fiscal_first_month_of_year = 4 &lt;/P&gt;&lt;P&gt;Fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year($1) As Year Tagged '$year',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Year($1) &amp;gt;= 2010, Year($1)) as DropDownYear,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Month($1)&amp;gt;=4, Year($1), Year($1) -1) as FiscalYear Tagged '$fiscalyear',&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month($1) as Month Tagged '$month',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Month($1)&amp;gt;=4, Month($1)-3,Month($1)+9) as FiscalMonthNumber Tagged '$FiscalMonthNumber',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date($1) as Date Tagged ('$date', '$day'),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Week($1) as Week Tagged '$week',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekday($1) as Weekday Tagged '$weekday',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Q' &amp;amp; Ceil(Month($1)/3)&amp;nbsp; as FinancialQuarter Tagged '$FinancialQuarter';&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DERIVE FIELDS FROM FIELDS [Order_Date] USING Calendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and still no joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:46:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985076#M14343</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-02T10:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985077#M14344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you make your date field in your calendar Order Date Qlik will join your Order table with this Calendar on Order Date and your group issue should be resolved.&amp;nbsp; Rename this OrderCalendar and the other fields incase you need more than one in your model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 10:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985077#M14344</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-10-02T10:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985078#M14345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both fields are named exactly the same and no joy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 11:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985078#M14345</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-02T11:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985079#M14346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bring up your data model in model view to confirm the join select the order calendar and preview the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check you haven't got duplicates in your calendar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 11:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985079#M14346</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-10-02T11:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985080#M14347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do because they are a date and time in sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way of grouping these?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 12:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985080#M14347</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-02T12:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985081#M14348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes in your load script when adding your order data create a new field called OrderDate which excludes time (This can be done in your SQL View or Qlik using their respective formatting functions) and build and join your calendar on that new date only field and you will be fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename your original field orderdatetime so you can use it in your dashboard if you need that granulatity in future charts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 12:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985081#M14348</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-10-02T12:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985082#M14349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joanna this almost certainly do your dates actually having a time component that is hidden by Qlik by default. You see duplications of the days because there is hidden timestamp that is different between the same date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your primary load of the date field use the following qlik expression to remove the timestamp part&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor([DateField]))&amp;nbsp; as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If qlik understands your date field as a date or date/time it will assign it a number where the whole number represents a calendar day and the decimal numbers represent hours, minutes etc... (time).&amp;nbsp; the Floor function rounds down and effectively turns the date into just a day based date.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 13:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985082#M14349</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-10-02T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: group by date SQL Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985083#M14350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;worked a treat thank you xx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joeybird &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 13:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/group-by-date-SQL-Qlik-Sense/m-p/985083#M14350</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-10-02T13:19:23Z</dc:date>
    </item>
  </channel>
</rss>

