<?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: Dynamic Year to Date Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637035#M1093420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...that is true but when I select a "State" (list box) I would expect to see a YTD result for the state selected.&amp;nbsp; With the 1 it does not consider the selection of state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 May 2014 17:57:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-17T17:57:34Z</dc:date>
    <item>
      <title>Dynamic Year to Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637033#M1093418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping to get some help with a set expression that dynamically calculates a YTD sum based on selections.&amp;nbsp; Attached is the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm successful on calculating YTD based on a selection of "Year" and 'Month" using the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;CalDate= {'&amp;gt;=$(=YearStart(Max(CalDate)))&amp;lt;=$(=Max(CalDate))'}&amp;gt;}NetCount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I'm using a "1" I'm unable now to select a state and get correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take out the "1" I get cumulative sum of only the "Year" and "Month" (MTD) that is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure there is a simple solution here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2014 17:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637033#M1093418</guid>
      <dc:creator />
      <dc:date>2014-05-17T17:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Year to Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637034#M1093419</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;I believe your expression work fines that is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({1&amp;lt;CalDate= {'&amp;gt;=$(=YearStart(Max(CalDate)))&amp;lt;=$(=Max(CalDate))'}&amp;gt;}NetCount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and why you want to remove the 1 from expression.If you select Year then month it will calculate the YTD calculation.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2014 17:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637034#M1093419</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-05-17T17:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Year to Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637035#M1093420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...that is true but when I select a "State" (list box) I would expect to see a YTD result for the state selected.&amp;nbsp; With the 1 it does not consider the selection of state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2014 17:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637035#M1093420</guid>
      <dc:creator />
      <dc:date>2014-05-17T17:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Year to Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637036#M1093421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;Year=, Month=,CalDate= {'&amp;gt;=$(=YearStart(Max(CalDate)))&amp;lt;=$(=Max(CalDate))'}&amp;gt;}NetCount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2014 20:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637036#M1093421</guid>
      <dc:creator />
      <dc:date>2014-05-17T20:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Year to Date Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637037#M1093423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dariusz!&amp;nbsp; That work perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 18:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Year-to-Date-Calculation/m-p/637037#M1093423</guid>
      <dc:creator />
      <dc:date>2014-05-18T18:21:57Z</dc:date>
    </item>
  </channel>
</rss>

