<?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: Dynamically change the axes in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973375#M467268</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;You can create a calendar with dimensions: day, week and month. Then you can create 3 charts, each one with sales vs each dimension. And make a show conditional (properties-&amp;gt;layout) for them, that&lt;/P&gt;&lt;P&gt;chart 1 -if difference between start and end date &amp;lt;15,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;chart 2 -if difference between start and end date &amp;gt;15 and &amp;lt; 30, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;chart 3 -i&lt;/SPAN&gt;f difference between start and end date &amp;gt;30, &lt;/SPAN&gt;&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, 24 Nov 2015 16:42:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-24T16:42:13Z</dc:date>
    <item>
      <title>Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973374#M467267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was using this sales vs date chart with Daily Sales on the Y-axis and Dates on X-axis.&lt;/P&gt;&lt;P&gt;At the top, I have filters to choose the start and end dates. But if I set the filters in a way that the date difference between the start and end date in 30+ days, then it becomes cumbersome to read it properly. Is it possible to &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;calculate the difference of selected date &amp;amp; store it in variable and&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;if variable &amp;lt; 15 days then, show graph_1, if variable &amp;gt;15 &amp;amp; &amp;lt; 30, then show graph_2, else graph_3 where&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="KL"&gt;&lt;DIV class="OD"&gt;&lt;DIV class="JL"&gt;&lt;DIV class="SP Mu" style="margin-bottom: 6px;"&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="SP Mu" style="margin-bottom: 6px;"&gt;&lt;/P&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt;graph1 - will always shows date wise sales&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="SP Mu" style="margin-bottom: 6px;"&gt;&lt;/P&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt;graph2- weekwise&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="SP Mu" style="margin-bottom: 6px;"&gt;&lt;/P&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt;graph3- monthwise&lt;/DIV&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt;Please help.&lt;/DIV&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt; &lt;/DIV&gt;&lt;DIV class="xAWnQc tL8wMe" dir="ltr"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 13:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973374#M467267</guid>
      <dc:creator />
      <dc:date>2015-11-24T13:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973375#M467268</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;You can create a calendar with dimensions: day, week and month. Then you can create 3 charts, each one with sales vs each dimension. And make a show conditional (properties-&amp;gt;layout) for them, that&lt;/P&gt;&lt;P&gt;chart 1 -if difference between start and end date &amp;lt;15,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;chart 2 -if difference between start and end date &amp;gt;15 and &amp;lt; 30, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;chart 3 -i&lt;/SPAN&gt;f difference between start and end date &amp;gt;30, &lt;/SPAN&gt;&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, 24 Nov 2015 16:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973375#M467268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973376#M467269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh,&lt;/P&gt;&lt;P&gt;As, Mauri said above, a conditional show on your dimensions would work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to create a drill down group and then let the user decide whether to look at the data in days, weeks months etc??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 16:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973376#M467269</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2015-11-24T16:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973377#M467270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mauri,&lt;/P&gt;&lt;P&gt;Thank you for the prompt response. Here the current dimension is the visit_date ie. the date on which the customer purchased a product. But I want to change it according to the filters applied ie start and end date which themselves don't have a variable assigned to them. That's why I failed to execute what you suggested. Could you throw some more light on how to approach it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 17:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973377#M467270</guid>
      <dc:creator />
      <dc:date>2015-11-24T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973378#M467271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh,&lt;/P&gt;&lt;P&gt;Create two variables first:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let MaxDate = Max(date);&lt;/P&gt;&lt;P&gt;Let MinDate = Min(date);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in the condition for each dimension (ie, your day, week, month dimensions)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Day - $(MaxDate)-$(MinDate)&amp;lt;30&lt;/P&gt;&lt;P&gt;Week - &lt;SPAN style="font-size: 13.3333px;"&gt;$(MaxDate)-$(MinDate)&amp;gt;30 and &lt;SPAN style="font-size: 13.3333px;"&gt;$(MaxDate)-$(MinDate)&amp;lt;90&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month - &lt;SPAN style="font-size: 13.3333px;"&gt;$(MaxDate)-$(MinDate)&amp;gt;90&lt;/SPAN&gt;&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;Syntax and logic may not be quite there, but I hope this gives you enough to get this working for you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Good luck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;George &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 17:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973378#M467271</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2015-11-24T17:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973379#M467272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try transform start date and end date into num and compare those differences, I don't know for sure how 15 day and 30 days differences are represented in num form, but you can check those differences in a text box, then put those in the 'if' statements that I suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can try, use the day function and create a logic to compare the differences between days, but I think this way is a bit more difficult because not all the months have 30 days exactly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 17:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973379#M467272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T17:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973380#M467273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should add that here I am assuming that your date is a date and not text.&amp;nbsp; If you are using proper dates, then QlikView will do the date arithmetic for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 17:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973380#M467273</guid>
      <dc:creator>gsbeaton</dc:creator>
      <dc:date>2015-11-24T17:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973381#M467274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;!Here's a working example of George's suggestion, which I think is the way to go. That is multiple Dimensions in a single chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 18:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973381#M467274</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-11-24T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973382#M467275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. it worked. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2015 19:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973382#M467275</guid>
      <dc:creator />
      <dc:date>2015-11-29T19:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973383#M467276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Ritesh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look and this post and sample qvw &lt;A href="https://community.qlik.com/docs/DOC-4311"&gt;QlikView App: Dynamic Date Dimension&lt;/A&gt; by &lt;A href="https://community.qlik.com/qlik-users/4484"&gt;stevedark&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2015 20:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973383#M467276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-29T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change the axes in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973384#M467277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing Bill.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2015 21:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamically-change-the-axes-in-a-chart/m-p/973384#M467277</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2015-11-29T21:05:45Z</dc:date>
    </item>
  </channel>
</rss>

