<?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: Excluding two products in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904631#M74591</link>
    <description>&lt;P&gt;Perhaps something along the lines of:&lt;/P&gt;
&lt;P&gt;if(Brand_Market='NS Range' OR (Brand_Market =&amp;nbsp;'Gilenya Market' and not match(Brand_Product,'Gilenya','Mayzent')),Brand_Product)&lt;/P&gt;
&lt;P&gt;Assuming you prefer this as an if() rather than set analysis.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 10:53:50 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-03-14T10:53:50Z</dc:date>
    <item>
      <title>Excluding two products</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904627#M74590</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a requirement where I have to show two markets: all products in first market and in second market all products except two.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried this but didnt work.&lt;/P&gt;
&lt;P&gt;if(Brand_Market='NS Range',Brand_Product) and if(Brand_Market='Gilenya Market',if(not match(Brand_Product,'Gilenya','Mayzent'),Brand_Product))&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 10:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904627#M74590</guid>
      <dc:creator>niranjana</dc:creator>
      <dc:date>2022-03-14T10:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding two products</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904631#M74591</link>
      <description>&lt;P&gt;Perhaps something along the lines of:&lt;/P&gt;
&lt;P&gt;if(Brand_Market='NS Range' OR (Brand_Market =&amp;nbsp;'Gilenya Market' and not match(Brand_Product,'Gilenya','Mayzent')),Brand_Product)&lt;/P&gt;
&lt;P&gt;Assuming you prefer this as an if() rather than set analysis.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 10:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904631#M74591</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-14T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding two products</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904677#M74594</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;Thanks for your reply. I would prefer to limit in dimension because using set analysis in expression would be too long. BUt this expression doesnt work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 11:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904677#M74594</guid>
      <dc:creator>niranjana</dc:creator>
      <dc:date>2022-03-14T11:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding two products</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904696#M74596</link>
      <description>&lt;P&gt;I tested this using inline data and it works as expected when used as a measure. In your scenario, the specific data structure / context may not allow this to be used as a calculated dimension, in which case you will likely have to use aggr() to work around that. &lt;/P&gt;
&lt;P&gt;Note that this is not a recommended approach in general. It would be better for performance to create this field in your script (using the formula already provided) and then using that field as your dimension:&lt;/P&gt;
&lt;P&gt;Load *, if(Brand_Market='NS Range' OR (Brand_Market = 'Gilenya Market' and not match(Brand_Product,'Gilenya','Mayzent')),Brand_Product) as Brand_Product_For_Chart&lt;/P&gt;
&lt;P&gt;From YourTable;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 12:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1904696#M74596</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-14T12:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding two products</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1905319#M74643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for you reply! The requirement is changed and I need to modify the question a bit . If I select Brand_Market='NS Range', products of NS Range and products of Gilenya Market excluding the two products must be visible. For other markets, as usual all corresponding brand prodcuts must be visible.&lt;/P&gt;
&lt;P&gt;Quick response is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 12:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-two-products/m-p/1905319#M74643</guid>
      <dc:creator>niranjana</dc:creator>
      <dc:date>2022-03-15T12:19:51Z</dc:date>
    </item>
  </channel>
</rss>

