<?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: Defining a Calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Defining-a-Calendar/m-p/807276#M1022664</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 tag the different tables in the script. In my case I have two tables, one with shipments and shipment dates and one with orders and order dates. In each table I create a new row in Orders like this 'Orders' As Transtype and in Shipments 'Shipments' As Transtype. I then rename the datefield in each table to Dates and concatenate the tables. not sure if this will work in your case but this is just to show how I set it up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can then use the same date but still seperate the source based on the Transtype field.&lt;/P&gt;&lt;P&gt;In a table it would look like this using two expressions&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;( {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;TransType&lt;/SPAN&gt;= {'Shipments'} &amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;OrderID&lt;/SPAN&gt; )&amp;nbsp; and&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;( {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;TransType&lt;/SPAN&gt;= {'Orders'} &amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;OrderID&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82155_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 16:47:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-27T16:47:36Z</dc:date>
    <item>
      <title>Defining a Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Defining-a-Calendar/m-p/807275#M1022663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have multiple calendars in my data. One is the registration date, another is the Energization date. The issue I have is that i want to display the number of registrations and energizations in a single month year in a table. Since these are different dimensions in my data model i am unable to do so. I want a table in the following format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Registered Cases&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Energized Cases&lt;/P&gt;&lt;P&gt;jan 2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xyz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; abc&lt;/P&gt;&lt;P&gt;feb 2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; djfh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dkj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried making a pivot table using the MonthName field that i have that relates to all dates. Then i added the followng expression fro registred cases but it is not working:dsf&lt;/P&gt;&lt;P&gt;count({&amp;lt;MonthName=[Registration Month]&amp;gt;}Distinct&amp;nbsp; [Case ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly for Energized i replaced the Registration month with energized month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defining-a-Calendar/m-p/807275#M1022663</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Defining-a-Calendar/m-p/807276#M1022664</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 tag the different tables in the script. In my case I have two tables, one with shipments and shipment dates and one with orders and order dates. In each table I create a new row in Orders like this 'Orders' As Transtype and in Shipments 'Shipments' As Transtype. I then rename the datefield in each table to Dates and concatenate the tables. not sure if this will work in your case but this is just to show how I set it up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can then use the same date but still seperate the source based on the Transtype field.&lt;/P&gt;&lt;P&gt;In a table it would look like this using two expressions&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;( {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;TransType&lt;/SPAN&gt;= {'Shipments'} &amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;OrderID&lt;/SPAN&gt; )&amp;nbsp; and&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;( {$&amp;lt;&lt;SPAN style="color: #800000;"&gt;TransType&lt;/SPAN&gt;= {'Orders'} &amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;OrderID&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82155_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 16:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Defining-a-Calendar/m-p/807276#M1022664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-27T16:47:36Z</dc:date>
    </item>
  </channel>
</rss>

