<?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: Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828829#M1214236</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140196"&gt;@qlikie1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It means that it works as when you do same selections on your dashboard. You can have a "base Expression" with no set analysis, and you can get same result just making same selections as expressed on your formula.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 14:02:36 GMT</pubDate>
    <dc:creator>francisco_orte</dc:creator>
    <dc:date>2021-08-16T14:02:36Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828502#M1214186</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set analysis within a chart that has below syntax:&lt;/P&gt;&lt;P&gt;count(distinct {&lt;BR /&gt;&amp;lt;Primary_Product_Flag={1},&lt;/P&gt;&lt;P&gt;Target_Product=,Sales={"=sum(Sales)&amp;gt;0"},&lt;/P&gt;&lt;P&gt;Product_Code={"=sum({&amp;lt;Product_Group={'PS0016'},Key_IOL_Name &amp;gt;}Sales)&amp;gt;0"}&lt;BR /&gt;&amp;gt;&lt;BR /&gt;}&lt;BR /&gt;Product_Code)&lt;BR /&gt;&lt;BR /&gt;Could you please help me to understand&amp;nbsp; what&amp;nbsp;Key_IOL_Name&amp;nbsp; do at this point?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 12:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828502#M1214186</guid>
      <dc:creator>qlikie1</dc:creator>
      <dc:date>2021-08-13T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828504#M1214187</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140196"&gt;@qlikie1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A field without any set afterwards, prevents expression to be affected on selections on that field. In other words that sum is not affected on selections made by users in Key_IOL_Name.&lt;/P&gt;&lt;P&gt;You can also write&amp;nbsp;Key_IOL_Name= (with an equal symbol at the end) with same behavior&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 12:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828504#M1214187</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2021-08-13T12:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828747#M1214221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137845"&gt;@francisco_orte&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. Could you please help me to understand the formula:&lt;BR /&gt;it filters&amp;nbsp;&lt;SPAN&gt;Primary_Product_Flag = 1, ignores&amp;nbsp;Target_Product filter,&amp;nbsp; took Sales&amp;gt;0 for each&amp;nbsp;Product_Code and&lt;BR /&gt;took all the Product Codes taht has Sales &amp;gt;0 for&amp;nbsp;Product_Group={'PS0016'} ignoring&amp;nbsp;&amp;nbsp;Key_IOL_Name&amp;nbsp; filter?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 10:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828747#M1214221</guid>
      <dc:creator>qlikie1</dc:creator>
      <dc:date>2021-08-16T10:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828760#M1214223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140196"&gt;@qlikie1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think a good aproach that may&amp;nbsp; help you to understand is seeing set analysis as a selection for each set modifier.&lt;/P&gt;&lt;P&gt;In your example&lt;/P&gt;&lt;P&gt;Filters Primary_Product_Flag with 1, so forget rest of data (be carefull, alse null values!!!)&lt;/P&gt;&lt;P&gt;Avoid any Target_Product filtering made by user.&lt;/P&gt;&lt;P&gt;Filters on Sales!!!! (not on Product_Code), taking Sales &amp;gt;0. It seems is not intended calculation, you can simplify by Sales ={"&amp;gt;0"}&lt;/P&gt;&lt;P&gt;Filters Product_Code (now it is its moment &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ), taking those products with Sales &amp;gt; 0 for Product_Group PS0016 whatever Key_IOL_Name is selected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And remember, al Set expressions are evaluated out of any object context&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 10:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828760#M1214223</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2021-08-16T10:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828813#M1214231</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137845"&gt;@francisco_orte&lt;/a&gt;&amp;nbsp;. Could you please be more specific about:&amp;nbsp;&lt;SPAN&gt;And remember, al Set expressions are evaluated out of any object context.&lt;BR /&gt;&lt;BR /&gt;Does this mean that no matter how many other modifiers&amp;nbsp;you have, what is in set expression goes first priority omitting&amp;nbsp;other conditions?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 13:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828813#M1214231</guid>
      <dc:creator>qlikie1</dc:creator>
      <dc:date>2021-08-16T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828829#M1214236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140196"&gt;@qlikie1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It means that it works as when you do same selections on your dashboard. You can have a "base Expression" with no set analysis, and you can get same result just making same selections as expressed on your formula.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 14:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828829#M1214236</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2021-08-16T14:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828848#M1214240</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In addition to above points just noticed following in the set expr on&amp;nbsp; below part..&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Product_Code={"=sum({&amp;lt;Product_Group={'PS0016'},Key_IOL_Name &amp;gt;}Sales)&amp;gt;0"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you missing the "P" element above?&amp;nbsp; Not sure if the following is the expected condition:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Product_Code=P{1&amp;lt;Product_Group={'PS0016'},Sales={'&amp;gt;0'}&amp;gt;} Key_IOL_Name &amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 15:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828848#M1214240</guid>
      <dc:creator>NageshSG</dc:creator>
      <dc:date>2021-08-16T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828868#M1214243</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/84516"&gt;@NageshSG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;both expressions are different. On the original one (no p function) you take all products with TOTAL sum&amp;nbsp; sales positive, on the other side (with P) you get all products with at least one positive Sale.&lt;/P&gt;&lt;P&gt;In some scenarios results could be very different. Also be aware on 1 , cause you are missing all user selections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 16:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828868#M1214243</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2021-08-16T16:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828948#M1214246</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137845"&gt;@francisco_orte&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for highlighting the differences.&lt;/P&gt;&lt;P&gt;Please correct me if my understanding is incorrect:&lt;/P&gt;&lt;P&gt;1. Using identifier 1 inside a P() element, should work like a 'sub query'. In the example above, the question answered is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.1 Get me the list of customers (&lt;SPAN&gt;Key_IOL_Name) who bought items having Product_Group = PS0016 (irrespective of other user selection statuses, since 1 identifier is used). Once this is evaluated then...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.2&amp;nbsp;&amp;nbsp;The element function P( ) here returns a list of possible Key_IOL_Name;&lt;BR /&gt;those that are implied by the selection ‘PS0016’ in the field Product_Group.&lt;BR /&gt;The list of Key_IOL_Name is then used as a selection in the field Product_Code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.2 The value returned for Product_Code above is therefore those codes which are bought by Key_IOL_Names. The outer $ identifier still remains and therefore the user selection is still respected for outer conditions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 04:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828948#M1214246</guid>
      <dc:creator>NageshSG</dc:creator>
      <dc:date>2021-08-17T04:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828988#M1214247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137845"&gt;@francisco_orte&lt;/a&gt;&amp;nbsp;, Thanks for your response,&lt;BR /&gt;&lt;BR /&gt;and one more thing,&amp;nbsp; even though we have&amp;nbsp;&lt;SPAN&gt;Target_Product= in formula, the selections on target product work anyway, unless I remove&amp;nbsp; this part -- Product_Code={"=sum({&amp;lt;Product_Group={'PS0016'},Key_IOL_Name &amp;gt;}Sales)&amp;gt;0"&amp;nbsp; from the formula. Is it supposed to work like that?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 08:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1828988#M1214247</guid>
      <dc:creator>qlikie1</dc:creator>
      <dc:date>2021-08-17T08:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829000#M1214249</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/84516"&gt;@NageshSG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I highly recommend you to review again all documentation related to set analysis&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;May be your expressions works as you are explaining, but it's a different expression, with different results of that proposed by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140196"&gt;@qlikie1&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In our first scenario, we only intend to avoid selections on&amp;nbsp;&lt;SPAN&gt;Key_IOL_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 09:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829000#M1214249</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2021-08-17T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829001#M1214250</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/140196"&gt;@qlikie1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just try to add Target_Product= on the set analysis you are using for Product_Code. In that case Target_Product selections will not affect to Product_Code.&lt;/P&gt;&lt;P&gt;Hope it helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 09:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829001#M1214250</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2021-08-17T09:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829090#M1214266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137845"&gt;@francisco_orte&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your advise and the links.&lt;/P&gt;&lt;P&gt;Learning is a continuous process for me.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 13:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829090#M1214266</guid>
      <dc:creator>NageshSG</dc:creator>
      <dc:date>2021-08-17T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829112#M1214268</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137845"&gt;@francisco_orte&lt;/a&gt;&amp;nbsp; Thank you very much for prompt support and detailed explanations! You helped me a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 15:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1829112#M1214268</guid>
      <dc:creator>qlikie1</dc:creator>
      <dc:date>2021-08-17T15:05:10Z</dc:date>
    </item>
  </channel>
</rss>

