<?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: Set Analysis Expression Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754063#M268639</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;Your example has syntax errors, so I am not sure exactly what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(([P&amp;amp;L Level] = 's' or IsAdjustment = '1'), Sum({$&amp;lt;MonthNum = {$(=vMinMonth)}&amp;gt; * Period_1&amp;lt;CompanyName=$::CompanyName&amp;gt;} ($(OpenBalanceExpression))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or possibly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(([P&amp;amp;L Level] = 's' or IsAdjustment = '1'), 0, Sum({$&amp;lt;MonthNum = {$(=vMinMonth)}&amp;gt; * Period_1&amp;lt;CompanyName=$::CompanyName&amp;gt;} ($(OpenBalanceExpression))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 11:36:31 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-01-08T11:36:31Z</dc:date>
    <item>
      <title>Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754061#M268637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: andale mono,times;"&gt;Hi Friends,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: andale mono,times;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: andale mono,times;"&gt;I have an expression which is: If(([P&amp;amp;L Level] = 's' or IsAdjustment = '1'), ,Sum({Period_1&amp;lt;CompanyName=$::CompanyName&amp;gt;}(&lt;STRONG&gt;&lt;EM&gt;$(OpenBalanceExpression)&lt;/EM&gt;&lt;/STRONG&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;Now I have to add a condition i.e.: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;{$&amp;lt;MonthNum= {&lt;EM&gt;&lt;STRONG&gt;$(vMinMonth)&lt;/STRONG&gt;&lt;/EM&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;How I can implement the same in my expression?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times; color: #000000;"&gt;Thanks. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754061#M268637</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2015-01-08T11:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754062#M268638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the state is same, try like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times;"&gt;If(([P&amp;amp;L Level] = 's' or IsAdjustment = '1'), ,Sum({Period_1&amp;lt;MonthNum= {&lt;EM&gt;&lt;STRONG&gt;$(vMinMonth)&lt;/STRONG&gt;&lt;/EM&gt;}, CompanyName=$::CompanyName&lt;STRONG&gt;&amp;gt;}.....&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754062#M268638</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-01-08T11:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754063#M268639</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;Your example has syntax errors, so I am not sure exactly what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(([P&amp;amp;L Level] = 's' or IsAdjustment = '1'), Sum({$&amp;lt;MonthNum = {$(=vMinMonth)}&amp;gt; * Period_1&amp;lt;CompanyName=$::CompanyName&amp;gt;} ($(OpenBalanceExpression))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or possibly &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(([P&amp;amp;L Level] = 's' or IsAdjustment = '1'), 0, Sum({$&amp;lt;MonthNum = {$(=vMinMonth)}&amp;gt; * Period_1&amp;lt;CompanyName=$::CompanyName&amp;gt;} ($(OpenBalanceExpression))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 11:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754063#M268639</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-01-08T11:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression Help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754064#M268640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;Hi Jonathan,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;Thanks....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;I have used the same expression. But it is giving the output 0. But There is +ve and -ve values are there in database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;For ref. Please check the Table I have provided there in QVW. Also please find the attached qvw for more ref.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: georgia,palatino;"&gt;Thanks again for reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 12:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression-Help/m-p/754064#M268640</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2015-01-08T12:24:05Z</dc:date>
    </item>
  </channel>
</rss>

