<?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 Changing chart static 'max' on axes depending on cyclic group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709098#M255477</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 a cyclic group - cycling between week and month for some call data.&lt;/P&gt;&lt;P&gt;I want to create a static y-axis, but the max needs to be different based on what cyclic group dimension is currently showing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest how I interrogate a cyclic group dimension within an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, logically:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If cyclic group selection is 'Weekstart(DATE)' then static max = 100&lt;/P&gt;&lt;P&gt;else if cyclic group selection is 'Monthname(DATE)' then static max = 500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 11:08:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-04T11:08:52Z</dc:date>
    <item>
      <title>Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709098#M255477</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 a cyclic group - cycling between week and month for some call data.&lt;/P&gt;&lt;P&gt;I want to create a static y-axis, but the max needs to be different based on what cyclic group dimension is currently showing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest how I interrogate a cyclic group dimension within an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, logically:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If cyclic group selection is 'Weekstart(DATE)' then static max = 100&lt;/P&gt;&lt;P&gt;else if cyclic group selection is 'Monthname(DATE)' then static max = 500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709098#M255477</guid>
      <dc:creator />
      <dc:date>2014-08-04T11:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709099#M255478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;According to my understanding, Static Min/Max can be set for expressions.If you want it to be difference for different dimensions, you may have to create two charts for two dimensions (one for month and one for week) and apply a conditional show by creating a variable.&lt;/P&gt;&lt;P&gt;Anyway let's wait a moment as there could be an expert idea for your matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709099#M255478</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-08-04T11:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709100#M255479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is possible. Please take a look at the example.&lt;/P&gt;&lt;P&gt;You can set the max or min based on if(GetCurrentField(grp)='Week',50,if(GetCurrentField(grp)='Month',100))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709100#M255479</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-08-04T11:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709101#M255480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;getselectedfield(groupname) &lt;/STRONG&gt;and set the max of axis &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709101#M255480</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-04T11:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709102#M255481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudeep - this looks like JUST the thing I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, applying it to my example (see attached)&amp;nbsp; it does not seem to work.&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;I have checked the group name and the dimension labels and everything seems ok...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;scratching my head.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709102#M255481</guid>
      <dc:creator />
      <dc:date>2014-08-04T11:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709103#M255482</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;See the attachment for the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709103#M255482</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-04T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709104#M255483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this.&lt;/P&gt;&lt;P&gt;The value of getCurrentField(GroupName) does not return the label instead it returns the expression used.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T128192_1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63665_T128192_1.png" style="width: 620px; height: 261px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709104#M255483</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-08-04T11:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709105#M255484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is in the group your &lt;STRONG&gt;using expression&lt;/STRONG&gt; so it not taking the name in the condition.&lt;/P&gt;&lt;P&gt;If you need the name comparison do it at the script level. If not follow the solution provided in the last attachment.&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;@vi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709105#M255484</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-08-04T11:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Changing chart static 'max' on axes depending on cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709106#M255485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both for your input.&lt;/P&gt;&lt;P&gt;Works perfectly!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-chart-static-max-on-axes-depending-on-cyclic-group/m-p/709106#M255485</guid>
      <dc:creator />
      <dc:date>2014-08-04T11:47:14Z</dc:date>
    </item>
  </channel>
</rss>

