<?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: need to understand expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011505#M964933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving explanation in simple way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how to increase development skills in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or How to become expert in Qlikview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 06:39:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-07T06:39:15Z</dc:date>
    <item>
      <title>need to understand expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011501#M964925</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;&lt;/P&gt;&lt;P&gt;Can anybody tell me what is below expression trying to do and difference of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;FinancialYear=,FiscalYear={$(=max(FiscalYear))},&lt;/P&gt;&lt;P&gt;Date={"&amp;gt;=$(=YearStart(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),0,4))&amp;lt;=$(=max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date))"}&amp;gt;}Values )/10000000&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;FinancialYear=,FiscalYear={$(=max(FiscalYear)-1)}&lt;/P&gt;&lt;P&gt;,Date={"&amp;gt;=$(=YearStart(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),-1,4))&amp;lt;=$(=addmonths(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),-12))"}&lt;/P&gt;&lt;P&gt;&amp;gt;}Values )/10000000&lt;/P&gt;&lt;P&gt;----------------------------&lt;/P&gt;&lt;P&gt; Sum({$&amp;lt;FinancialYear=,FiscalYear={$(=max(FiscalYear)-1)}&amp;gt;}Values )/10000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 04:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011501#M964925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-07T04:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: need to understand expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011502#M964927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First expression is summing the Values for max year between the fiscal year start (which starts from April) to the most recent date. So basically YTD for the most recent year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second expressions seems to be summing the YTD for the last fiscal year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third expression is summing the Values for whole of the last fiscal year (not just the YTD)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 04:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011502#M964927</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-07T04:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: need to understand expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011503#M964930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick response I am getting to much difficulties to understand this complex expression or you can say i am not able to understand qlikview functionality for this what should i do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me how to understand this types of logic in better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please simplify my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want to become expert like you. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 04:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011503#M964930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-07T04:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: need to understand expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011504#M964932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;=Sum({$&amp;lt;FinancialYear=,FiscalYear={$(=max(FiscalYear))},&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Date={"&amp;gt;=$(=YearStart(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),0,4))&amp;lt;=$(=max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date))"}&amp;gt;}Values )/10000000&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets just start with this first expression, may be once you understand this, you will have a better understanding of how the other expressions are working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;FinancialYear=&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This part means that ignore any selections made in FinancialYear list box (your expression won't change on any selections made in FinancialYear list box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;FiscalYear={$(=max(FiscalYear))}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This part means that look at only the FiscalYear where it equals the Max(FiscalYear). So for instance in your database you have a max fiscal year of 2015 then this expression will only display the result for 2015 fiscal year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;Date={"&amp;gt;=$(=YearStart(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),0,4))&amp;lt;=$(=max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date))"}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets break this one down into two pieces:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;gt;=$(=YearStart(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),0,4))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;This part is Looking at max(Date) -&amp;gt; &lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;SPAN style="color: #ff0000;"&gt;max&lt;/SPAN&gt;({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}&lt;SPAN style="color: #ff0000;"&gt;Date&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/STRONG&gt; but only for the most recent fiscal year -&amp;gt; &lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;FiscalYear={$(=max(FiscalYear))}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;So lets say you have the max date of 12/31/2015 then this -&amp;gt; &lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;SPAN style="color: #575757;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="color: #575757;"&gt;({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date) &lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;= 12/31/2015, but since you also have YearStart around the max function and you are specifying that 4 (april) is your start year your date changes to 04/01/2015.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;gt;=$(=YearStart(max({$&amp;lt;FiscalYear={$(=max(FiscalYear))}&amp;gt;}Date),0,4)) &lt;/EM&gt;&lt;/STRONG&gt;will equal &lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt; 04/01/2015&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;=$(=max({$&amp;lt;FiscalYear={$(=max(FiscalYear))&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;EM&gt;}&amp;gt;}Date))"}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="padding-left: 30px;"&gt;This part is simple as it is the same as above but without the yearstart so this expression will give you &lt;STRONG&gt;&amp;lt;= 12/31/2015&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Rest of the things are pretty straight forward where you are simply summing the Values with the above filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 05:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011504#M964932</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-07T05:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: need to understand expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011505#M964933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving explanation in simple way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how to increase development skills in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or How to become expert in Qlikview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 06:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011505#M964933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-07T06:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: need to understand expression</title>
      <link>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011506#M964934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish there was a magical potion that we can use to learn QlikView, but unfortunately there is nothing like that available. You learn as you do new things and over the course of few years you will find yourself more confident.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I can suggest is to be very pro-active on the community, the more you participate, the faster you will learn. I have been on QlikView just over a year now, and you will find me very actively participating in as many discussions as I can. I am not perfect and still learning and I definitely make a lot of mistakes, but the best part is, I learnt the most by making those mistakes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I will actively see your name on the community going forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 15:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-to-understand-expression/m-p/1011506#M964934</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-07T15:19:26Z</dc:date>
    </item>
  </channel>
</rss>

