<?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, ignore dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280956#M104517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please confirm in calculating YTD ,why are you choosing max month ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;If in case&amp;nbsp; you want a static YTD ignoring month and quarter,then below expression you can try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Year={"$(=DATE(FLOOR(YearStart(Today())),'YYYY'))"},Month=,Quarter=&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;or else if you want year to be changed along with month selection also ,then try this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum( {$&amp;lt;Year={"$(=DATE(FLOOR(YearStart(max(Month))),'YYYY'))"},Quarter=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 06:31:47 GMT</pubDate>
    <dc:creator>Pulkit_Thukral</dc:creator>
    <dc:date>2016-06-06T06:31:47Z</dc:date>
    <item>
      <title>Set-Analysis, ignore dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280951#M104512</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 am trying to calculate YTD using set analsyis. I have three dimesions: Year, Quarter and Month. I am using this expression in my object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;MonthID = {"&amp;lt;=$(=Max(MonthID))"},&lt;/P&gt;&lt;P&gt;Year = {$(=Max(Year))},&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Month = &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I have understood the syntax for Set Analysis, the statement "Quarter=" should ignore any selections in that dimension. I.e. If I choose Year = 2011, Quarter = Q2, Month = September, my table should show the value for 2011 September, not the value for 2011 Quarter Q2. But whenever I choose anything in the dimension Quarter, my value in the column YTD changes. Can you help me with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280951#M104512</guid>
      <dc:creator />
      <dc:date>2011-10-28T08:33:42Z</dc:date>
    </item>
    <item>
      <title>Set-Analysis, ignore dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280952#M104513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess when you select a different quarter, like selecting Q1, your current selection of MonthID resp. max(MonthID) is also changing, isn't it (unless you only &lt;EM&gt;add &lt;/EM&gt;quarters with correlated monthID &amp;lt;= current max MonthID)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if I understood your problem correctly, though. Could you upload a sample here?&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>Fri, 28 Oct 2011 11:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280952#M104513</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-28T11:11:49Z</dc:date>
    </item>
    <item>
      <title>Set-Analysis, ignore dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280953#M104514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; why not use the InYearToDate() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 12:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280953#M104514</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-10-28T12:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set-Analysis, ignore dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280954#M104515</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;Thanks for your answer. Yes, the current selection of MonthID changes if I select a different quarter. But I thought that if I used the set analysis like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;MonthID = {"&amp;lt;=$(=Max(MonthID))"},&lt;/P&gt;&lt;P&gt;Year = {$(=Max(Year))},&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Month = &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value should not change if I selected anything in the Quarter listbox. I have attached an example of my Set Analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is that the value in the column YTD should only be changed if I choose anything in the Year and Month listboxes. If the user choose anything in the Quarter listbox, the column YTD should ignore that selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if this is possible to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 10:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280954#M104515</guid>
      <dc:creator />
      <dc:date>2011-11-01T10:04:19Z</dc:date>
    </item>
    <item>
      <title>Set-Analysis, ignore dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280955#M104516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Month Num] = {"&amp;lt;=$(=Max(&lt;STRONG&gt;{&amp;lt;[Quarter] =&amp;gt;}&lt;/STRONG&gt;[Month Num]))"},[Year] = {$(=Max(Year))}, [Quarter] =&amp;gt;} Antal)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 10:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280955#M104516</guid>
      <dc:creator />
      <dc:date>2011-11-01T10:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set-Analysis, ignore dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280956#M104517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please confirm in calculating YTD ,why are you choosing max month ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;If in case&amp;nbsp; you want a static YTD ignoring month and quarter,then below expression you can try :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Year={"$(=DATE(FLOOR(YearStart(Today())),'YYYY'))"},Month=,Quarter=&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;gt;&amp;gt; &lt;/STRONG&gt;or else if you want year to be changed along with month selection also ,then try this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum( {$&amp;lt;Year={"$(=DATE(FLOOR(YearStart(max(Month))),'YYYY'))"},Quarter=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 06:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-ignore-dimension/m-p/280956#M104517</guid>
      <dc:creator>Pulkit_Thukral</dc:creator>
      <dc:date>2016-06-06T06:31:47Z</dc:date>
    </item>
  </channel>
</rss>

