<?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: Multiple if's logic help please. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077903#M928401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Many thanks Mayuresh.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Apologies for the mistake. Just copying from Mayuresh:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=If([Occupancy Count]=0 and [Building Capacity (manual)] = 0 and [Occupancy Count (manual)] = 0 and [Building Capacity]&amp;lt;2, Sum([Building Capacity]),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If([Occupancy Count]=0 and [Building Capacity]&amp;gt;1, Sum([Building Capacity (manual)])))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2016 05:29:58 GMT</pubDate>
    <dc:creator>ahammadshafi</dc:creator>
    <dc:date>2016-03-28T05:29:58Z</dc:date>
    <item>
      <title>Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077898#M928396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to put the below logic together.How can I do that please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 1031px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" width="345"&gt;Building ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="143"&gt;Occupancy Count&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="158"&gt;Building Capacity&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="188"&gt;Occupancy Count (manual)&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="197"&gt;Building Capacity (manual)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="345"&gt;THOM-B0843&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="345"&gt;BUCHAREST&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="24" style="border-top: none;" width="345"&gt;THOM-B5661&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;256&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="14" style="border-top: none;" width="345"&gt;BLACKWALL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="25" style="border-top: none;" width="345"&gt;THOM-B0150-M&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="26" style="border-top: none;" width="345"&gt;THOM-B5631&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;35&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="24" style="border-top: none;" width="345"&gt;KUWAIT&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;14&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="345"&gt;THOM-B4032&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="16" style="border-top: none;" width="345"&gt;THOM-B5262&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;96&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;" width="345"&gt;SAUCES&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;22&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;THOM-1234&lt;/TD&gt;&lt;TD class="xl68"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;34&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;67&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17"&gt;THOM-3218&lt;/TD&gt;&lt;TD class="xl68"&gt;0&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;45&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;67&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;108&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i&lt;STRONG&gt;f ([Occupancy count] =0 ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; if([Building Capacity] &amp;gt; 1 , sum([Building Capacity(Manual)] &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the tricky part is if the first rule is true and &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;[Building Capacity(Manual)] =0 ,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;if([Occupancy Count(Manual)]=0,sum([Building Capacity] &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much,&lt;/P&gt;&lt;P&gt;Alva&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/Multiple-if-s-logic-help-please/m-p/1077898#M928396</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077899#M928397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want expression like this &lt;/P&gt;&lt;P&gt;=if ([Occupancy Count]=0 and [Building Capacity (manual)] =0 and [Occupancy Count (manual)]=0,sum([Building Capacity]),&lt;/P&gt;&lt;P&gt; if ([Occupancy Count] &amp;lt;&amp;gt;0 and [Building Capacity] &amp;gt; 1 , sum([Building Capacity (manual)]))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or can elaborate your requirement more with example &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 03:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077899#M928397</guid>
      <dc:creator>amayuresh</dc:creator>
      <dc:date>2016-03-28T03:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077900#M928398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavana:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this will work&lt;/P&gt;&lt;P&gt;If([Occupancy Count]=0 and [Building Capacity(Manual)] = 0 and [Occupancy Count(Manual)] = 0, Sum([Building Capacity]),&lt;/P&gt;&lt;P&gt;If ([Occupancy Count]=0 and [Building Capacity]&amp;gt;1), Sum([Building Capacity(Manual)]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 03:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077900#M928398</guid>
      <dc:creator>ahammadshafi</dc:creator>
      <dc:date>2016-03-28T03:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077901#M928399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi Pavana:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;You can try this if the first one doesn't work&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If([Occupancy Count]=0 and [Building Capacity(Manual)] = 0 and [Occupancy Count(Manual)] = 0 &lt;SPAN style="font-size: 13.3333px;"&gt;and [Building Capacity]&amp;lt;2&lt;/SPAN&gt;, Sum([Building Capacity]),&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If ([Occupancy Count]=0 and [Building Capacity]&amp;gt;1), Sum([Building Capacity(Manual)])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 04:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077901#M928399</guid>
      <dc:creator>ahammadshafi</dc:creator>
      <dc:date>2016-03-28T04:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077902#M928400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there few brackets are missing. Check this now, &lt;/P&gt;&lt;P&gt;=If([Occupancy Count]=0 and [Building Capacity (manual)] = 0 and [Occupancy Count (manual)] = 0 and [Building Capacity]&amp;lt;2, Sum([Building Capacity]),&lt;/P&gt;&lt;P&gt;If([Occupancy Count]=0 and [Building Capacity]&amp;gt;1, Sum([Building Capacity (manual)])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 04:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077902#M928400</guid>
      <dc:creator>amayuresh</dc:creator>
      <dc:date>2016-03-28T04:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077903#M928401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Many thanks Mayuresh.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Apologies for the mistake. Just copying from Mayuresh:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=If([Occupancy Count]=0 and [Building Capacity (manual)] = 0 and [Occupancy Count (manual)] = 0 and [Building Capacity]&amp;lt;2, Sum([Building Capacity]),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If([Occupancy Count]=0 and [Building Capacity]&amp;gt;1, Sum([Building Capacity (manual)])))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 05:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077903#M928401</guid>
      <dc:creator>ahammadshafi</dc:creator>
      <dc:date>2016-03-28T05:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if's logic help please.</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077904#M928402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;Try like this &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;i&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;f ([Occupancy count] =0 and &lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;[Building Capacity] &amp;gt; 1 and &lt;STRONG style="color: #000000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;[Building Capacity(Manual)] =0 and &lt;/STRONG&gt;&lt;STRONG style="color: #000000; font-family: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[Occupancy Count(Manual)]=0&lt;/STRONG&gt;, sum([Building Capacity(Manual)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;if(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;[Building Capacity(Manual)] =0 and &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit; font-size: 13.3333px;"&gt;[Occupancy Count(Manual)]=0,sum([Building Capacity]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit; font-size: 13.3333px;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit; font-size: 13.3333px;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 05:36:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-if-s-logic-help-please/m-p/1077904#M928402</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-28T05:36:29Z</dc:date>
    </item>
  </channel>
</rss>

