<?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 Need help with set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224697#M391071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need help with this expresion. I have attached an example qvw. What I need to do is to show the colors of the first series for each product. First series is th eminimum series and can change depending on the selection (for example if you select special colors).&lt;/P&gt;&lt;P&gt;I tried to use set anylsis for that &lt;/P&gt;&lt;P&gt;concat( distinct {&amp;lt; Product_series ={$(=min(Product_series))}&amp;gt; } Product_color, ', ')&lt;/P&gt;&lt;P&gt;but it gives me correct values only if one product is selected. If I do not select a product it searches for the minumum of product series and doesn't pay attention to my dimension (product id). I need it to work for each product id though.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see in the screenshot below I dont get light blue color for my first series of the 4087 product. Thats because my set expression looks for series 1.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="lb.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147397_lb.jpg" style="height: 76px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As soon as I filter for one product 4087, I get the correct value, beacues my set expresion gives me 4 as the minimum series.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="lbc.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147416_lbc.jpg" style="height: 56px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I am missing something in the expression but can't find the solution.&lt;/P&gt;&lt;P&gt;Does anyone have an idea how to make it work? I would really appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2016 13:09:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-22T13:09:34Z</dc:date>
    <item>
      <title>Need help with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224697#M391071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need help with this expresion. I have attached an example qvw. What I need to do is to show the colors of the first series for each product. First series is th eminimum series and can change depending on the selection (for example if you select special colors).&lt;/P&gt;&lt;P&gt;I tried to use set anylsis for that &lt;/P&gt;&lt;P&gt;concat( distinct {&amp;lt; Product_series ={$(=min(Product_series))}&amp;gt; } Product_color, ', ')&lt;/P&gt;&lt;P&gt;but it gives me correct values only if one product is selected. If I do not select a product it searches for the minumum of product series and doesn't pay attention to my dimension (product id). I need it to work for each product id though.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see in the screenshot below I dont get light blue color for my first series of the 4087 product. Thats because my set expression looks for series 1.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="lb.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147397_lb.jpg" style="height: 76px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;As soon as I filter for one product 4087, I get the correct value, beacues my set expresion gives me 4 as the minimum series.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="lbc.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147416_lbc.jpg" style="height: 56px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I am missing something in the expression but can't find the solution.&lt;/P&gt;&lt;P&gt;Does anyone have an idea how to make it work? I would really appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 13:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224697#M391071</guid>
      <dc:creator />
      <dc:date>2016-12-22T13:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224698#M391072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is evaluated once per chart, try using Aggr() function here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(Aggr(If(Product_series = Min(TOTAL &amp;lt;Product_id&amp;gt; Product_series), Product_color), Product_id, Product_series, Product_color), ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 16:34:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224698#M391072</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T16:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224699#M391073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I needed, thank you so much! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 18:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis-expression/m-p/1224699#M391073</guid>
      <dc:creator />
      <dc:date>2016-12-22T18:30:33Z</dc:date>
    </item>
  </channel>
</rss>

