<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448474#M612427</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried this expression but not works , i know the problem with situation because it concidere the situation as String and not Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2017 17:27:37 GMT</pubDate>
    <dc:creator>souadouert</dc:creator>
    <dc:date>2017-11-23T17:27:37Z</dc:date>
    <item>
      <title>set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448467#M612419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used this expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;SITUATION={"=&amp;lt;$(=Date#(SITUATION))"}&amp;gt;}PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always it return 0 , but when i change the expression&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;SUM({&amp;lt;SITUATION={"=$(=Date#(SITUATION))"}&amp;gt;}PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;it works correctly but i need to sum all productio_volume_tnd when situation &amp;lt;= $situation&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448467#M612419</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2017-11-23T17:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448468#M612420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be interplace the logic for =&amp;lt; to &amp;lt;=, Try this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SUM({&amp;lt;SITUATION={"&amp;lt;=$(=Date#(SITUATION))"}&amp;gt;}PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448468#M612420</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T17:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448469#M612421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello anil , i interplace the logic but always the same problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448469#M612421</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2017-11-23T17:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448470#M612423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What format you have for SITUATION? And what logic you need to apply here. Because Date#(SITUATION) returns only Dates not the logic. May be you need some setup like Max() and Min() over Date#()..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448470#M612423</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T17:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448471#M612424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i use this express&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;SUM({&amp;lt;DATE#(SITUATION)={"&amp;lt;=$(=Date#(SITUATION))"}&amp;gt;}PRODUCTTION_VOLUME_TND) ??????????&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448471#M612424</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2017-11-23T17:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448472#M612425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to sum all sales before selection situation (DATE) : 2017-10 for example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448472#M612425</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2017-11-23T17:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448473#M612426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;can i use this express&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SUM({&amp;lt;DATE#(SITUATION)={"&amp;lt;=$(=Date#(SITUATION))"}&amp;gt;}PRODUCTTION_VOLUME_TND) ??????????&lt;/STRONG&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;NO, You can't&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;souad ouertani wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;i need to sum all sales before selection situation (DATE) : 2017-10 for example&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SUM({&amp;lt;SITUATION={"&amp;lt;=$(=Date#(&lt;SPAN style="color: #ff0000;"&gt;Max(&lt;/SPAN&gt;SITUATION&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;))"}&amp;gt;}PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448473#M612426</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T17:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448474#M612427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried this expression but not works , i know the problem with situation because it concidere the situation as String and not Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448474#M612427</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2017-11-23T17:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448475#M612428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, You may work with Date Formats using? Can you explain the Date format?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448475#M612428</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T17:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448476#M612429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mm-yyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448476#M612429</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2017-11-23T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448477#M612430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SUM({&amp;lt;SITUATION={"&amp;lt;=$(=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;Max(&lt;/SPAN&gt;SITUATION&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt;)"}&amp;gt;}PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;SUM({&amp;lt;SITUATION={"&amp;lt;=$(=Date(Max(SITUATION), 'MM-YYYY'))"}&amp;gt;}PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 17:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448477#M612430</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T17:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448478#M612431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is SITUTATION read as a date field from the script? If not, I would suggest to make sure that it is read as date like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(MonthStart(Date#(SITUATION, 'MM-YYYY')), 'MM-YYYY') as SITUATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One you have this, you can try this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;SITUATION = {"&amp;lt;=$(=Date(Max(SITUATION), 'MM-YYYY'))"}&amp;gt;} PRODUCTTION_VOLUME_TND)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure &amp;lt; is before =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&amp;lt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wrong&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 22:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448478#M612431</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-23T22:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448479#M612432</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;one alternative solution might be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 23:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue/m-p/1448479#M612432</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-11-23T23:59:06Z</dc:date>
    </item>
  </channel>
</rss>

