<?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: Monthly filters through 2 databases? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295670#M822679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need either a LINK table or a CONCATENATED FACT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5198"&gt;MASTERTABLE (LINK TABLE or Concatenated FACT Table)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jul 2017 13:36:56 GMT</pubDate>
    <dc:creator>marcus_malinow</dc:creator>
    <dc:date>2017-07-26T13:36:56Z</dc:date>
    <item>
      <title>Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295669#M822678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear community, I am relatively new to QlikView and I still have a lot to learn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data from 2 different databases , &lt;BR /&gt;Database1 is with Service Requests&lt;BR /&gt;Database2 is with Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have connected the 2 databases through Contract_ID ( its present in both databases)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is is it possible to make a filter which filters both databases . &lt;BR /&gt;Let me clarify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if i choose year 2017 - month January from Service requests&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will show me all values generated in that period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS it possible to show me also all values generated in Sales database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field which i generate the Month and Year fields are different in both databases. But i want to make something like if i choose January 2017 from service requests, to show me also all sales in this period &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;-Angel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295669#M822678</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295670#M822679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need either a LINK table or a CONCATENATED FACT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5198"&gt;MASTERTABLE (LINK TABLE or Concatenated FACT Table)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295670#M822679</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-07-26T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295671#M822680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can do it with the help of master calendar just combine the two dates and create calendar .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arvind Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jul 2017 13:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295671#M822680</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-26T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295672#M822681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you give some example, because i watched some videos on youtube, and also saw a few posts about master calendar, but i don't know exactly how to combine them, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TransactDate and LaborDate are my fields...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 06:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295672#M822681</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-07-27T06:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295673#M822682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;You may have two difference data sources but after loading into QlikView all your data resides in your QV data model and you shouldn't think of filtering two different databases any more. It's difficult to give firm advice without knowing anything about your data but I think your first step should be to create two master calendars - one for sales dates and one for service request dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes this might be enough but because you want to look at sales data and service request data against a common date dimension you need to take a further step and construct a canonical calendar. If all this seems difficult here is the definitive guide to this topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295673#M822682</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-27T07:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295674#M822683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, thanks I am starting to read about canonical calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Angel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 07:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295674#M822683</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-07-27T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295675#M822684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So guys i did it using Field event triggers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document properties --&amp;gt; Triggers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added it on select and on change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just choose the field i want to duplicate selection ( lets name it YEAR1)&lt;/P&gt;&lt;P&gt;Then on add actions I choose Select In field : YEAR2&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Search string : = '(' &amp;amp; getfieldselections(YEAR1,'|') &amp;amp; ')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Hope this serves someone someday&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all who replied to me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 08:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295675#M822684</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-07-28T08:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295676#M822685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;although this may work, it's probably not a good idea. Triggers rarely are, though granted they do on occasion serve a purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Contract ID&amp;nbsp;&amp;nbsp;&amp;nbsp; YEAR1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;1&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; 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2&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; 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Service Requests&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Contract ID&amp;nbsp;&amp;nbsp;&amp;nbsp; YEAR2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;1&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; 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;1&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; 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2&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; 2016&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;2&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; 2017&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what happens if your user selects 2016 in YEAR1?&lt;/P&gt;&lt;P&gt;QlikView will only associate the Sales in that year, then your tirigger will fire and further reduce the data in YEAR2. So your end product will be filtered to the second and third rows in Service Requests, however the second row will be filtered out based on YEAR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this instance your filters will act as an AND condition rather than an OR. You will filter where Sales year is 2016 AND Service Requests year is 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution to this is as stated before - model your data. Others have suggested a master calendar, which is a valid suggestion, however a first step towards this (in order to avoid a circular data model) is to set up either a concatenated fact of link table data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is of use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295676#M822685</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-07-28T09:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Monthly filters through 2 databases?</title>
      <link>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295677#M822686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus, I have given your post&amp;nbsp; a lot of thought, and I think it will be better to fix my data model, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me any reading for data modeling?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-Angel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 11:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Monthly-filters-through-2-databases/m-p/1295677#M822686</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-07-31T11:31:49Z</dc:date>
    </item>
  </channel>
</rss>

