<?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: Multi box value not filtering correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792343#M1036924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the left join to the purchase order table, would it not default to null for all items that aren't listed in the spreadsheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jan 2015 23:07:16 GMT</pubDate>
    <dc:creator>triciagdaly</dc:creator>
    <dc:date>2015-01-14T23:07:16Z</dc:date>
    <item>
      <title>Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792341#M1036922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am loading a value 'Retrieved' from a spreadsheet for specific items in the spreadsheet.&amp;nbsp; The 'retrieved' values for items that are not listed are correctly pulling into qlikview as null.&amp;nbsp; However, when trying to filter with&amp;nbsp; 'No', the results are not correct.&amp;nbsp; The expression for this data filter is :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Reviewed&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;),'No','Yes') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Filtering for values = 'Yes' are correct.&amp;nbsp; What am I missing?&amp;nbsp; I have attached a test version of the qvw and the spreadsheet for reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 22:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792341#M1036922</guid>
      <dc:creator>triciagdaly</dc:creator>
      <dc:date>2015-01-14T22:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792342#M1036923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tricia, You data model needs to be modified. I can see several synthetic keys in you data model.please try to remove all synthetic keys you will not get accurate reports until you fix your data model. try to concatenate data&amp;nbsp; into your purchase_orders table. or ling other tables using a unique ID. Try to maintain start topology in your data structure. Alsoby looking at your excel sheet&amp;nbsp; for all your records your Received value='X' therefore you will not have any non review data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 23:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792342#M1036923</guid>
      <dc:creator />
      <dc:date>2015-01-14T23:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792343#M1036924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With the left join to the purchase order table, would it not default to null for all items that aren't listed in the spreadsheet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 23:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792343#M1036924</guid>
      <dc:creator>triciagdaly</dc:creator>
      <dc:date>2015-01-14T23:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792344#M1036925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tricia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not a fan of synthetic keys, but I don't think they are the source of the problem you asked about. The problem is that you can't select Nulls (missing values) in this way. Your expression in the Multibox identifies the null Reviewed fields with "N", but you can't select those fields. I'd recommend you assign a value to the missing values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this post for a technique to populate the missing values &lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/" title="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/"&gt;Filling Default Values Using Mapping | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com" rel="nofollow"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 00:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792344#M1036925</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-15T00:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792345#M1036926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try&lt;/P&gt;&lt;P&gt;If(Len(Trim(Reviewed))=0,'No','Yes') as Flag&lt;/P&gt;&lt;P&gt;in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 00:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792345#M1036926</guid>
      <dc:creator />
      <dc:date>2015-01-15T00:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792346#M1036927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below corrected the problem…  may be less overhead than reloading entire table.  I was previously doing a similar thing with another field, so made sense to add a few more lines.  The thing for me to remember is to convert the nulls to a value before filtering   Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;po_comments:&lt;/P&gt;&lt;P&gt;left join(purchase_orders)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;  DISTINCT text(PO) &amp;amp; '|' &amp;amp; text(Position)&amp;amp;'|'&amp;amp;text(Company) as &lt;U&gt;p&lt;/U&gt;key,&lt;/P&gt;&lt;P&gt;   Item as ITEM_NUMBER,&lt;/P&gt;&lt;P&gt;   Note,&lt;/P&gt;&lt;P&gt;   as Expedite_PO,&lt;/P&gt;&lt;P&gt;if(LEFT(UPPER(Reviewed),1)='X','Yes','No') as Reviewed_PPV&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is )&lt;/P&gt;&lt;P&gt;where not isnull(PO);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExpeditePO:&lt;/P&gt;&lt;P&gt;left join(purchase_orders)&lt;/P&gt;&lt;P&gt;LOAD &lt;U&gt;p&lt;/U&gt;key,&lt;/P&gt;&lt;P&gt;     if(isnull(Expedite_PO),EXPEDITE,Expedite_PO) as Exp,&lt;/P&gt;&lt;P&gt;     if(isnull(Reviewed_PPV),'No',Reviewed_PPV) as Reviewed&lt;/P&gt;&lt;P&gt;resident purchase_orders;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop fields Expedite_PO,EXPEDITE, Reviewed_PPV;&lt;/P&gt;&lt;P&gt;rename field Exp to Expedite;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 15:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792346#M1036927</guid>
      <dc:creator>triciagdaly</dc:creator>
      <dc:date>2015-01-15T15:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multi box value not filtering correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792347#M1036928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Trica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you found a solution. However, if your find solution taking too long, I would encourage you to revisit the mapping solution. You are actually reloading the entire table, plus added overhead of if() and join(). Reloading as LOAD * Resident would typically be faster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 16:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-box-value-not-filtering-correctly/m-p/792347#M1036928</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-01-15T16:56:35Z</dc:date>
    </item>
  </channel>
</rss>

