<?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-AND Statement for missing data using text box. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287549#M402997</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&gt;The result I'm getting is blank even though the condition &lt;STRONG&gt;I set should return the message that data is not available&lt;/STRONG&gt;. Any help with this would be greatly appreciated and if further explanation is needed I will try and provide.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From here, You don't have the value for SOLD_QTY = 0, That is the why Null return to your Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 15:30:11 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-03-27T15:30:11Z</dc:date>
    <item>
      <title>IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287547#M402995</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 am creating a Qlikview app in which different sales teams load their data every week. From time to time, a particular customer fails to load their information correctly before the scheduled publishing of the app so I would like to display a message to users whenever this occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the 2 expressions below in a text object of which neither has worked as I'd like it to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF(CUST_WEEK=3,IF(CUSTOMER='B',IF(SOLD_QTY=0,IF(CUST_YEAR=2012,'Data Not Available from this customer','')))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=IF(CUST_WEEK=3 and CUSTOMER='B' and SOLD_QTY=0 and CUST_YEAR=2012,'Data Not Available from this customer','')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am trying to get to do the following: If for Week 3 of 2012 customer B has a total of zero sales, display the message "Data not available from this customer" else blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example qvw file which shows what I'm trying to do. Feel free to edit the example with a solution as I am only using the attached file to troubleshoot a solution for my main app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result I'm getting is blank even though the condition I set should return the message that data is not available. Any help with this would be greatly appreciated and if further explanation is needed I will try and provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-B-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287547#M402995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-27T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287548#M402996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(CUST_WEEK=3 and CUSTOMER='B' and SOLD_QTY=0 and CUST_YEAR='2012','Data Not Available from this customer','-') as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tested done working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287548#M402996</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-27T15:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287549#M402997</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&gt;The result I'm getting is blank even though the condition &lt;STRONG&gt;I set should return the message that data is not available&lt;/STRONG&gt;. Any help with this would be greatly appreciated and if further explanation is needed I will try and provide.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From here, You don't have the value for SOLD_QTY = 0, That is the why Null return to your Flag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287549#M402997</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-27T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287550#M402998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. If I understand your solution correctly, I will need to include the expression in my edit script instead of the text box? From there I would use the "flag" field in my conditional statement within my text object?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this the correct logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287550#M402998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-27T15:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287551#M402999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Sum({&amp;lt;CUST_WEEK = {3}, CUSTOMER = {'B'}, CUST_YEAR = {2012}&amp;gt;} SOLD_QTY) = 0, 'Data Not Available from this customer','')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287551#M402999</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287552#M403000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is i will high recommend to you. We can achieve by Flag and Set Analysis as well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287552#M403000</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-27T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287553#M403001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay. I follow now. I believe you and Sunny both provided solutions that work well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287553#M403001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-27T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: IF-AND Statement for missing data using text box.</title>
      <link>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287554#M403002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome. You and Anil both provided great feedback. I believe your solution works best in context to what I am trying to achieve. Thank you for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-AND-Statement-for-missing-data-using-text-box/m-p/1287554#M403002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-27T15:41:37Z</dc:date>
    </item>
  </channel>
</rss>

