<?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 help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530191#M746743</link>
    <description>&lt;P&gt;Thanks Sunny. It's working as expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 21:28:15 GMT</pubDate>
    <dc:creator>sangeess21</dc:creator>
    <dc:date>2019-01-14T21:28:15Z</dc:date>
    <item>
      <title>Set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530015#M746741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’m trying to show unique customers per quarter for the last 5 years. The expression works well when no year selection is made. But when year is selected, it hides few customers and the total count varies.&lt;/P&gt;&lt;P&gt;E.g.: Customer “AIEAJKI” is a unique customer in 2015 (Direct/Product) and 2017 (Direct/Services). The report displays it when no year selection is made. But when I select 2015, it disappears from the report. Also, I would like the chart to show data only for the last five years. When I select 2013 or prior years, it shouldn’t display any data. Why does that happen? Maybe, I’m missing something in my expression. Attached is my sample dataset. Any help is appreciated.&lt;/P&gt;&lt;P&gt;Here is my expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(Customer.Mth_Year = Min({1&amp;lt;Date={"&amp;gt;=$(=YearStart(Max(Date), -4))&amp;lt;=$(=Date(Max(Date)))"},Customer.QTR=,Customer.Month=,Customer.Year&amp;gt;}TOTAL &amp;lt;[Direct/Indirect Customer],Segment,[Direct/Indirect Customer Name]&amp;gt; Customer.Mth_Year), 1, 0), Direct/Indirect Customer],Segment,[Direct/Indirect Customer Name], Customer.Mth_Year))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530015#M746741</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2024-11-16T04:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530025#M746742</link>
      <description>&lt;P&gt;May be try this&lt;/P&gt;&lt;PRE&gt;Sum(Aggr(If(Customer.Mth_Year = Min({1&amp;lt;Date={"&amp;gt;=$(=YearStart(Max(&lt;FONT color="#FF0000"&gt;{1}&lt;/FONT&gt;Date), -4))&amp;lt;=$(=Date(Max(&lt;FONT color="#FF0000"&gt;{1}&lt;/FONT&gt;Date)))"}, Customer.QTR, Customer.Month, Customer.Year&amp;gt;}
	TOTAL &amp;lt;[Direct/Indirect Customer], Segment, [Direct/Indirect Customer Name]&amp;gt; Customer.Mth_Year), 1, 0),
		[Direct/Indirect Customer],Segment,[Direct/Indirect Customer Name], Customer.Mth_Year))&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Jan 2019 13:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530025#M746742</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-14T13:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530191#M746743</link>
      <description>&lt;P&gt;Thanks Sunny. It's working as expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 21:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1530191#M746743</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2019-01-14T21:28:15Z</dc:date>
    </item>
  </channel>
</rss>

