<?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 Calculated Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291165#M1203107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i am trying to write a calculated condition. I want the user to select a few specific fields before displaying the results.&lt;BR /&gt;What i want is....&lt;BR /&gt;The user to select 1 of 4 fields AND another 1 of 2 fields.....&lt;/P&gt;&lt;P&gt;my fields are: [Retail Group], [BDA Name], [Area Manager Name], Customer, Cal_Week, StoreDate&lt;/P&gt;&lt;P&gt;Eg,&lt;BR /&gt;The user is to select either:&lt;BR /&gt;[Retail Group], [BDA Name], [Area Manager Name], Customer&lt;/P&gt;&lt;P&gt;AND either&lt;BR /&gt;Cal_Week, StoreDate&lt;/P&gt;&lt;P&gt;I have tried using the following,&lt;/P&gt;&lt;P&gt;GetSelectedCount ([Retail Group]) &amp;gt; 0 or GetSelectedCount ([BDA Name]) &amp;gt; 0 or GetSelectedCount ([Area Manager Name]) &amp;gt; 0 or GetSelectedCount (Customer) &amp;gt; 0 and GetSelectedCount (Cal_Week) &amp;gt; 0&lt;/P&gt;&lt;P&gt;This works fine if i only have 1 field at the end, (Cal_Week or StoreDate)&lt;BR /&gt;Can someone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND either&lt;/P&gt;&lt;P&gt;Cal_Week, StoreDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 11:34:28 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2010-11-29T11:34:28Z</dc:date>
    <item>
      <title>Calculated Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291165#M1203107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i am trying to write a calculated condition. I want the user to select a few specific fields before displaying the results.&lt;BR /&gt;What i want is....&lt;BR /&gt;The user to select 1 of 4 fields AND another 1 of 2 fields.....&lt;/P&gt;&lt;P&gt;my fields are: [Retail Group], [BDA Name], [Area Manager Name], Customer, Cal_Week, StoreDate&lt;/P&gt;&lt;P&gt;Eg,&lt;BR /&gt;The user is to select either:&lt;BR /&gt;[Retail Group], [BDA Name], [Area Manager Name], Customer&lt;/P&gt;&lt;P&gt;AND either&lt;BR /&gt;Cal_Week, StoreDate&lt;/P&gt;&lt;P&gt;I have tried using the following,&lt;/P&gt;&lt;P&gt;GetSelectedCount ([Retail Group]) &amp;gt; 0 or GetSelectedCount ([BDA Name]) &amp;gt; 0 or GetSelectedCount ([Area Manager Name]) &amp;gt; 0 or GetSelectedCount (Customer) &amp;gt; 0 and GetSelectedCount (Cal_Week) &amp;gt; 0&lt;/P&gt;&lt;P&gt;This works fine if i only have 1 field at the end, (Cal_Week or StoreDate)&lt;BR /&gt;Can someone help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND either&lt;/P&gt;&lt;P&gt;Cal_Week, StoreDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 11:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291165#M1203107</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-11-29T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Calculated Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291166#M1203109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Perhaps this...&lt;/P&gt;&lt;P&gt;GetSelectedCount ([Retail Group]) &amp;gt; 0 or GetSelectedCount ([BDA Name]) &amp;gt; 0 or GetSelectedCount ([Area Manager Name]) &amp;gt; 0 or GetSelectedCount (Customer) &amp;gt; 0 and (GetSelectedCount (Cal_Week) &amp;gt; 0 or GetSelectedCount(StoreDate))&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 11:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291166#M1203109</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-11-29T11:49:21Z</dc:date>
    </item>
    <item>
      <title>Calculated Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291167#M1203110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops - should read this way:&lt;/P&gt;&lt;P&gt;(GetSelectedCount ([Retail Group]) &amp;gt; 0 or GetSelectedCount ([BDA Name]) &amp;gt; 0 or GetSelectedCount ([Area Manager Name]) &amp;gt; 0 or GetSelectedCount (Customer) &amp;gt; 0) and (GetSelectedCount (Cal_Week) &amp;gt; 0 or GetSelectedCount(StoreDate))&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 11:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291167#M1203110</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-11-29T11:50:22Z</dc:date>
    </item>
    <item>
      <title>Calculated Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291168#M1203112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan, that worked great.&lt;/P&gt;&lt;P&gt;I'm sure i tried that though and it didn't work.....&lt;/P&gt;&lt;P&gt;Working now though.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 12:10:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Condition/m-p/291168#M1203112</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-11-29T12:10:57Z</dc:date>
    </item>
  </channel>
</rss>

