<?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: Chart with one axis for multiple dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368797#M577311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Fernando says, an if() with an island date will perform poorly.&amp;nbsp; Consider linking the new date to your data model.&amp;nbsp; See attached, though the example probably has a lot of features you don't need - it's linking multiple dates in multiple tables, and where two of the tables share an ID but one has multiple rows per ID.&amp;nbsp; The basic idea should remain the same, though - a linkage table with a date, a date type, and your key fields.&amp;nbsp; In more complicated data models than the one shown, the linkage table could cause loops, but probably won't for simpler cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2012 23:52:04 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2012-03-30T23:52:04Z</dc:date>
    <item>
      <title>Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368793#M577307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @ all,&lt;/P&gt;&lt;P&gt;I've a problem creating a chart with the following requirements:&lt;/P&gt;&lt;P&gt;I want to show 2 formulas in a chart where on depends on the creation date and one on the closing date.I have a classical star schema with a fact table and surrounding dimensions, in special a dim_creation_time and dim_closing_time for handling the different dates.&lt;/P&gt;&lt;P&gt;Now my idea was to have a third date_dimension called dim_date_range which is not connected to the fact table. This dimension should be the dimension in a line chart. But How do I connect this separated dimension to the other ones in the formulars?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 11:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368793#M577307</guid>
      <dc:creator />
      <dc:date>2012-03-26T11:50:03Z</dc:date>
    </item>
    <item>
      <title>Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368794#M577308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use expressions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(dim_date_range = dim_creation_time, YourFactMeasure))&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;sum(if(dim_date_range = dim_cclosing_time, YourFactMeasure))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beware that this may not work well with a large data volume because of the if(). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this points you in the right direction.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 23:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368794#M577308</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-03-27T23:03:18Z</dc:date>
    </item>
    <item>
      <title>Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368795#M577309</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;thanks for your answer. I already tried this way.&lt;/P&gt;&lt;P&gt;﻿﻿﻿﻿sum(if(open_date_field=date_range_field,count_fact_value)) works. but&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;open_date_field=date_range_field&amp;gt;}count_fact_value) doesn't work and gives me "no data available".&lt;/P&gt;&lt;P&gt;But ﻿I have the calucation for the measure already in a set analysis formula and I think it would be really hard to transform this into a "normal" if-clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 07:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368795#M577309</guid>
      <dc:creator />
      <dc:date>2012-03-28T07:39:21Z</dc:date>
    </item>
    <item>
      <title>Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368796#M577310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, but isn't it possible for you to mix the if-clause with your current set analysis? It'd be something like this: &lt;/P&gt;&lt;P&gt;sum({set analysis} if(open_date_field=date_range_field,count_fact_value) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 12:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368796#M577310</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-03-30T12:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368797#M577311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Fernando says, an if() with an island date will perform poorly.&amp;nbsp; Consider linking the new date to your data model.&amp;nbsp; See attached, though the example probably has a lot of features you don't need - it's linking multiple dates in multiple tables, and where two of the tables share an ID but one has multiple rows per ID.&amp;nbsp; The basic idea should remain the same, though - a linkage table with a date, a date type, and your key fields.&amp;nbsp; In more complicated data models than the one shown, the linkage table could cause loops, but probably won't for simpler cases.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 23:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368797#M577311</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2012-03-30T23:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368798#M577312</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;If possible could you load an example that is compatible with the personal edition? Or alternatively post the script code you are demonstrating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Damian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 00:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368798#M577312</guid>
      <dc:creator />
      <dc:date>2012-10-29T00:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with one axis for multiple dates</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368799#M577313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't possible for me to make an example compatible with Personal Edition.&amp;nbsp; Only QlikTech can do that.&amp;nbsp; But you can find the script, object definitions, and a bit of explanation here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/269159#269159"&gt;http://community.qlik.com/message/269159#269159&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 16:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-one-axis-for-multiple-dates/m-p/368799#M577313</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2012-10-29T16:01:39Z</dc:date>
    </item>
  </channel>
</rss>

