<?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 to use populated field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88124#M758648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also want to cater for the case of the field being NULL by using &lt;/P&gt;&lt;P&gt;isnull([Mike Risk Factor])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2018 14:13:09 GMT</pubDate>
    <dc:creator>atoz1158</dc:creator>
    <dc:date>2018-09-03T14:13:09Z</dc:date>
    <item>
      <title>IF statement to use populated field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88122#M758646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two reports of data but I want to generate a statement that will only show data from a field if it is populated, and if it isn't populated show the other field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is a generic IF statement but can't figure out how to word the IF statement for a populated field rather than a specific selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF([Mike Risk Factor]=(no idea what to put here), [Mike Risk Factor], [Risk Factor])&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-to-use-populated-field/m-p/88122#M758646</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement to use populated field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88123#M758647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(LEN(TRIM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Mike Risk Factor]))&amp;gt;0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Mike Risk Factor], &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Risk Factor])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88123#M758647</guid>
      <dc:creator>giovanneb</dc:creator>
      <dc:date>2018-09-03T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement to use populated field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88124#M758648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may also want to cater for the case of the field being NULL by using &lt;/P&gt;&lt;P&gt;isnull([Mike Risk Factor])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88124#M758648</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2018-09-03T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement to use populated field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88125#M758649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;IF([Mike Risk Factor]=' ', [Mike Risk Factor], [Risk Factor]) as Factor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 16:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88125#M758649</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-09-03T16:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement to use populated field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88126#M758650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this covering both an empty field and a null field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(TRIM([Mike Risk Factor])='' OR ISNULL([Mike Risk Factor]), [Risk Factor], [Mike Risk Factor])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 08:47:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88126#M758650</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2018-09-04T08:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement to use populated field</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88127#M758651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My recommendation would already treat the field by removing the nulls with TRIM and it would check if the field size is greater than 0 with LEN thus perfectly servicing the request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reguards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 11:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-to-use-populated-field/m-p/88127#M758651</guid>
      <dc:creator>giovanneb</dc:creator>
      <dc:date>2018-09-04T11:22:27Z</dc:date>
    </item>
  </channel>
</rss>

