<?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 Explanation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410492#M426590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sum the all_values when all possible valuess from Date field and Calendar1 variable. We are not sure, What variable is declare in your environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 14:52:39 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-09-13T14:52:39Z</dc:date>
    <item>
      <title>Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410489#M426587</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;Can someone explain what is happening in this expression please:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;$(vCalendar1),Date=P(Date)&amp;gt;}[all_values])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410489#M426587</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2017-09-13T14:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410490#M426588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you are ignoring all selection in calendar fields within your dashboard and only looking to see possible Dates with this expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410490#M426588</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T14:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410491#M426589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410491#M426589</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2017-09-13T14:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410492#M426590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sum the all_values when all possible valuess from Date field and Calendar1 variable. We are not sure, What variable is declare in your environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410492#M426590</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-13T14:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410493#M426591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it might be a Concatenated list of fields from the calendar table, but excluding Date field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410493#M426591</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410494#M426592</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;Yes, $(vCalendar1) seems to be a concatenated list of fields.&amp;nbsp; The above expression isn't working correctly. When I place $(vCalendar1) into a textbox there is an &lt;STRONG&gt;Error: Garbage after expression: ","&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is set as&amp;nbsp; [Year],[MonthYear],[Fiscal Month],[Fiscal Yr],[Main Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; however the expression has a red underline from [Month Year] to [Main Date].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked that all these fields are available in the data model and they are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 07:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410494#M426592</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2017-09-14T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410495#M426593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;When I place $(vCalendar1) into a textbox there is an &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Error: Garbage after expression: ","&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's because $(vCalendar1) is trying to evaluate the list as an expression, which will clearly not work. To see this variable in a text box, just use &lt;EM&gt;=vCalendar1&lt;/EM&gt; as the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;however the expression has a red underline from [Month Year] to [Main Date].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;For the same reason...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 07:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410495#M426593</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-09-14T07:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410496#M426594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so should be expression be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;vCalendar1,Date=P(Date)&amp;gt;}[all_values])&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 07:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410496#M426594</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2017-09-14T07:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410497#M426595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think for checking its value in text box you need to just use =vCalendar, but within the set analysis, you might still need dollar sign expansion&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum({&amp;lt;$(vCalendar1),Date=P(Date)&amp;gt;}[all_values])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410497#M426595</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T08:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410498#M426596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a value in the text box - but when the a date value is selected - it doesnt change - whereas a simple sum(all_values) does change when different dates are selected....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410498#M426596</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2017-09-14T08:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410499#M426597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is difference between Date and Main Date? I see your variable uses Main Date within vCalendar? Do you make selection in Main Date or Date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 08:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410499#M426597</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-14T08:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410500#M426598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry,&amp;nbsp; the expression should read :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;$(vCalendar1),[Main Date]=P(Date)&amp;gt;}[all_values])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCalendar1 is set to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;STRONG&gt;[Year],[MonthYear],[Fiscal Month],[Fiscal Yr],[Main Date]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Date selections are made using the fields used in the variable above.&amp;nbsp;&amp;nbsp;&amp;nbsp; One thing I can see is that &lt;STRONG&gt;Date&lt;/STRONG&gt; is in a calendar which isn't joined in my data model....&amp;nbsp;&amp;nbsp;&amp;nbsp; [Year],[MonthYear],[Fiscal Month],[Fiscal Yr],[Main Date] are all part of a SalesCalendar&amp;nbsp; which is connected in the data model....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 09:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410500#M426598</guid>
      <dc:creator>prees959</dc:creator>
      <dc:date>2017-09-15T09:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Explanation</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410501#M426599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that vCalendar1 is without Main Date because you cannot have 2 set analysis on the same field.... If you go have that only the first one is honored... so in your case because [Main Date] comes before [Main Date] = p(Date), the first one work, second one doesn't. A work around would be to use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;[Main Date]=P(Date), $(vCalendar1)&amp;gt;}[all_values])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 11:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Explanation/m-p/1410501#M426599</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-15T11:30:38Z</dc:date>
    </item>
  </channel>
</rss>

