<?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: Chart expression - closed dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275566#M400722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;Am I right in assuming the original table that holds these fields will simply be concatenated with its self whilst creating the new field types and then dropping? This will not be an island table linking to the original table it will take its place, is that what you mean by remodel my data? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2016 17:42:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-07T17:42:58Z</dc:date>
    <item>
      <title>Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275563#M400719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have an app that reports on closed incidents on a IT helpdesk. One bar chart has 2 expressions and a dimension of calendar month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1. all incidents open in a given month so COUNT(CreatedDate)&lt;/P&gt;&lt;P&gt;Expression2. all incidents closed in a given month. I cannot use COUNT(ClosedDate) because I will get a count of 1 for a record even if the closed date equals the following month so I need a different expression for this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea's?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2016 15:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275563#M400719</guid>
      <dc:creator />
      <dc:date>2016-12-03T15:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275564#M400720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually , this type of report goes out at the end of every month. Please ensure you reload the application after the month ends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Kaveri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 06:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275564#M400720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-05T06:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275565#M400721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess is you need another dimension for this. You're probably using a dimension based on CreatedDate. You need to remodel your data so you have a date dimension that can be used for counting both opened and closed calls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CallsTimeLine:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CallID,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreatedDate as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Created' as DateType&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as CreatedCount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...perhaps some other fields...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...sourcedata...&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(Trim(CreatedDate))&amp;gt;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENTE (CallsTimeline)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CallID,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ClosedDate as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Closed' as DateType&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as ClosedCount&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...perhaps some other fields...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...sourcedata...&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Len(Trim(CreatedDate))&amp;gt;0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then use the common &lt;STRONG&gt;Date&lt;/STRONG&gt; field as dimension and expressions like sum(CreatedCount) and sum(ClosedCount).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 09:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275565#M400721</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-05T09:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275566#M400722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;Am I right in assuming the original table that holds these fields will simply be concatenated with its self whilst creating the new field types and then dropping? This will not be an island table linking to the original table it will take its place, is that what you mean by remodel my data? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 17:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275566#M400722</guid>
      <dc:creator />
      <dc:date>2016-12-07T17:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275567#M400723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It creates a new table. You can decide for yourself if you want the one you created as well. The two tables would be associated on the common fields. An identifier like CallID sounds like a good candidate. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 18:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275567#M400723</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-07T18:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275568#M400724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have kept both tables linked with the ID, I have then used the DATE from the new table as the dimension in my bar chart but the results do not tally evenly for given months, they actually spread across many months in some cases. My Calendar is still based on the CreatedDate from the Incident table.&lt;/P&gt;&lt;P&gt;Even if I did use only the new table my Calendar would still be based on this so cannot see how this will work whilst using my main calendar. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 22:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275568#M400724</guid>
      <dc:creator />
      <dc:date>2016-12-07T22:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275569#M400725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you base your main calendar on the CreatedDate field then you'll never get the ClosedDate counts right. That's another dimension. Any ClosedDate is a value in a record that also has a CreatedDate. And that CreatedDate is the dimension you're using as x-axis in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to base your calendar on the Date field of the new table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 06:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275569#M400725</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-08T06:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Chart expression - closed dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275570#M400726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Gysbert, I figured this out not long after posting my reply. Just verifying the results now and adding a few additional fields. I see what you mean now when you say remodel my data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 08:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-expression-closed-dates/m-p/1275570#M400726</guid>
      <dc:creator />
      <dc:date>2016-12-08T08:52:43Z</dc:date>
    </item>
  </channel>
</rss>

