<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554605#M1120893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can achieve this through alternate solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just split tour table in two parts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Id as IDC , Create_Date&lt;/P&gt;&lt;P&gt;2. Id as IDE, End Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May Create date with End Date and make YMD group&lt;/P&gt;&lt;P&gt;Count ID of both tables in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, using same table and calendar master, solution is complex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to write multiple expression for Create_Date and End_Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2014 07:28:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-23T07:28:47Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554604#M1120892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose I have Three fields in a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID, Create_Date,End_Date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have a common calendar,&lt;/P&gt;&lt;P&gt;These two tables are not joined ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in chart, I want to have Year, Month, Day from MAstercalendar&lt;/P&gt;&lt;P&gt;as&lt;/P&gt;&lt;P&gt;I have created a drill down group of Year,Month,Day from mastercalendar and using this group as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nad I want to calculate two measures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1,&amp;nbsp; count of ID wref Create_Date&lt;/P&gt;&lt;P&gt;2 count of ID wref End_Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the proper Set analysis expression written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 06:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554604#M1120892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-23T06:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554605#M1120893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can achieve this through alternate solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just split tour table in two parts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Id as IDC , Create_Date&lt;/P&gt;&lt;P&gt;2. Id as IDE, End Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May Create date with End Date and make YMD group&lt;/P&gt;&lt;P&gt;Count ID of both tables in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, using same table and calendar master, solution is complex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to write multiple expression for Create_Date and End_Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 07:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554605#M1120893</guid>
      <dc:creator />
      <dc:date>2014-01-23T07:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554606#M1120894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can use if statement also without splitting in multiple tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as count(if(masterdate=create_date,id)) and&lt;/P&gt;&lt;P&gt; count(if(masterdate=end_date,id)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this solution is very slow.&lt;/P&gt;&lt;P&gt;so I want an optimized solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Splitting in multiple tables will not work for me as there are many date fields in my table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554606#M1120894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-23T08:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554607#M1120895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, &lt;/P&gt;&lt;P&gt;count(if(masterdate=create_date,id)) and&lt;/P&gt;&lt;P&gt; count(if(masterdate=end_date,id))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will not work if you use masterdate as dimension, and drill down functionality will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case, i think you need to write, if(Cal_date='Jan', count({&amp;lt;create_month='Jan'&amp;gt;}id)).....etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that would be complex and slow....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554607#M1120895</guid>
      <dc:creator />
      <dc:date>2014-01-23T08:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554608#M1120896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested , it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 08:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/554608#M1120896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-23T08:36:13Z</dc:date>
    </item>
  </channel>
</rss>

