<?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 Calculated dimension with min and max dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-min-and-max-dates/m-p/353219#M131050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field as DateReceived, My user will select one date, so from that selected date to 30 days back, i need to show a bar chart showing emailcount on it, something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to write a calculated dimension for this. i want to display all the possible dates in dimension which has email counts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I have the below code to calculate 30 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13396771409194399" jivemacro_uid="_13396771409194399"&gt;&lt;P&gt;=Count( {&amp;lt;DateReceived={"&amp;gt;=$(=Date(Max(Floor(Num(DateReceived)))-30))&amp;lt;=$(=Date(Max(DateReceived)))"}&amp;gt;} distinct [Email ID of Notice Recipient])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 12:35:58 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2012-06-14T12:35:58Z</dc:date>
    <item>
      <title>Calculated dimension with min and max dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-min-and-max-dates/m-p/353219#M131050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a date field as DateReceived, My user will select one date, so from that selected date to 30 days back, i need to show a bar chart showing emailcount on it, something like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am struggling to write a calculated dimension for this. i want to display all the possible dates in dimension which has email counts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I have the below code to calculate 30 days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13396771409194399" jivemacro_uid="_13396771409194399"&gt;&lt;P&gt;=Count( {&amp;lt;DateReceived={"&amp;gt;=$(=Date(Max(Floor(Num(DateReceived)))-30))&amp;lt;=$(=Date(Max(DateReceived)))"}&amp;gt;} distinct [Email ID of Notice Recipient])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;Ranjith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 12:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-min-and-max-dates/m-p/353219#M131050</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2012-06-14T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension with min and max dates</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-min-and-max-dates/m-p/353220#M131051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ranjiby &lt;/P&gt;&lt;P&gt;may i kn what your expression gives result.&lt;/P&gt;&lt;P&gt;is it showing only selected date and last month date data.??&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 12:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-with-min-and-max-dates/m-p/353220#M131051</guid>
      <dc:creator>rohit214</dc:creator>
      <dc:date>2012-06-14T12:57:17Z</dc:date>
    </item>
  </channel>
</rss>

