<?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 AGGR and Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/AGGR-and-Set-Analysis/m-p/1718414#M54555</link>
    <description>&lt;P class="yiv4371529719MsoNormal"&gt;Help my AGGR isn't working, I'm trying to group this expression by Season Title, (not the same as year).&amp;nbsp; Below is the code.&amp;nbsp; If the user selects Sales $ there is on Set Analysis and if they select Sales Units there is a different Set Analysis.&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;I can't seem to figure out where the AGGR belongs to group every season together.&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Suggestions welcome!&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;AGGR(If([UNITS MONEY SELECTION] = 'SALES $',&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[CUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;(SO_LN_GROSS_AMOUNT_$(var_Currency)-SO_LN_DISCOUNT_AMOUNT_$(var_Currency)))&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;/&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[SCUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TOTAL (SO_LN_GROSS_AMOUNT_$(var_Currency)-SO_LN_DISCOUNT_AMOUNT_$(var_Currency)))&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;,&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;If([UNITS MONEY SELECTION] = 'SALES UNITS',&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[CUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[ORIGINAL QTY ADJ]))&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;/&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[CUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TOTAL [ORIGINAL QTY ADJ])), RIGHT(SEASON_TITLE,2))&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:09:23 GMT</pubDate>
    <dc:creator>crichter14</dc:creator>
    <dc:date>2024-11-16T02:09:23Z</dc:date>
    <item>
      <title>AGGR and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-and-Set-Analysis/m-p/1718414#M54555</link>
      <description>&lt;P class="yiv4371529719MsoNormal"&gt;Help my AGGR isn't working, I'm trying to group this expression by Season Title, (not the same as year).&amp;nbsp; Below is the code.&amp;nbsp; If the user selects Sales $ there is on Set Analysis and if they select Sales Units there is a different Set Analysis.&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;I can't seem to figure out where the AGGR belongs to group every season together.&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Suggestions welcome!&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;AGGR(If([UNITS MONEY SELECTION] = 'SALES $',&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[CUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;(SO_LN_GROSS_AMOUNT_$(var_Currency)-SO_LN_DISCOUNT_AMOUNT_$(var_Currency)))&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;/&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[SCUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TOTAL (SO_LN_GROSS_AMOUNT_$(var_Currency)-SO_LN_DISCOUNT_AMOUNT_$(var_Currency)))&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;,&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;If([UNITS MONEY SELECTION] = 'SALES UNITS',&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[CUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[ORIGINAL QTY ADJ]))&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;/&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;Sum({$&amp;lt;&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[PRODUCT]={'DRESS'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TRANSACTION_ORDER_INVOICE={'SALES ORDER'},&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;STOCK_ONLY={'NO'}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;[CUSTOMER ORDER DATE] ={"&amp;gt;=$(vMinCurrentDateSelectionAdj)&amp;lt;=$(vMaxCurrentDateSelectionAdj)"}&amp;gt;}&lt;/P&gt;&lt;P class="yiv4371529719MsoNormal"&gt;TOTAL [ORIGINAL QTY ADJ])), RIGHT(SEASON_TITLE,2))&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-and-Set-Analysis/m-p/1718414#M54555</guid>
      <dc:creator>crichter14</dc:creator>
      <dc:date>2024-11-16T02:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR and Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AGGR-and-Set-Analysis/m-p/1718423#M54556</link>
      <description>&lt;P&gt;Do you have any dummy data for us to play with?&amp;nbsp; And it looks like you are missing a comma after your '&lt;SPAN&gt;STOCK_ONLY={'NO'}' statement.&amp;nbsp; Not sure if it was lost in the transfer to the forum question.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 19:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AGGR-and-Set-Analysis/m-p/1718423#M54556</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2020-06-12T19:28:42Z</dc:date>
    </item>
  </channel>
</rss>

