<?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: Set Analysis Date range doesn't work when we select a date? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422910#M817835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Dim_Date&lt;/STRONG&gt;={"&amp;gt;=$(=MonthStart(AddMonths(Max(&lt;STRONG&gt;Dim_Date&lt;/STRONG&gt;),-1)))&amp;lt;$(=MonthEnd(Max(&lt;STRONG&gt;Dim_Date&lt;/STRONG&gt;)))"}&amp;gt;}&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Amount&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2017 09:38:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-01T09:38:34Z</dc:date>
    <item>
      <title>Set Analysis Date range doesn't work when we select a date?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422906#M817831</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;I have used the below expression to calculate the amount starting from financial year to this date. But, When I try to change the date in the filters, the below expression doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example;&lt;/P&gt;&lt;P&gt;If I select date as 01/05/2017 in the filter, The report should list the values starting from 01/04/2017 to 01/05/2017 but instead it calculates all the values from 01/04/2017 to today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the below expression in my report;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Sum({&amp;lt;Dim_Date={'&amp;gt;=$(=YearStart(Max(Dim_Date),0,4)) &amp;lt;=$(=Max(Dim_Date)))'}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What so strange here is when I put the start date in one text box and end date expression in one text box and then I select the date in filters, The dates are changing in the text boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to fix this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422906#M817831</guid>
      <dc:creator>Shriram_Sridhar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date range doesn't work when we select a date?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422907#M817832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must declare the Variable name like&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;Dim_Date={'&amp;gt;=$(=YearStart(Max(Dim_Date),0,4)) &amp;lt;=$(DateRangeVariableName)'}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;Dim_Date={'&amp;gt;=$(=YearStart(Max(Dim_Date),0,4)) &amp;lt;=$(=Max(Dim_Date))&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;)&lt;/SPAN&gt;'}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;May be one extra parenthesis written&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 06:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422907#M817832</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-01T06:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date range doesn't work when we select a date?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422908#M817833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.Again I'm having the same problem. Is there any other simpler way to solve this. The Date inside the expression should change as I change the date in the filters, Also the year function too should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422908#M817833</guid>
      <dc:creator>Shriram_Sridhar</dc:creator>
      <dc:date>2017-09-01T08:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date range doesn't work when we select a date?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422909#M817834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please attach work file to test&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 08:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422909#M817834</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-01T08:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date range doesn't work when we select a date?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422910#M817835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;Dim_Date&lt;/STRONG&gt;={"&amp;gt;=$(=MonthStart(AddMonths(Max(&lt;STRONG&gt;Dim_Date&lt;/STRONG&gt;),-1)))&amp;lt;$(=MonthEnd(Max(&lt;STRONG&gt;Dim_Date&lt;/STRONG&gt;)))"}&amp;gt;}&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Amount&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 09:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422910#M817835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-01T09:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date range doesn't work when we select a date?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422911#M817836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about if you use Date() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Dim_Date = {&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;$(='&amp;gt;=' &amp;amp; &lt;SPAN style="color: #ff0000;"&gt;Date(&lt;/SPAN&gt;YearStart(Max(Dim_Date), 0, 4)&lt;SPAN style="color: #ff0000;"&gt;, 'DD/MM/YYYY')&lt;/SPAN&gt; &amp;amp; '&amp;lt;=' &amp;amp; &lt;SPAN style="color: #ff0000;"&gt;Date(&lt;/SPAN&gt;Max(Dim_Date)&lt;SPAN style="color: #ff0000;"&gt;, 'DD/MM/YYYY')&lt;/SPAN&gt;)&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&amp;gt;} Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-range-doesn-t-work-when-we-select-a-date/m-p/1422911#M817836</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-01T11:36:06Z</dc:date>
    </item>
  </channel>
</rss>

