<?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: Basic IF statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137223#M888018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using this in a calculation condition, it will be evaluated in global context, i.e. it will only return an unambiguous result if all records show the same value for ResponseFlag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, you need to consider using aggregation functions, though I am not sure how this should look like in your case:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 14:32:01 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-09-02T14:32:01Z</dc:date>
    <item>
      <title>Basic IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137221#M888016</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;I'm not sure on the best way to do this, whether it be a calculation condition or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table box that I only want to be displayed when 'ResponseFlag = No'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it would just be a basic IF statement like this: IF(ResponseFlag = 'No', 1,0) but doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&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/Basic-IF-statement/m-p/1137221#M888016</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Basic IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137222#M888017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto layout and there show conditional and just define&lt;/P&gt;&lt;P&gt;ResponseFlag = 'No'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 14:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137222#M888017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Basic IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137223#M888018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using this in a calculation condition, it will be evaluated in global context, i.e. it will only return an unambiguous result if all records show the same value for ResponseFlag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, you need to consider using aggregation functions, though I am not sure how this should look like in your case:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 14:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137223#M888018</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-02T14:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Basic IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137224#M888019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go in&lt;/P&gt;&lt;P&gt;Properties &amp;gt; Layout. Activate the conditional option and then put your statement there. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 14:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137224#M888019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Basic IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137225#M888020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want the table to show regardless but just want fields to be displayed in it that have ResponseFlag ='No'.&lt;/P&gt;&lt;P&gt;When I put that into layout conditional it gets rid of the whole table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137225#M888020</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2016-09-02T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Basic IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137226#M888021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Show or Calculation condition will affect the complete chart, it is not evaluated per row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a straight table or pivot table chart with calculated dimensions or set analysis to filter the rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, try to create a straight table chart with all fields from the table box used as dimensions, then a single expression&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Count({&amp;lt;ResponseFlag = {No}&amp;gt;} ResponseFlag)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can hide the expression column on presentation tab if you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 21:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Basic-IF-statement/m-p/1137226#M888021</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-02T21:22:13Z</dc:date>
    </item>
  </channel>
</rss>

