<?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: Synchronize Date Axes on Two Separate Graphs in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163024#M917668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;=RangeMin( Max({&amp;lt;InventoryQty = {"*"}&amp;gt;} Date),&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Max({&amp;lt;SalesAmount = {"*"}&amp;gt;} Date) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could be used for the x-axes static max expression in both charts (assuming you are using e.g. a line chart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a calculated dimensin, it may look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Date &amp;lt;= $(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;RangeMin( Max({&amp;lt;InventoryQty = {"*"}&amp;gt;} Date),&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Max({&amp;lt;SalesAmount = {"*"}&amp;gt;} Date) )&lt;/SPAN&gt;), Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2016 16:55:02 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-05-17T16:55:02Z</dc:date>
    <item>
      <title>Synchronize Date Axes on Two Separate Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163021#M917665</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;&lt;/P&gt;&lt;P&gt;I have two graphs.&amp;nbsp; One represents sales.&amp;nbsp; The other represents inventory.&amp;nbsp; I have these fields mapped to a canonical date such that they can be referred to on the same graph.&amp;nbsp; Our business customer desires to have two separate graphs as we can show more information this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes there are sales or arrivals that occur beyond the latest date of the other field, ie one graph goes to 4/25/16 and the other to only 4/18/16.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a way to limit the X-axis (date) such that it only shows the smaller of the two (Largest available date).&amp;nbsp; I've tried to do this in the expression but I think it's only capturing one date.&amp;nbsp; I need to to be all dates up until the largest shared date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any easy way to do this?&amp;nbsp; I've attempted it for a good couple of hours and can't seem to crack it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Keithz&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/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163021#M917665</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Date Axes on Two Separate Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163022#M917666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be different solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, for charts with an axis tab you can set the max x axis on both charts to something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeMin( Max({&amp;lt;InventoryQty = {"*"}&amp;gt;} Date),&lt;SPAN style="font-size: 13.3333px;"&gt;Max({&amp;lt;SalesAmount = {"*"}&amp;gt;} Date) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Or create a variable from above and use this as threshold in either calculated dimensions or set expressions to limit the scope of aggregation&amp;nbsp; in both charts.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 16:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163022#M917666</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T16:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Date Axes on Two Separate Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163023#M917667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to set variables to determine the max of Arrival Date and the max of Sale Date, and then restrict the range to the minimum of that value.&amp;nbsp; I don't think I was using the correct function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Range Function is what I should use to specify the dimension expression, correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 16:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163023#M917667</guid>
      <dc:creator />
      <dc:date>2016-05-17T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Date Axes on Two Separate Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163024#M917668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;=RangeMin( Max({&amp;lt;InventoryQty = {"*"}&amp;gt;} Date),&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Max({&amp;lt;SalesAmount = {"*"}&amp;gt;} Date) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could be used for the x-axes static max expression in both charts (assuming you are using e.g. a line chart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a calculated dimensin, it may look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Date &amp;lt;= $(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;RangeMin( Max({&amp;lt;InventoryQty = {"*"}&amp;gt;} Date),&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Max({&amp;lt;SalesAmount = {"*"}&amp;gt;} Date) )&lt;/SPAN&gt;), Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 16:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163024#M917668</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T16:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Date Axes on Two Separate Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163025#M917669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah the graph is a bar graph, but the X-Axis is the aforementioned Canonical Date.&amp;nbsp; I will try making this work using the dimension calculation you provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 16:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163025#M917669</guid>
      <dc:creator />
      <dc:date>2016-05-17T16:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Synchronize Date Axes on Two Separate Graphs</title>
      <link>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163026#M917670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I think you can only set the static min &amp;amp; max x-ranges for a continouus axis, so you should go with either the calculated dimension or the set analysis approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 17:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Synchronize-Date-Axes-on-Two-Separate-Graphs/m-p/1163026#M917670</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T17:11:24Z</dc:date>
    </item>
  </channel>
</rss>

