<?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 Year To Date Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563494#M1110211</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 have a simple calculation like this (count(P2_skär) + count (P2_tryck)) and i present the answer in a guage chart.&lt;/P&gt;&lt;P&gt;It works fine when i choose a specific month or months but it's not the sum i want.&lt;/P&gt;&lt;P&gt;I would like the chart to show me the answer divided by the number of months this year (average for year to date).&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2014 09:10:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-12T09:10:29Z</dc:date>
    <item>
      <title>Year To Date Question</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563494#M1110211</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 have a simple calculation like this (count(P2_skär) + count (P2_tryck)) and i present the answer in a guage chart.&lt;/P&gt;&lt;P&gt;It works fine when i choose a specific month or months but it's not the sum i want.&lt;/P&gt;&lt;P&gt;I would like the chart to show me the answer divided by the number of months this year (average for year to date).&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 09:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563494#M1110211</guid>
      <dc:creator />
      <dc:date>2014-03-12T09:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Date Question</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563495#M1110212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mats,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very few things are generally not possible.&lt;/P&gt;&lt;P&gt;To get a YTD status, you will have to&lt;/P&gt;&lt;P&gt;- use a set_analysis_expression with the {1} to ignore all user_selections&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;=&amp;gt; but in that same expression, set a filter for the current year&lt;/P&gt;&lt;P&gt;=&amp;gt; Keep in mind that to use set_expression, you always need some aggregation_function. Avg() would seem a good idea to get the YTD_average (there are limitations, Henric Cronstroem has written about that, but I think that for the "rest of us", the traditional average is good enough)&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 09:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563495#M1110212</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-03-12T09:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Date Question</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563496#M1110214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mats,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example document shows how year to date can be calculated:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4321"&gt;QlikView App: Simple Year To Date Example (Set Analysis)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could then simply divide by the max month variable to give you the average over months to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 09:25:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Question/m-p/563496#M1110214</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-03-12T09:25:31Z</dc:date>
    </item>
  </channel>
</rss>

