<?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: help in set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045181#M351418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are each of these sums come out to be individually? May be we can see what number it is calculating by looking at the numbers for each of them separately.&lt;/P&gt;&lt;P&gt;-&amp;gt; &lt;STRONG&gt;S&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;STRONG&gt;um({&amp;lt;CalDate={'&amp;gt;=$(vMTD)&amp;lt;=$(=Max(CalDate))'}&amp;gt;}CY_DAY_QTY)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-&amp;gt; &lt;STRONG&gt;Sum(LY_DAY_MTD_QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-&amp;gt; &lt;STRONG&gt;Sum(LY_DAY_MTD_QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 28 Feb 2016 12:21:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-28T12:21:10Z</dc:date>
    <item>
      <title>help in set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045178#M351415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been struggling with set analysis for couple of hours .&lt;/P&gt;&lt;P&gt;Below is my expression&lt;/P&gt;&lt;P&gt;Set Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(ActualDay)-Sum(History Day)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;Sum(History Day)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the data in attached document .&lt;/P&gt;&lt;P&gt;In the attachement '&lt;STRONG&gt;Assumed answer'&lt;/STRONG&gt; is the desired result&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'R/H % Daily '&lt;/STRONG&gt; is displaying null value&lt;STRONG&gt; &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting wrong outputs with the above expression. The expression is correct .I have cross checked each individual aggregation when i combining the all the three expression for growth it is giving me wrong results .i think it was with brackets in the epxression i was going wrng.&lt;/P&gt;&lt;P&gt;for eg:&lt;/P&gt;&lt;P&gt;the expresiion is displaying '-'&lt;/P&gt;&lt;P&gt;but when i am calculating individually it is some where close to&lt;STRONG&gt; -16%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Help me out to resolve .&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>Sun, 28 Feb 2016 09:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045178#M351415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-28T09:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045179#M351416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's hard to answer without knowing more details about your data, model and context of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be best if you could upload a small sample QVW that demonstrates your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least post the output of each individual sum, the context (used in a chart? with which dimensions and user selections?) and explain how the two fields are related to each other and how your variable is defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 10:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045179#M351416</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-28T10:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045180#M351417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You say you have crossed checked each individual calculation. What does that mean? Did you calculate the same the two sub expressions in the same chart - a straight table or pivot table I would presume?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does the vMTD variable contain? How is it defined?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 11:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045180#M351417</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-28T11:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045181#M351418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are each of these sums come out to be individually? May be we can see what number it is calculating by looking at the numbers for each of them separately.&lt;/P&gt;&lt;P&gt;-&amp;gt; &lt;STRONG&gt;S&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;STRONG&gt;um({&amp;lt;CalDate={'&amp;gt;=$(vMTD)&amp;lt;=$(=Max(CalDate))'}&amp;gt;}CY_DAY_QTY)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-&amp;gt; &lt;STRONG&gt;Sum(LY_DAY_MTD_QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-&amp;gt; &lt;STRONG&gt;Sum(LY_DAY_MTD_QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 12:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis-expression/m-p/1045181#M351418</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-28T12:21:10Z</dc:date>
    </item>
  </channel>
</rss>

