<?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: Re: How to SUM for YTM ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486629#M1140167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ehm, have one more Q related - the user is selecting instead the MonthID - the MonthName which is a non-numeric field &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;I`m struggling to adapt the logic to the MonthName.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Sep 2013 12:29:11 GMT</pubDate>
    <dc:creator>martin_cevela</dc:creator>
    <dc:date>2013-09-05T12:29:11Z</dc:date>
    <item>
      <title>How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486623#M1140156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to SUM for YTM? I need to compare the sum of revenue for current year with the sum of forecast from begin of the year until the month selected. Examples found are only returning the SUM for the selected month and not the SUM for YTM. I`m new to QV and have found X ways that claim YTM solution, but unfortunately none of them works for me…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;({ &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;={'$(CurrentYearID)'}&amp;gt; } &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: maroon;"&gt;AmountEURFixed&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;={'$(CurrentYearID)'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: maroon;"&gt;MonthID&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt; = {'&amp;lt;=$(CurrentMonthID)'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: maroon;"&gt;ForecastEURFixed&lt;/SPAN&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: black;"&gt;,'#,##%') &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression returns the SUM for selected month (AmountEURFixed &amp;amp; ForecastEURFixed) or if no value selected then the Current Year SUM for AmountEURFixed &amp;amp; YTM SUM for ForecastEURFixed. However, what would be the amendment need to get the dynamic SUM for YTM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help here!&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 14.0pt; font-family: 'Courier New'; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 09:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486623#M1140156</guid>
      <dc:creator>martin_cevela</dc:creator>
      <dc:date>2013-09-05T09:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486624#M1140157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share your sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 10:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486624#M1140157</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-05T10:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486625#M1140158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally managed to figure out how to upload my example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 10:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486625#M1140158</guid>
      <dc:creator>martin_cevela</dc:creator>
      <dc:date>2013-09-05T10:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486626#M1140159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;May be like this? PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 10:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486626#M1140159</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-05T10:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486627#M1140160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Exactly like this! Thanks for your time Treseco. &lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;I have found this expression and natively removed the date part...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, I got the fish, but want to learn how to catch too (if you can spare one more reply), and hence&lt;BR /&gt;would like to understand why the "Date" is needed here although data&lt;BR /&gt;is aggregated to months (coming out of SQL world...)?&lt;STRONG&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486627#M1140160</guid>
      <dc:creator>martin_cevela</dc:creator>
      <dc:date>2013-09-05T11:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486628#M1140162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't include Date, then also you can get the desired result, but then you have to bypass the Date field selection and write the set expression accordingly. With the above solution you have the fexlibility to get the dynamic YTD as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486628#M1140162</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-05T11:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486629#M1140167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ehm, have one more Q related - the user is selecting instead the MonthID - the MonthName which is a non-numeric field &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;I`m struggling to adapt the logic to the MonthName.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 12:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486629#M1140167</guid>
      <dc:creator>martin_cevela</dc:creator>
      <dc:date>2013-09-05T12:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to SUM for YTM ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486630#M1140169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;ok - sorry for being so dummy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;This is the amendment I was looking for....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(CurrentYearID)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(MonthID))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AmountEURFixed&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'$(CurrentYearID)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=Max(MonthID))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ForecastEURFixed&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '#,##%') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 12:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-SUM-for-YTM/m-p/486630#M1140169</guid>
      <dc:creator>martin_cevela</dc:creator>
      <dc:date>2013-09-05T12:40:10Z</dc:date>
    </item>
  </channel>
</rss>

