<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105563#M366165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;When using the If statement it's multiplying the qty *4.. and can't figure out why.. I tried the if statement earlier.&amp;nbsp; See Attachment Set Analysis 3.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm not sure I understand what you mean by Unique Identifier.. where and how would I establish that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2016 21:57:40 GMT</pubDate>
    <dc:creator>triciagdaly</dc:creator>
    <dc:date>2016-07-06T21:57:40Z</dc:date>
    <item>
      <title>Set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105561#M366163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression using Set Analysis that I'm struggling with.&amp;nbsp; Referring to the attachment 'Set Analysis' shows the results of my chart,&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt; I've displayed the detail data of Receipt_Date, Effective_Date and Cost Roll Period for your reference.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am needing to show the sum of RECEIPT_APPROVED_QUANTITY where Cost Roll Period = '1' and Receipt Date &amp;lt;= Effective Date and the Receipt Year = vRollCostYear.&amp;nbsp; I have verified with a text object the vRollCostYear = 2015.&amp;nbsp; The attachment 'Set Analysis 2' shows the end result format..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only values that should be displayed are highlighted in yellow.&amp;nbsp; The remaining values should be null.&amp;nbsp; I"m not sure why the other values are being displayed as the Receipt Date is not less than the Effective Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if (dimensionality()&amp;lt;&amp;gt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sum( {&amp;lt;[Cost Roll Period]={'1'},RECEIPT_DATE={"&amp;lt;=$(EFFECTIVE_DATE)"},Receipt_Year={$(vRollCostYear)}&amp;gt;}RECEIPT_APPROVED_QUANTITY)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ,' ')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate any help... been struggling with this all day.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 21:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105561#M366163</guid>
      <dc:creator>triciagdaly</dc:creator>
      <dc:date>2016-07-06T21:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105562#M366164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need a field that can uniquely identify a single receipt_date and effective_date combination here. May be something along these lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=If(Dimensionality() &amp;lt;&amp;gt; 0, S&lt;SPAN style="line-height: 1.5em;"&gt;um({&amp;lt;[Cost Roll Period]={'1'}&lt;SPAN style="color: #ff0000;"&gt;, UniqueIdentifier = {"=RECEIPT_DATE &amp;lt;= EFFECTIVE_DATE)"}&lt;/SPAN&gt;, Receipt_Year = {$(vRollCostYear)}&amp;gt;} RECEIPT_APPROVED_QUANTITY)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;STRONG&gt;, ' ')&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;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or go with the if statement option here:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=If(Dimensionality() &amp;lt;&amp;gt; 0, S&lt;SPAN style="line-height: 1.5em;"&gt;um({&amp;lt;[Cost Roll Period]={'1'}, Receipt_Year = {$(vRollCostYear)}&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;If(&lt;STRONG style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RECEIPT_DATE &amp;lt;= EFFECTIVE_DATE, &lt;/STRONG&gt;&lt;/SPAN&gt;RECEIPT_APPROVED_QUANTITY)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;, ' ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 21:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105562#M366164</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-06T21:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105563#M366165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;When using the If statement it's multiplying the qty *4.. and can't figure out why.. I tried the if statement earlier.&amp;nbsp; See Attachment Set Analysis 3.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I'm not sure I understand what you mean by Unique Identifier.. where and how would I establish that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 21:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105563#M366165</guid>
      <dc:creator>triciagdaly</dc:creator>
      <dc:date>2016-07-06T21:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105564#M366166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the dimensions used in this chart coming from more than 1 table in the backend?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 21:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-issue/m-p/1105564#M366166</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-06T21:59:20Z</dc:date>
    </item>
  </channel>
</rss>

