<?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 in Bar Chart Not Working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1539942#M38982</link>
    <description>&lt;P&gt;Not entirely sure, What is the purpose you used&lt;STRONG&gt; Sum(aggr(Expression))&lt;/STRONG&gt; around your measure?&lt;/P&gt;&lt;P&gt;Try this way?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM(AGGR(&lt;FONT color="#FF0000"&gt;NODISTINCT&lt;/FONT&gt; (SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold)+&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_returned)+&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM(AGGR(IF(Credit_Card_Accepted__c='Yes',(((IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)))*.02),0),asin))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered*prdct_fee)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_ordered)*est_ref_fee)-SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_returned)*est_ref_fee))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)*5)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM(AGGR(IF(Free_Shipping__c='Yes',0,IF(Direct_Ship__c='Yes',0,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(IF(Standard_Shipping_Method__c='Small Parcel',SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;IF(Standard_Shipping_Method__c='LTL Freight',SUM(LTL_Freight_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;IF(Standard_Shipping_Method__c='International',SUM(International_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),)))))),asin))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM(AGGR(((SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)))*0.75),asin)))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM(AGGR(Incremental_Overhead_Percentage__c/100*SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold),asin))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)*0.01)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_returned)),[cast_date.autoCalendar.Month])))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Feb 2019 03:52:44 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2019-02-06T03:52:44Z</dc:date>
    <item>
      <title>Set Analysis in Bar Chart Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1539898#M38978</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a bar chart that has Months as the Dimension and&amp;nbsp;&lt;SPAN&gt;Margin $ in the measures as a Set Analysis expression&lt;/SPAN&gt;.&amp;nbsp; My Set Analysis expression gives the YTD Margin $ for 2019.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue is that the resulting bar chart numbers are inaccurate until I use a filter to select the Year = 2019...&lt;/P&gt;&lt;P&gt;Here is my Set Analysis Expression:&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(SUM(AGGR((SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold)+&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_returned)+&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SUM(AGGR(IF(Credit_Card_Accepted__c='Yes',(((IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)))*.02),0),asin))-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered*prdct_fee)-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_ordered)*est_ref_fee)-SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_returned)*est_ref_fee))-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)*5)-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SUM(AGGR(IF(Free_Shipping__c='Yes',0,IF(Direct_Ship__c='Yes',0,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(IF(Standard_Shipping_Method__c='Small Parcel',SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;IF(Standard_Shipping_Method__c='LTL Freight',SUM(LTL_Freight_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;IF(Standard_Shipping_Method__c='International',SUM(International_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),)))))),asin))-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(SUM(AGGR(((SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)))*0.75),asin)))-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SUM(AGGR(Incremental_Overhead_Percentage__c/100*SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold),asin))-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;(IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)*0.01)-&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_returned)),[cast_date.autoCalendar.Month])))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two screenshots below show this error along with KPIs to show the correct numbers.&amp;nbsp; The 1st screenshot shows the Bar Chart numbers incorrectly with no selection applied while the 2nd screenshot shows the Bar Chart numbers correctly while filtering:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unfiltered = Incorrect" style="width: 817px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5251i55AFD929E97CAAB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Unfiltered = Incorrect" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Unfiltered = Incorrect&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 934px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5253iBAE0EFCDC6739964/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.JPG" alt="Capture3.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if I need to change my expression in order to get the desired results.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1539898#M38978</guid>
      <dc:creator>wlabarca99</dc:creator>
      <dc:date>2024-11-16T06:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Bar Chart Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1539942#M38982</link>
      <description>&lt;P&gt;Not entirely sure, What is the purpose you used&lt;STRONG&gt; Sum(aggr(Expression))&lt;/STRONG&gt; around your measure?&lt;/P&gt;&lt;P&gt;Try this way?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM(AGGR(&lt;FONT color="#FF0000"&gt;NODISTINCT&lt;/FONT&gt; (SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold)+&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_returned)+&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM(AGGR(IF(Credit_Card_Accepted__c='Yes',(((IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)))*.02),0),asin))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered*prdct_fee)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_ordered)*est_ref_fee)-SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_returned)*est_ref_fee))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)*5)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM(AGGR(IF(Free_Shipping__c='Yes',0,IF(Direct_Ship__c='Yes',0,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(IF(Standard_Shipping_Method__c='Small Parcel',SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;IF(Standard_Shipping_Method__c='LTL Freight',SUM(LTL_Freight_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;IF(Standard_Shipping_Method__c='International',SUM(International_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),)))))),asin))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(SUM(AGGR(((SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)))*0.75),asin)))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM(AGGR(Incremental_Overhead_Percentage__c/100*SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold),asin))-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;(IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)*0.01)-&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_returned)),[cast_date.autoCalendar.Month])))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 03:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1539942#M38982</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-02-06T03:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Bar Chart Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1540244#M38989</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;=(SUM(AGGR((SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold)+
SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_returned)+
SUM(AGGR(IF(Credit_Card_Accepted__c='Yes',(((IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)))*.02),0),asin))-
IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)-
SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered*prdct_fee)-
(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_ordered)*est_ref_fee)-SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}(quantity_returned)*est_ref_fee))-
(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)*5)-
SUM(AGGR(IF(Free_Shipping__c='Yes',0,IF(Direct_Ship__c='Yes',0,
(IF(Standard_Shipping_Method__c='Small Parcel',SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),
IF(Standard_Shipping_Method__c='LTL Freight',SUM(LTL_Freight_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),
IF(Standard_Shipping_Method__c='International',SUM(International_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)),)))))),asin))-
(SUM(AGGR(((SUM(Small_Parcel_Cost_Per_Pound__c)*(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_ordered)-Sum({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}quantity_returned)))*0.75),asin)))-
SUM(AGGR(Incremental_Overhead_Percentage__c/100*SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold),asin))-
(IF(SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_sold&amp;gt;0),SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}prdct_cst*quantity_ordered),0)*0.01)-
SUM({&amp;lt;[cast_date.autoCalendar.YearsAgo]={0}&amp;gt;}amount_returned)),[cast_date.autoCalendar.Month]&lt;FONT color="#FF0000"&gt;, [cast_date.autoCalendar.Year]&lt;/FONT&gt;)))&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Feb 2019 13:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1540244#M38989</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-06T13:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Bar Chart Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1541055#M39039</link>
      <description>Didn't work, same result.</description>
      <pubDate>Thu, 07 Feb 2019 15:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1541055#M39039</guid>
      <dc:creator>wlabarca99</dc:creator>
      <dc:date>2019-02-07T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Bar Chart Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1541058#M39041</link>
      <description>Did not work</description>
      <pubDate>Thu, 07 Feb 2019 15:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1541058#M39041</guid>
      <dc:creator>wlabarca99</dc:creator>
      <dc:date>2019-02-07T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in Bar Chart Not Working</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1541074#M39044</link>
      <description>&lt;P&gt;Would you be able to share a sample to see the issue?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 15:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-in-Bar-Chart-Not-Working/m-p/1541074#M39044</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-07T15:42:06Z</dc:date>
    </item>
  </channel>
</rss>

