<?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 Match Expression&amp;gt; remove everything not matching in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179344#M46230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to display all the fields equal to or that match 'Y' for the projected_order field. Currently I can only identify those matching fields and can not figure out how not to display them in my chart. For example those values whose projected_order = 'N' or null for example I would like them not to display in the chart.&lt;/P&gt;&lt;P&gt;This should be fairly easy but I am missing something. I would like it to function in the same way QV does natively when you select 'Y' for this field.&lt;/P&gt;&lt;P&gt;Currently I am using an expression in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;=match(projected_order, 'Y' )&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Mar 2010 18:46:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-12T18:46:44Z</dc:date>
    <item>
      <title>Match Expression&gt; remove everything not matching</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179344#M46230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to display all the fields equal to or that match 'Y' for the projected_order field. Currently I can only identify those matching fields and can not figure out how not to display them in my chart. For example those values whose projected_order = 'N' or null for example I would like them not to display in the chart.&lt;/P&gt;&lt;P&gt;This should be fairly easy but I am missing something. I would like it to function in the same way QV does natively when you select 'Y' for this field.&lt;/P&gt;&lt;P&gt;Currently I am using an expression in a chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;=match(projected_order, 'Y' )&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 18:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179344#M46230</guid>
      <dc:creator />
      <dc:date>2010-03-12T18:46:44Z</dc:date>
    </item>
    <item>
      <title>Match Expression&gt; remove everything not matching</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179345#M46231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;I would say either just create a calculated dimension that uses an IF statement to check whether projected_order = Y. Or use set analysis in your expression to set your project_order to Y.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 19:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179345#M46231</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-12T19:18:24Z</dc:date>
    </item>
    <item>
      <title>Match Expression&gt; remove everything not matching</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179346#M46232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vlad-&lt;/P&gt;&lt;P&gt;This marks all projected_orders with 1 but does not remove them. Something is wrong with the syntax. I would remove all but the ones marked with 1 to be removed from the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=match(projected_order, 'N')&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 19:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179346#M46232</guid>
      <dc:creator />
      <dc:date>2010-03-12T19:53:38Z</dc:date>
    </item>
    <item>
      <title>Match Expression&gt; remove everything not matching</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179347#M46233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right that the syntax is incorrect. This should be your calculated dimension:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=IF(projected_order= 'Y',projected_order)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;You would also need to check the "suppress when value is null" checkbox. This assumes that you have a 1-dimension, 1-expression chart. I don't know what your expression is, but you don't need to check for the value of projected_order in it. If you have a more complex chart, I would recommend using set analysis in the expression and leaving the dimension alone. For example, if your expression is a simple sum(Sales), then the expression would be: &lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum({$&amp;lt;projected_order={Y}}Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 20:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179347#M46233</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-03-12T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Match Expression&gt; remove everything not matching</title>
      <link>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179348#M46234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(project_order='Y',Value) use this as a caluculated dimension in your chart.This should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 00:23:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Match-Expression-gt-remove-everything-not-matching/m-p/179348#M46234</guid>
      <dc:creator />
      <dc:date>2010-03-13T00:23:46Z</dc:date>
    </item>
  </channel>
</rss>

