<?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: multiple dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273223#M856587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this for most recent three weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14871761618064947" jivemacro_uid="_14871761618064947"&gt;
&lt;P&gt;count({$&amp;lt;Datefield= {"$(='&amp;gt;=' &amp;amp; date(weekstart(today())-28))"}&amp;gt;}active members)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace weekstart(today) with month start&amp;nbsp; if u r looking at last 3 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14871761704582978" jivemacro_uid="_14871761704582978"&gt;
&lt;P&gt;count({$&amp;lt;Datefield= {"$(='&amp;gt;=' &amp;amp; date(Monthstart(today())-3))"}&amp;gt;}active members)&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2017 16:28:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-15T16:28:20Z</dc:date>
    <item>
      <title>Chart: multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273220#M856584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the attached chart and also a screenshot below.&lt;/P&gt;&lt;P&gt;I would like to create a cyclic chart for Month and Week_Of. I just need to add a Week_of dimension that matches the formatting below. So, only show the last 3 of week_of values.&lt;/P&gt;&lt;P&gt;I've tried using a variable and cyclic but can't seem to get the Week_of dimension correct. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="153095" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153095_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&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/Chart-multiple-dimensions/m-p/1273220#M856584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273221#M856585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 15:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273221#M856585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-15T15:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273222#M856586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A solution might be to use a cyclic group to switch between the dimensions whereby in your case a cyclic group directly in the chart would distort the layout and would be better to place the switch on the outside maybe within a listbox (they could be adjusted and overlapping the chart on an appropriate place) and the chart grabed the dimension per getcurrentfield().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your approach to get the last or certain dimension-fields each will need some adjustments preferable with a flag within the script, maybe with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autonumber(YearMonth) as PeriodID&lt;/P&gt;&lt;P&gt;autonumber(Week_of) as WeekID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within a sorted master-calendar and than an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt; PeriodID = {"&amp;gt;=$(max(PeriodID)-3)"}&amp;gt;} MBR_ACTIVE_CLT_CLT_PGMID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:09:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273222#M856586</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-02-15T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: multiple dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273223#M856587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this for most recent three weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14871761618064947" jivemacro_uid="_14871761618064947"&gt;
&lt;P&gt;count({$&amp;lt;Datefield= {"$(='&amp;gt;=' &amp;amp; date(weekstart(today())-28))"}&amp;gt;}active members)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace weekstart(today) with month start&amp;nbsp; if u r looking at last 3 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14871761704582978" jivemacro_uid="_14871761704582978"&gt;
&lt;P&gt;count({$&amp;lt;Datefield= {"$(='&amp;gt;=' &amp;amp; date(Monthstart(today())-3))"}&amp;gt;}active members)&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-multiple-dimensions/m-p/1273223#M856587</guid>
      <dc:creator />
      <dc:date>2017-02-15T16:28:20Z</dc:date>
    </item>
  </channel>
</rss>

