<?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: Creating monthly data with set analysis and date islands in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659880#M240647</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;It is best to do this n the script, set analysis is slowing down the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 06:58:54 GMT</pubDate>
    <dc:creator>ariel_klien</dc:creator>
    <dc:date>2014-09-23T06:58:54Z</dc:date>
    <item>
      <title>Creating monthly data with set analysis and date islands</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659877#M240644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: calibri, verdana, arial, sans-serif;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;&lt;STRONG&gt;THE PROBLEM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I want to be able to load some Sales data and some Purchase data from two separate tables which each have a date but show monthly data from each table based on the MasterCalendar. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;So the Sales table has a Sales date and the Purchase table has a Purchase date. I have created a Master Calendar with all of the required calendar fields (CalendarDate, CalendarMonth etc) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;The ideal situation is that when a user selects a date, QlikView will show the Sales data for that selected date and the Purchase data for that selected date. I also want the report to behave so that when a user selects a month from the CalendarMonth, Sales AND Purchase data are shown for the month. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;&lt;STRONG&gt;EXAMPLE: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; - The report has a bar chart with Sales AND Purchase data. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; - The user selects 15/09/2014 from CalendarDate, the chart shows Sales and Purchase data for 15/09/2014 in the same chart. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt; - The user then selects September from CalendarMonth, the chart shows Sales and Purchase data for the month of September on the same chart. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;I have created a chart with the following set analysis for both measures: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;SUM({&amp;lt;SalesDate = {"$=(Date(CalendarDate))"}, CalendarMonth = , CalendarYear = }&amp;gt;Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;SUM({&amp;lt;PurchaseDate = {"$=(Date(CalendarDate))"}, CalendarMonth = , CalendarYear = }&amp;gt;Purchase)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;When I select a date, I am getting the sales and purchase amount for that date only when I create two separate tables each for Sales and Purchase. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;When I create one table to show both, I see nothing. When I select a CalendarMonth, I also see nothing. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;How can I get to a solution where when I have one chart or table and a user selects either a date or month, the chart/table should show the Sales AND Purchase data for one date or one month when selected. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659877#M240644</guid>
      <dc:creator />
      <dc:date>2014-09-22T11:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating monthly data with set analysis and date islands</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659878#M240645</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;You need to create link table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sale:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;load&lt;/SPAN&gt; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;sale_date&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #993300;"&gt;S&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;ale_num&lt;/SPAN&gt;&amp;amp;'|'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;sale_date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;key_Sale&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;from&lt;/SPAN&gt; sale.qvd;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 16px;"&gt;Purchase:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;load&lt;/SPAN&gt; *,&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #993300; font-size: 16px; font-family: calibri, verdana, arial, sans-serif;"&gt;Purchase&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;_date&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #993300; font-size: 16px; font-family: calibri, verdana, arial, sans-serif;"&gt;Purchase&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;_num&lt;/SPAN&gt;&amp;amp;'|'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300; font-size: 16px; font-family: calibri, verdana, arial, sans-serif;"&gt;Purchase_Date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt;key_&lt;/SPAN&gt;&lt;SPAN style="color: #993300; font-size: 16px; font-family: calibri, verdana, arial, sans-serif;"&gt;Purchase&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;from&lt;/SPAN&gt; sale.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;link_table:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;load&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #993300;"&gt;sale_date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt;general_date&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #993300; font-size: 13.6000003814697px;"&gt;key_Sale&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN style="font-size: 13.6000003814697px;"&gt;sale;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;load&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #993300; font-size: 16px; font-family: calibri, verdana, arial, sans-serif;"&gt;Purchase&lt;/SPAN&gt;&lt;SPAN style="color: #993300;"&gt;_date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt;general_date&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;key_&lt;/SPAN&gt;&lt;SPAN style="color: #993300; font-size: 16px; font-family: calibri, verdana, arial, sans-serif;"&gt;Purchase&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: calibri, verdana, arial, sans-serif; font-size: 16px;"&gt;Purchase&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;Calendar:&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;load&lt;/SPAN&gt; &lt;SPAN style="color: #993300;"&gt;date&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #993300;"&gt;general_date&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;form&lt;/SPAN&gt; ....&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;BR&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.6000003814697px;"&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659878#M240645</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2014-09-22T11:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating monthly data with set analysis and date islands</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659879#M240646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ariel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about set analysis? Would I have to do something for that? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 06:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659879#M240646</guid>
      <dc:creator />
      <dc:date>2014-09-23T06:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating monthly data with set analysis and date islands</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659880#M240647</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;It is best to do this n the script, set analysis is slowing down the UI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 06:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-monthly-data-with-set-analysis-and-date-islands/m-p/659880#M240647</guid>
      <dc:creator>ariel_klien</dc:creator>
      <dc:date>2014-09-23T06:58:54Z</dc:date>
    </item>
  </channel>
</rss>

