<?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: Calculated Condition - multiple criteria's in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530115#M552234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this works perfect except for one thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to build into the condition that a user can't select any field except Year, Month, Product, and vRetained?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if the user selects a "Region" in the example file than they would also get an error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Oct 2013 15:24:28 GMT</pubDate>
    <dc:creator>zagzebski</dc:creator>
    <dc:date>2013-10-26T15:24:28Z</dc:date>
    <item>
      <title>Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530113#M552232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Fields:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Product &lt;BR /&gt;Month&lt;/P&gt;&lt;P&gt;VRetained&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart that I need to have a calculated condition on.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The calculated condition has to use the fields above and address the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Year&lt;/STRONG&gt;, &lt;STRONG&gt;Month&lt;/STRONG&gt; and &lt;STRONG&gt;Product&lt;/STRONG&gt; must have a selection BUT only 1&lt;/P&gt;&lt;P&gt;2. The variable &lt;STRONG&gt;vRetained&lt;/STRONG&gt; must have an amount and it must be something less that 100%&lt;/P&gt;&lt;P&gt;3. There can be NO OTHER selections made from any of the other fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the 3 critieria above possible using the Get function? I am struggling...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly - I doubt this is possible - but can the error message tell the user which of the above are not met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 21:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530113#M552232</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-10-25T21:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530114#M552233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;if(alt(vRetained,2)&amp;lt;1, count({1&amp;lt;Year={'$(=only(Year))'},Month={'$(=only(Month))'},Product={'$(=only(Product))'}&amp;gt;}Product),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 08:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530114#M552233</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-26T08:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530115#M552234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this works perfect except for one thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to build into the condition that a user can't select any field except Year, Month, Product, and vRetained?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if the user selects a "Region" in the example file than they would also get an error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 15:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530115#M552234</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-10-26T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530116#M552235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more follow up! If I don't want the criteria of having to select one (1) product how would I change this expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vRetained&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,2)&amp;lt;1, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'$(=only(Year))'},&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'$(=only(Month))'},&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'$(=only(Product))'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;),0)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;I tried this but didn't work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vRetained&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,2)&amp;lt;1, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'$(=only(Year))'},&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'$(=only(Month))'}&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,0)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Oct 2013 16:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530116#M552235</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-10-26T16:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530117#M552236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way is to use the same filter as in the conditional expression in the chart expression(s) too. In the attached example I've put the filter in a variable vFilter and use that in both expressions. This way only selections in Year, Month and Product effect the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need to be able to select more than one value in the listboxes for example for other charts then you can also enable the option Always One Selected Value in properties windows of the listboxes. First select a value, then enable that option on the General tab. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 14:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530117#M552236</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-27T14:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530118#M552237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;I tried this but didn't work:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: blue;"&gt;alt&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 9pt; color: gray;"&gt;vRetained&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;,2)&amp;lt;1, &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: maroon;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;={'$(=only(Year))'},&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;={'$(=only(Month))'}&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 9pt;"&gt;,0) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There's a curly brace too many in your expression: &lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 9pt; font-style: inherit; background-color: #f6f6f6;"&gt;{'$(=only(Month))'}&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 9pt; font-style: inherit; background-color: #f6f6f6;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; should be &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 9pt; font-style: inherit; background-color: #f6f6f6;"&gt;{'$(=only(Month))'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 14:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/530118#M552237</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-27T14:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Condition - multiple criteria's</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/1646575#M552238</link>
      <description>&lt;P&gt;I have this expression and I am trying to implement the conditions in my comment section where by I am essentially converting a value to text - is alt the right function here in this case - need some direction on how to implement when multiple values will need to get converted to text?&lt;/P&gt;&lt;P&gt;If(RowNo() = 0, Avg(Aggr(Avg({&amp;lt;CagrEPS2Y={"&amp;gt;-.6 &amp;lt;.6"}, // If field result is out of this range then convert value to "NM"&lt;BR /&gt;EpsYearplus3={"&amp;gt;0"},&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // If this field is negative or Null then convert result to "NA"&lt;BR /&gt;EpsNY={"&amp;gt;0"}&amp;gt;},&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //If this field is negative or Null then convert result to "NA"&lt;BR /&gt;CagrEPS2Y),OwnerName)),&lt;BR /&gt;&lt;BR /&gt;Avg({&amp;lt;CagrEPS2Y={"&amp;gt;-.6 &amp;lt;.6"},EpsYearplus3={"&amp;gt;=0"}, EpsNY={"&amp;gt;=0"}&amp;gt;}CagrEPS2Y))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 17:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition-multiple-criteria-s/m-p/1646575#M552238</guid>
      <dc:creator>JohnnyV</dc:creator>
      <dc:date>2019-11-13T17:02:44Z</dc:date>
    </item>
  </channel>
</rss>

