<?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: If statement set analysis in Listbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118388#M760776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In text also you must be getting either yes or no, but not both, right? With one data set in scope you can't have both outputs possible. There has to be at least one dimension for that. You can then try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;if(sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {&amp;lt;USE_DESC_TYPE={"Gross Requirements Amt"}&amp;gt;}PERIOD_VAL) &amp;gt;0, 'Yes', 'No') , &lt;STRONG&gt;&amp;lt;YourDimension&amp;gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2018 10:15:34 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-08-08T10:15:34Z</dc:date>
    <item>
      <title>If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118382#M760769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this set analysis if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum({&amp;lt;USE_DESC_TYPE={"Gross Requirements Amt"}&amp;gt;}PERIOD_VAL) &amp;gt;0, 'Yes', 'No')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works perfectly in a text box. However, It will not work in a listbox, or multibox, or anything which will display it as a selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118382#M760769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118383#M760771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding 'total' like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(sum(&lt;STRONG&gt;TOTAL&lt;/STRONG&gt; {&amp;lt;USE_DESC_TYPE={"Gross Requirements Amt"}&amp;gt;}PERIOD_VAL) &amp;gt;0, 'Yes', 'No')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118383#M760771</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-08-08T10:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118384#M760772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;sum({&amp;lt;USE_DESC_TYPE={"Gross Requirements Amt"}&amp;gt;}PERIOD_VAL) &amp;gt;0, 'Yes', 'No'),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;PERIOD_VAL&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118384#M760772</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-08-08T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118385#M760773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only Returned 'Yes' and no 'No' even though there are results which fit under no&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118385#M760773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T10:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118386#M760774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this displayed a blank list box&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118386#M760774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T10:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118387#M760775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try creating in the script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load * Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;USE_DESC_TYPE,PERIOD_VAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Gross Requirements Amt,10000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;B,200000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;C,30000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;D,60700000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;E,50000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;load USE_DESC_TYPE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(USE_DESC_TYPE='Gross Requirements Amt',if(Sum(PERIOD_VAL)&amp;gt;0, 'Yes'), 'No') as listbox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident T1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group By USE_DESC_TYPE;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118387#M760775</guid>
      <dc:creator>pooja_prabhu_n</dc:creator>
      <dc:date>2018-08-08T10:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118388#M760776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In text also you must be getting either yes or no, but not both, right? With one data set in scope you can't have both outputs possible. There has to be at least one dimension for that. You can then try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;if(sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {&amp;lt;USE_DESC_TYPE={"Gross Requirements Amt"}&amp;gt;}PERIOD_VAL) &amp;gt;0, 'Yes', 'No') , &lt;STRONG&gt;&amp;lt;YourDimension&amp;gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118388#M760776</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-08-08T10:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118389#M760777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;&lt;STRONG&gt;=aggr(if(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;sum({&amp;lt;USE_DESC_TYPE={"Gross Requirements Amt"}&amp;gt;}PERIOD_VAL) &amp;gt;0, 'Yes', 'No'),&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;PERIOD_VAL&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118389#M760777</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-08-08T10:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: If statement set analysis in Listbox</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118390#M760778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-set-analysis-in-Listbox/m-p/118390#M760778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T10:35:18Z</dc:date>
    </item>
  </channel>
</rss>

