<?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 Yeartodate formula is not working for multiple selection. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147119#M25573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;Check the attached application and let me know if it works.&lt;/P&gt;&lt;P&gt;I have tested this app, Working perfectly as expected.&lt;/P&gt;&lt;P&gt;Please check and let me know.&lt;/P&gt;&lt;P&gt;&lt;B&gt;- Sridhar&lt;/B&gt; &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2009 14:19:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-23T14:19:57Z</dc:date>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147113#M25567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question on Year to date formula.&lt;/P&gt;&lt;P&gt;We use the formula below, to calculate the Year to date.&lt;/P&gt;&lt;P&gt;=Sum (all if(Actual_Data.Month1 &amp;gt;= date(yearstart(Variable1),'DD/MM/YYYY') and Actual_Data.Month1&amp;lt;=Variable1,Actual_Data.Act_Data/1000000 )) where variable1==max(Actual_Data.Month1).&lt;/P&gt;&lt;P&gt;Consider, I have two selection criteria, 'Business' and 'Group'. When we select either the group or business, the result is not affected. So, the formula is changed to&lt;/P&gt;&lt;P&gt;=Sum (all &amp;lt;Business,Group&amp;gt; if(Actual_Data.Month1 &amp;gt;= date(yearstart(Variable1),'DD/MM/YYYY') and Actual_Data.Month1&amp;lt;=Variable1,Actual_Data.Act_Data/1000000 )). But, this also didn't help.&lt;BR /&gt;Can someone help me with the formula. I need to display the values in the straight table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 19:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147113#M25567</guid>
      <dc:creator />
      <dc:date>2009-06-18T19:40:47Z</dc:date>
    </item>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147114#M25568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got the formula.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 23:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147114#M25568</guid>
      <dc:creator />
      <dc:date>2009-06-18T23:06:31Z</dc:date>
    </item>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147115#M25569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh&lt;/P&gt;&lt;P&gt;From your request I think you were almost there ... Total rather than all and you don't need the subtotals (&amp;lt;Business,Group&amp;gt;)&lt;/P&gt;&lt;P&gt;I have quickly knocked up a quick example (see attached)&lt;/P&gt;&lt;P&gt;I hope this helps &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 05:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147115#M25569</guid>
      <dc:creator />
      <dc:date>2009-06-19T05:12:28Z</dc:date>
    </item>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147116#M25570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keeble,&lt;BR /&gt;I appreciate your help.&lt;BR /&gt;The file you have designed is not working for YTD as expected. My requirement was, if I select 2nd month, the result should be a sum of 1st and 2nd month and so on, but your result was just the sum of 2nd month. Is there any other way to do that?&lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 16:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147116#M25570</guid>
      <dc:creator />
      <dc:date>2009-06-19T16:27:27Z</dc:date>
    </item>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147117#M25571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I`m following this thread for past two days but no replies.&lt;/P&gt;&lt;P&gt;Plz help on this &lt;IMG alt="Geeked" src="http://community.qlik.com/emoticons/emotion-15.gif" /&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;- Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2009 18:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147117#M25571</guid>
      <dc:creator />
      <dc:date>2009-06-19T18:31:39Z</dc:date>
    </item>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147118#M25572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;Normal 0 false false false MicrosoftInternetExplorer4 &lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Santhosh&lt;/P&gt;&lt;P&gt;Sorry for the delay but I think I understand what you want to do now.&lt;/P&gt;&lt;P&gt;I would not do the formula in the table as it is not the most efficient as you will calculate every transactional record to calculate YTD.&lt;/P&gt;&lt;P&gt;I would do the aggregation in the script. If you have a look at the revised attachment and it is the YTD1 field which I then use in the tables.&lt;/P&gt;&lt;P&gt;Hope this makes some sense ?&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2009 04:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147118#M25572</guid>
      <dc:creator />
      <dc:date>2009-06-20T04:54:10Z</dc:date>
    </item>
    <item>
      <title>Yeartodate formula is not working for multiple selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147119#M25573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh,&lt;/P&gt;&lt;P&gt;Check the attached application and let me know if it works.&lt;/P&gt;&lt;P&gt;I have tested this app, Working perfectly as expected.&lt;/P&gt;&lt;P&gt;Please check and let me know.&lt;/P&gt;&lt;P&gt;&lt;B&gt;- Sridhar&lt;/B&gt; &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2009 14:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Yeartodate-formula-is-not-working-for-multiple-selection/m-p/147119#M25573</guid>
      <dc:creator />
      <dc:date>2009-06-23T14:19:57Z</dc:date>
    </item>
  </channel>
</rss>

