<?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 Dimensions using groups and how to limit values on x-axis based on chosen group? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747169#M1039355</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 chart and in the properties --&amp;gt; Dimensions tab, i've created a cyclic group named Period.&lt;/P&gt;&lt;P&gt;This cyclic group uses 3 fields:&lt;/P&gt;&lt;P&gt;1. Day which contains date of month e.g. 01/01/2014, 02/01/2014 etc&lt;/P&gt;&lt;P&gt;1. Week which contains week of year e.g. 01/2014, 02/2014 till 52/2014 for number fo weeks existing in a year&lt;/P&gt;&lt;P&gt;3. Month which contains month of year e.g. Jan 2014, Feb 2014 till Dec 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to implement the following functionality in a chart and i'd be grataeful if you could please help &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;On the calendar, a user can select either a specific day or week or month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the chart If i choose dimension "Day", i'd like to display only the past 21 days of data including the current day which the user has selected.&lt;/P&gt;&lt;P&gt;On the chart If i choose dimension "Week", i'd like to display only the past 9 weeks of data including the current week which the user has selected&lt;/P&gt;&lt;P&gt;On the chart If i choose dimension "Month", i'd like to display only the past 4 months of data including the current month which the user has selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 11:10:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-07T11:10:42Z</dc:date>
    <item>
      <title>Dimensions using groups and how to limit values on x-axis based on chosen group?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747169#M1039355</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 chart and in the properties --&amp;gt; Dimensions tab, i've created a cyclic group named Period.&lt;/P&gt;&lt;P&gt;This cyclic group uses 3 fields:&lt;/P&gt;&lt;P&gt;1. Day which contains date of month e.g. 01/01/2014, 02/01/2014 etc&lt;/P&gt;&lt;P&gt;1. Week which contains week of year e.g. 01/2014, 02/2014 till 52/2014 for number fo weeks existing in a year&lt;/P&gt;&lt;P&gt;3. Month which contains month of year e.g. Jan 2014, Feb 2014 till Dec 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to implement the following functionality in a chart and i'd be grataeful if you could please help &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;On the calendar, a user can select either a specific day or week or month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the chart If i choose dimension "Day", i'd like to display only the past 21 days of data including the current day which the user has selected.&lt;/P&gt;&lt;P&gt;On the chart If i choose dimension "Week", i'd like to display only the past 9 weeks of data including the current week which the user has selected&lt;/P&gt;&lt;P&gt;On the chart If i choose dimension "Month", i'd like to display only the past 4 months of data including the current month which the user has selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 11:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747169#M1039355</guid>
      <dc:creator />
      <dc:date>2015-01-07T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions using groups and how to limit values on x-axis based on chosen group?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747170#M1039356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post data source like excel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 11:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747170#M1039356</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-01-07T11:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions using groups and how to limit values on x-axis based on chosen group?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747171#M1039357</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;plz find attached example data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 11:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747171#M1039357</guid>
      <dc:creator />
      <dc:date>2015-01-07T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions using groups and how to limit values on x-axis based on chosen group?</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747172#M1039358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you would use an if statement in your expression referencing your cyclic group.&lt;/P&gt;&lt;P&gt;I don't know if my set analysis is exactly right for your data but it would be something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(getcurrentfield(Periodic)='DateField',sum({&amp;lt;[DateField]={'&amp;gt;=max([DateField])-21&amp;lt;=max(DateField)'}Stock),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(getcurrentfield(Periodic)='WeekName,&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;[DateField]={'&amp;gt;=weekend(max([DateField]),-9)&amp;lt;=weekend(max(DateField))'}Stock)&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;[DateField]={'&amp;gt;=addmonths(max(MonthName),-4)&amp;lt;=max(MonthName))'}Stock)&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 16:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions-using-groups-and-how-to-limit-values-on-x-axis-based/m-p/747172#M1039358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-18T16:06:05Z</dc:date>
    </item>
  </channel>
</rss>

