<?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: Choose between two dates for dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260549#M98300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that, but it can't make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attaching my example to see if anyone can find why it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jan 2012 10:07:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-10T10:07:24Z</dc:date>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260543#M98294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have a record with a start date and an end date, with both dates connected to a date hiearchy, is it possible to choose which of the dates to present in a chart that uses that date hiearchy as a dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, having the same bar chart twice, with the same expression and the same total, but in of the charts the values are presented by start date and in the other the values are presented by end date. Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 16:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260543#M98294</guid>
      <dc:creator />
      <dc:date>2012-01-09T16:32:00Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260544#M98295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I would say this &lt;EM&gt;should &lt;/EM&gt;be possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you detail a bit more your data model, especially how your two fields start and end date are connected to your date hierarchy? Is your date hierarchy a master calendar or could you describe this a bit more, too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 16:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260544#M98295</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-09T16:44:59Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260545#M98296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I have a calendar table with the following fields:&lt;/P&gt;&lt;P&gt;calendarID, complete date; year; month; week; day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far each record had only a calendarID that connected to the dates in calendar table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to have two dates per record, and I'm trying to find what is the best way to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 16:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260545#M98296</guid>
      <dc:creator />
      <dc:date>2012-01-09T16:54:44Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260546#M98297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could look into using a linkage table (search the forum for examples, I assume there are lots of). This should also allow you easily to select either start date or end date per graph (e.g. using set analysis).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 17:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260546#M98297</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-09T17:02:46Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260547#M98298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help, but I couldn't make the linkage table work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my data model I would have 2 fields from the same table (start_date_id and end_date_id) connecting to 2 fields the linkage table, and that way it doesn't work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 19:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260547#M98298</guid>
      <dc:creator />
      <dc:date>2012-01-09T19:55:06Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260548#M98299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look e.g. at this sample:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/116832#116832"&gt;http://community.qlik.com/message/116832&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope fully this explains the concept a bit better. In the sample of John, you just need to add a master calendar linked to Date field of the link table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your setting, you could then use DateType field to select start or end date in your charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice evening,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 20:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260548#M98299</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-09T20:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260549#M98300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that, but it can't make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attaching my example to see if anyone can find why it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 10:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260549#M98300</guid>
      <dc:creator />
      <dc:date>2012-01-10T10:07:24Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260550#M98301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, I haven't seen two links between two tables without a synthetic key so far! Not sure if this is a bug or what the effect of this is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I think you shouldn't use two Keys to link your fact table and the link table, only one. Please look again at John's example in the referenced thread (I am referring to the last posting by John Witherspoon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe create a unique key in your fact table (recno()?), then create your link table based on that key, creating two lines (start date and end date) per original fact table key, and setting an appropriate date type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 10:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260550#M98301</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-10T10:55:40Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260551#M98302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehi,&lt;/P&gt;&lt;P&gt;It is not a bug.&lt;/P&gt;&lt;P&gt;You are seeing two links becuase the table view selected in table viewer is source table view, just change it to internal table view and you will see the same synthetic table and key &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;Hi joaoltghenriques,&lt;/P&gt;&lt;P&gt;Why don't you link fact to one key and then that one key to the start date and end date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 11:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260551#M98302</guid>
      <dc:creator />
      <dc:date>2012-01-10T11:57:28Z</dc:date>
    </item>
    <item>
      <title>Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260552#M98303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I see, missed the source table view!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 12:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260552#M98303</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-01-10T12:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Choose between two dates for dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260553#M98304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked that way!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 19:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Choose-between-two-dates-for-dimension/m-p/260553#M98304</guid>
      <dc:creator />
      <dc:date>2012-01-10T19:15:53Z</dc:date>
    </item>
  </channel>
</rss>

