<?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 Show data linked to a date dependent on selected date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274376#M499956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now created a calender island and in the expression I have following set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct{$&amp;lt;MonthYear=le_approval_YM&amp;gt;}leid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to count the number of distinct "leid" when the le_approval_date is the same as one selected MonthYear (from the master calender). But it doesn't work. It doesn't happen anything with my table when I select a MonthYear in the island calender. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts that might help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2011 12:45:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-10T12:45:40Z</dc:date>
    <item>
      <title>Show data linked to a date dependent on selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274374#M499952</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;I have three dimensions that are linked together in the following way: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store ---&lt;EM&gt;many to one&lt;/EM&gt;--&amp;gt; company ---&lt;EM&gt;many to one&lt;/EM&gt;--&amp;gt; chain&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All three dimensions have their own approval date, create date and some other dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a table showing number of stores, companies, and chains approved or created during the selected time period (see table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Number of created/approved stores, companies, and chains during Januari and February 2011&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="border: 1px solid #000000; width: 806px; height: 116px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;store&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;company&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;chain&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Sweden&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Norway&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Finland&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Denmark&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want a company and a chain popping up in the table if the approval/create date of tha comapny or chain was during the selected time period and not all companies and chains connected to the new stores (as I get now). I.e. I get too many companies and chains for every time period (if I don't choose the entire period). This is because the dimensions are linked together. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;store:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;store_id&lt;/P&gt;&lt;P&gt;company_id&lt;/P&gt;&lt;P&gt;chain_id&lt;/P&gt;&lt;P&gt;store_approval_date&lt;/P&gt;&lt;P&gt;store_create_date&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...some more date and other attributes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;company:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;company_id&lt;/P&gt;&lt;P&gt;company_approval_date&lt;/P&gt;&lt;P&gt;company_create_date&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...some more date and other attributes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;chain:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;chain_id&lt;/P&gt;&lt;P&gt;chain_approval_date&lt;/P&gt;&lt;P&gt;chain_create_date&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...some more date and other attributes&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to do the same tables for create date and some other dates connected to the dimensions. I do not have a master calender (since I didn't get that to work without synthetic keys) so I use the store_approval_date as the date that can be selected in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a solution on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 21:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274374#M499952</guid>
      <dc:creator />
      <dc:date>2011-06-08T21:49:46Z</dc:date>
    </item>
    <item>
      <title>Show data linked to a date dependent on selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274375#M499954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; you could create a Data Island of a calendar file woth jsut dates in with no links and then do either Set analysis or Sum(If ) on each date indepndently then agains tthe Master Calendar &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 15:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274375#M499954</guid>
      <dc:creator />
      <dc:date>2011-06-09T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Show data linked to a date dependent on selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274376#M499956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now created a calender island and in the expression I have following set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct{$&amp;lt;MonthYear=le_approval_YM&amp;gt;}leid)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to count the number of distinct "leid" when the le_approval_date is the same as one selected MonthYear (from the master calender). But it doesn't work. It doesn't happen anything with my table when I select a MonthYear in the island calender. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts that might help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 12:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274376#M499956</guid>
      <dc:creator />
      <dc:date>2011-06-10T12:45:40Z</dc:date>
    </item>
    <item>
      <title>Show data linked to a date dependent on selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274377#M499958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Can you attach the qvw andI could take a look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274377#M499958</guid>
      <dc:creator />
      <dc:date>2011-06-13T11:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show data linked to a date dependent on selected date</title>
      <link>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274378#M499959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file is attached, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-data-linked-to-a-date-dependent-on-selected-date/m-p/274378#M499959</guid>
      <dc:creator />
      <dc:date>2011-06-13T11:59:14Z</dc:date>
    </item>
  </channel>
</rss>

