<?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: Referencing a different date within an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745514#M266139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have to use the Alternate Sates. Check this out... &lt;A _jive_internal="true" href="https://community.qlik.com/thread/51147"&gt;http://community.qlik.com/thread/51147&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Mar 2015 20:32:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-18T20:32:36Z</dc:date>
    <item>
      <title>Referencing a different date within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745513#M266138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Times New Roman;"&gt;HI,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Times New Roman;"&gt;I have a list of calls that have associated created (CallDate) and closed (ClosedDate) dates.&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I am wanting to see what is closed on a certain date – with the chart dimension based on CallDate.&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;I have wrote the following but it is only returning calls that are closed on the same day.&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;Any help on how to complete this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; ; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;CallDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;ClosedDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;={'=CallDate'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;CallID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;CallDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt;"&gt;))&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 20:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745513#M266138</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2015-03-18T20:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a different date within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745514#M266139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have to use the Alternate Sates. Check this out... &lt;A _jive_internal="true" href="https://community.qlik.com/thread/51147"&gt;http://community.qlik.com/thread/51147&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 20:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745514#M266139</guid>
      <dc:creator />
      <dc:date>2015-03-18T20:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a different date within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745515#M266140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a chart with CallDate as dimension and the following as measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Count(distinct If(ClosedDate&amp;lt;CallDate,CallID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 21:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745515#M266140</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-18T21:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a different date within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745516#M266141</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;Thanks for your replies!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;srukmana - I have not did much with alternative states, I will have a play and see how I get on.&amp;nbsp; Would you just create an alternative state for the closedDate and reference it within the chart or would it all need to be in a different state?&amp;nbsp; I just want to make sure we do not lose the functionality of all the other selectors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Henric, Thanks for the reply, unfortunately not exactly what I am after.&amp;nbsp; I am wanting to find those that were closed on a certain date, but also not limited to calls that were raised on the date.&amp;nbsp; The problem I am having is the data model is based on the call raised date and was trying to ignore it even though it is the date of the dimension, and return those calls closed on that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745516#M266141</guid>
      <dc:creator>paulm</dc:creator>
      <dc:date>2015-03-19T09:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a different date within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745517#M266142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use CallDate as dimension, then the count of CallIDs will pertain to the CallDate, no matter how you define your condition. But if you instead want to see the number of calls closed on a certain date, you should use CloseDate as dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show both along the same date axis, you should read &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date"&gt;Canonical Date&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 09:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745517#M266142</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-19T09:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a different date within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745518#M266143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 15:52:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-different-date-within-an-expression/m-p/745518#M266143</guid>
      <dc:creator />
      <dc:date>2015-03-19T15:52:50Z</dc:date>
    </item>
  </channel>
</rss>

