<?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 Merge two date dimensions into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258035#M397221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello everyone ! Happy New Year to all !!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have two tables in my report (see snapshot and app attached). One of the table ('Failures') has date as dimension from a data table and another table ('Order') has date as dimension whose data comes from another data table. This date is selected for every row by a condition&amp;nbsp; (refer 'Orders' table expression)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now, I want to merge these two tables into single table , but the logic used to dates selected in the 'Orders' table should also be included.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;James&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Orders_snap.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148070_Orders_snap.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jan 2017 08:54:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-02T08:54:26Z</dc:date>
    <item>
      <title>Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258035#M397221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello everyone ! Happy New Year to all !!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have two tables in my report (see snapshot and app attached). One of the table ('Failures') has date as dimension from a data table and another table ('Order') has date as dimension whose data comes from another data table. This date is selected for every row by a condition&amp;nbsp; (refer 'Orders' table expression)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now, I want to merge these two tables into single table , but the logic used to dates selected in the 'Orders' table should also be included.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;James&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Orders_snap.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148070_Orders_snap.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 08:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258035#M397221</guid>
      <dc:creator />
      <dc:date>2017-01-02T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258036#M397222</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;Checked&amp;nbsp; your app,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It consists of Different dates but no Calendar connected to them,&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/5077"&gt;Drop Field and Drop Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3119"&gt;Concatenate vs Link Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better make a link table for date field and make use of it, If you want Both dates in differently means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this- &lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 09:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258036#M397222</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2017-01-02T09:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258037#M397223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2380"&gt;&lt;SPAN style="color: #3778c7; font-size: 12pt; font-family: 'inherit',serif;"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-1290"&gt;&lt;SPAN style="color: #3778c7; font-size: 12pt; font-family: 'inherit',serif;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-16454"&gt;&lt;SPAN style="color: #3778c7; font-size: 12pt; font-family: 'inherit',serif;"&gt;Uploading a Sample&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 10:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258037#M397223</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-01-02T10:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258038#M397224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then, This case just Create one straight table with YearMonth as a dimension and expresions would be Failures and Orders &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else check the Manish Reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 10:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258038#M397224</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-02T10:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258039#M397225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can relate the Data Island for date with my actual date fields in the expressions which is not a problem. One thing which I wanted to solve is to merge the dates from two data tables out of which one date has a condition before it is merged. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 10:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258039#M397225</guid>
      <dc:creator />
      <dc:date>2017-01-02T10:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258040#M397226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make a sample app as suggested by manish and elaborate your'e requirement in a short note.It will be helpful to address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 10:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258040#M397226</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2017-01-02T10:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two date dimensions into one</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258041#M397227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Here we go !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) There is a date 'NYearMonth' comes from a table NCF which is used as dimension in the 'Failures' table in the dashboard.&lt;/P&gt;&lt;P&gt;2) There are two date fields 'GRPostingYearMonth' and 'ABConfLatestYearMonth' comes from EKBE and EKES tables respectively. These dates are consolidated by a condition and displayed as dimension in the 'Orders' table in the dashboard.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The condition used was:&lt;/STRONG&gt;&amp;nbsp; =If(BaseForCOTCalc='GR',Aggr(DISTINCT(GRPostingYear&amp;amp;'/'&amp;amp;GRPostingMonth),GRPostingYearMonth),If(BaseForCOTCalc='LA',Aggr(DISTINCT(ABConfLatestYear&amp;amp;'/'&amp;amp;ABConfLatestMonth),ABConfLatestYearMonth)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which means, if the flag field '&lt;SPAN style="font-size: 13.3333px;"&gt;BaseForCOTCalc&lt;/SPAN&gt;' says 'GR' we have to pick up GRPostingYearMonth and if it says 'LA' we have to pick up 'ABConfLatestYearMonth' and display it as dimension. So basically displaying this in a separate table is pretty simple (which I did in the sample app), but merging this date with a date from another table is bit difficult in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me to improve my question if it is&amp;nbsp; unclear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 10:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-two-date-dimensions-into-one/m-p/1258041#M397227</guid>
      <dc:creator />
      <dc:date>2017-01-02T10:37:12Z</dc:date>
    </item>
  </channel>
</rss>

