<?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 Problem with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis/m-p/950522#M326923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;SALES_DATE={'$(PREVIOUS_UDATE)'},FORMAT={'FRANC'},SALES_YEAR=,SALES_MONTH=&amp;gt;}AMOUNT_TRIG)+&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SALES_DATE={'$(PREVIOUS_UDATE)'},FORMAT={'HYPFL','SUPER','PROXI','CASHC','HYPMI'}-{'FRANC'},SALES_YEAR=,SALES_MONTH=&amp;gt;}SALES_AMT_FPA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this expression i have the sales for the previous day for format FRANC from the field &lt;SPAN style="font-size: 13.3333px;"&gt;AMOUNT_TRIG plus the sales the the previous day for the other formats except FRANC from the field &lt;SPAN style="font-size: 13.3333px;"&gt;SALES_AMT_FPA.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this expression if i choose another format from the multi box i haven't the sales for the FORMAT i have choosen.&lt;/P&gt;&lt;P&gt;How can i have the same results like the expression give me but when i choose another FORMAT having the data for the choice i have done ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 14:55:30 GMT</pubDate>
    <dc:creator>geogou1973</dc:creator>
    <dc:date>2015-12-17T14:55:30Z</dc:date>
    <item>
      <title>Problem with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis/m-p/950522#M326923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;SALES_DATE={'$(PREVIOUS_UDATE)'},FORMAT={'FRANC'},SALES_YEAR=,SALES_MONTH=&amp;gt;}AMOUNT_TRIG)+&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;SALES_DATE={'$(PREVIOUS_UDATE)'},FORMAT={'HYPFL','SUPER','PROXI','CASHC','HYPMI'}-{'FRANC'},SALES_YEAR=,SALES_MONTH=&amp;gt;}SALES_AMT_FPA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this expression i have the sales for the previous day for format FRANC from the field &lt;SPAN style="font-size: 13.3333px;"&gt;AMOUNT_TRIG plus the sales the the previous day for the other formats except FRANC from the field &lt;SPAN style="font-size: 13.3333px;"&gt;SALES_AMT_FPA.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In this expression if i choose another format from the multi box i haven't the sales for the FORMAT i have choosen.&lt;/P&gt;&lt;P&gt;How can i have the same results like the expression give me but when i choose another FORMAT having the data for the choice i have done ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 14:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis/m-p/950522#M326923</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2015-12-17T14:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis/m-p/950523#M326924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to choose the FORMAT from a multibox then don't hard-code it in the set analysis expression. Just remove &lt;EM&gt;FORMAT={'FRANC'},&lt;/EM&gt; and make sure that a value is selection in the multibox. Or create a variable that will make sure either FRANC or the selected value is used:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vFormat: =If(GetSelectedCount(FORMAT)=1,FORMAT, 'FRANC')`&lt;/P&gt;&lt;P&gt;You can then use &lt;EM style="font-size: 13.3333px;"&gt;FORMAT={'$(vFormat)'} &lt;/EM&gt;in your set analysis expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 19:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-set-analysis/m-p/950523#M326924</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-17T19:15:08Z</dc:date>
    </item>
  </channel>
</rss>

