<?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 problem with value formats in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275651#M102859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both, this works for my example. No I realize the next issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add a second product (field MP has now &amp;gt;1 value) the set-analysis ignores this dimension in the chart-table. As a result I find the only the date when the minPrice is the absolute min, not the min for the product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2011-08-176 001.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6538_2011-08-176+001.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;How to take into account the dimension ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Attached an updated example)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2011 05:45:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-17T05:45:07Z</dc:date>
    <item>
      <title>Set analysis problem with value formats</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275648#M102856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an urgent&amp;nbsp; problem with set anlayis. I have to monitor price changes and need to know for how long the lowes/highest price was valid. I build some test case and it works fine for numbers without digits but not for numbers with digits nor for my real data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2011-08-16 001.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/6514_2011-08-16+001.jpg" /&gt;&lt;/P&gt;&lt;P&gt;With the Basic price the following works fine (in words: search the min.date for the min.Price):&lt;/P&gt;&lt;P&gt;=min( {$&amp;lt;(Basic.Price = { $(=min(Basic.Price)) }&amp;gt; } Date )&amp;amp;' - '&amp;amp;max( { $&amp;lt;Basic.Price = { $(=min(Basic.Price)) }&amp;gt; } Date )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2011-08-16 002.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6518_2011-08-16+002.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, with numbers with digits it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2011-08-16 003.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6520_2011-08-16+003.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The function min(Price) gives back the correct value of 2,12 but this as input for the selection in the SET seems to be a problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the example QV-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275648#M102856</guid>
      <dc:creator />
      <dc:date>2011-08-16T15:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis problem with value formats</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275649#M102857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the returned comma of min(Price) is problematic and the set element expression should use '' like&lt;/P&gt;&lt;P&gt;=min( { $&amp;lt;Price = {'$(=min(Price))'}&amp;gt; } Date )&lt;/P&gt;&lt;P&gt;&amp;amp;' - '&amp;amp;&lt;/P&gt;&lt;P&gt;max( { $&amp;lt;Price = {'$(=min(Price))'}&amp;gt; } Date )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Note that I guarded the dollar sign expression with ' '. That way it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275649#M102857</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-16T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis problem with value formats</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275650#M102858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached solution for the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=min( { $&amp;lt;Price = { '$(=min(Price))' }&amp;gt; } Date )&lt;/P&gt;&lt;P&gt;&amp;amp;' - '&amp;amp;&lt;/P&gt;&lt;P&gt;max( { $&amp;lt;Price = { '$(=min(Price))' }&amp;gt; } Date )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this solves your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 15:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275650#M102858</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2011-08-16T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis problem with value formats</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275651#M102859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both, this works for my example. No I realize the next issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add a second product (field MP has now &amp;gt;1 value) the set-analysis ignores this dimension in the chart-table. As a result I find the only the date when the minPrice is the absolute min, not the min for the product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2011-08-176 001.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/6538_2011-08-176+001.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;How to take into account the dimension ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Attached an updated example)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 05:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275651#M102859</guid>
      <dc:creator />
      <dc:date>2011-08-17T05:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis problem with value formats</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275652#M102860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe what you want to achieve is quite hard using set analysis, if possible at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using advanced aggregation, it's possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at my attached sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 11:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275652#M102860</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-08-17T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis problem with value formats</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275653#M102861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much !! &lt;/P&gt;&lt;P&gt;This ﻿completely solves the problem (even if the aggr-function took a bit longer to understand...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's hope, that QV implements a set analysis also interpreting the chart dimension as per line selection to be added to the set-analysis selection in a future version... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 14:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-problem-with-value-formats/m-p/275653#M102861</guid>
      <dc:creator />
      <dc:date>2011-08-17T14:15:35Z</dc:date>
    </item>
  </channel>
</rss>

