<?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, strictly less than a variable not working in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462672#M27466</link>
    <description>&lt;P&gt;hi Marcus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just noticed that when I select a Period, this is working. But I need to have it work without making any selection, e.g. having the above chart with 0 as sales when Pack Sales Start Date = Period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the variable is not the proper way to do it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 16:07:22 GMT</pubDate>
    <dc:creator>Delphines</dc:creator>
    <dc:date>2024-06-14T16:07:22Z</dc:date>
    <item>
      <title>Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462659#M27462</link>
      <description>&lt;P&gt;hi everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't succeed to have a set analysis with a strictly less than a variable working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My formula is as follow:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;[Pack Sales Start Date]= {"&amp;lt;$(=$(vPeriod))"}&amp;gt;}[€ PUB])&lt;/P&gt;
&lt;P&gt;result is 0&lt;/P&gt;
&lt;P&gt;I tried this one:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;[Pack Sales Start Date]= {"&amp;lt;=$(=$(vPeriod))"}&amp;gt;}[€ PUB])&lt;/P&gt;
&lt;P&gt;but that gives me a "less or equal than" which I don't want.&lt;/P&gt;
&lt;P&gt;I also tried this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;[Pack Sales Start Date]= {"&amp;lt;$(=vPeriod)"}&amp;gt;}[€ PUB])&lt;/P&gt;
&lt;P&gt;which still gives 0.&lt;/P&gt;
&lt;P&gt;vPeriod = max(Period)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks a lot for your help !&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 15:25:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462659#M27462</guid>
      <dc:creator>Delphines</dc:creator>
      <dc:date>2024-06-14T15:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462663#M27463</link>
      <description>&lt;P&gt;Hello !&lt;BR /&gt;&lt;BR /&gt;You can try this :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sum({&amp;lt;[Pack Sales Start Date]= {"&amp;lt;$(=($(vPeriod)))"}&amp;gt;}[€ PUB])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;Enjoy your Qlik.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Théo ATRAGIE.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 15:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462663#M27463</guid>
      <dc:creator>theoat</dc:creator>
      <dc:date>2024-06-14T15:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462668#M27464</link>
      <description>&lt;P&gt;hi Theo,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that doesn't work, that gives me a "less or equal" when I need a strictly less than.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture d’écran 2024-06-14 175101.png" style="width: 672px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167971iFDF264F5322B573E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d’écran 2024-06-14 175101.png" alt="Capture d’écran 2024-06-14 175101.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;the figures in green should be equal to 0 (example : when Period = 0/05/02018 and Pack Sales Start Date = 01/05/2018 then the condition (strictly less) is not fulfilled, we shouldn't see any sales).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 15:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462668#M27464</guid>
      <dc:creator>Delphines</dc:creator>
      <dc:date>2024-06-14T15:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462669#M27465</link>
      <description>&lt;P&gt;Just remove the label for this expression and then hoover with the mouse on it - within the showing popup you will see your expression and there the resolved result of your variable. Does the variable have really the expected value?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 16:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462669#M27465</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-06-14T16:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462672#M27466</link>
      <description>&lt;P&gt;hi Marcus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just noticed that when I select a Period, this is working. But I need to have it work without making any selection, e.g. having the above chart with 0 as sales when Pack Sales Start Date = Period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe the variable is not the proper way to do it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 16:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462672#M27466</guid>
      <dc:creator>Delphines</dc:creator>
      <dc:date>2024-06-14T16:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462678#M27467</link>
      <description>&lt;P&gt;I assume from your answer that the variable itself returned a valid value - but of course only one for the entire application not n ones in regard to the object-dimensionalities. Further set analysis is working on a column-level which also means that only a single value is possible.&lt;/P&gt;
&lt;P&gt;If you want to compare both dates in the object against each other on a dimensional-level you will to use an if-loop, like:&lt;/P&gt;
&lt;P&gt;if(Date1 &amp;lt; Date2, expr1, expr2)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 16:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2462678#M27467</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-06-14T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, strictly less than a variable not working</title>
      <link>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2463100#M27483</link>
      <description>&lt;P&gt;hi Marcus,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;indeed it was a simple if, many thanks for that &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;, I didn't think about it!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 15:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Set-Analysis-strictly-less-than-a-variable-not-working/m-p/2463100#M27483</guid>
      <dc:creator>Delphines</dc:creator>
      <dc:date>2024-06-17T15:57:47Z</dc:date>
    </item>
  </channel>
</rss>

