<?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 Display last 6 weeks in line chart based on selection. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-last-6-weeks-in-line-chart-based-on-selection/m-p/17193#M2876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to display last six weeks from the selected week in line chart(&lt;SPAN style="font-size: 13.3333px;"&gt;WeekMonthYear&lt;/SPAN&gt; as dimension).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am presently using the following expression:&lt;/P&gt;&lt;P&gt; If(&lt;/P&gt;&lt;P&gt;Only(TOTAL {&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} [Field Category]) = 'Base (Required)' and &lt;/P&gt;&lt;P&gt;Only(TOTAL {&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} Model) = 'First Submissions',&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} Aggr(Avg({&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} BASE_MODEL_A_QUALITY_SCORE), [File Type], WeekMonthYear)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This expression is working for some selections and not working for some selections in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WeekMonthYear field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if i select 02-Mar-18 as week ending date,&amp;nbsp; week chart is not properly getting data i.e. last 6 week values.Please see the attached qvw. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please do the needful.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;@&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2018 12:29:18 GMT</pubDate>
    <dc:creator>Prabhu</dc:creator>
    <dc:date>2018-03-27T12:29:18Z</dc:date>
    <item>
      <title>Display last 6 weeks in line chart based on selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Display-last-6-weeks-in-line-chart-based-on-selection/m-p/17193#M2876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to display last six weeks from the selected week in line chart(&lt;SPAN style="font-size: 13.3333px;"&gt;WeekMonthYear&lt;/SPAN&gt; as dimension).&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am presently using the following expression:&lt;/P&gt;&lt;P&gt; If(&lt;/P&gt;&lt;P&gt;Only(TOTAL {&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} [Field Category]) = 'Base (Required)' and &lt;/P&gt;&lt;P&gt;Only(TOTAL {&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} Model) = 'First Submissions',&lt;/P&gt;&lt;P&gt;Avg({&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} Aggr(Avg({&amp;lt;WeekMonthYear = {"&amp;gt;=$(=Max(WeekMonthYear) - 6)&amp;lt;=$(=Max(WeekMonthYear))"}&amp;gt;} BASE_MODEL_A_QUALITY_SCORE), [File Type], WeekMonthYear)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This expression is working for some selections and not working for some selections in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WeekMonthYear field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if i select 02-Mar-18 as week ending date,&amp;nbsp; week chart is not properly getting data i.e. last 6 week values.Please see the attached qvw. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please do the needful.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;@&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/stalwar1"&gt;stalwar1&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 12:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-last-6-weeks-in-line-chart-based-on-selection/m-p/17193#M2876</guid>
      <dc:creator>Prabhu</dc:creator>
      <dc:date>2018-03-27T12:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display last 6 weeks in line chart based on selection.</title>
      <link>https://community.qlik.com/t5/QlikView/Display-last-6-weeks-in-line-chart-based-on-selection/m-p/17194#M2877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only(TOTAL {&amp;lt;WeekMonthYear = {"&amp;gt;=$(=date(WeekStart(max(WeekMonthYear), -5),'DD-MMM-YYYY'))&amp;lt;=$(=date(max(WeekMonthYear),'DD-MMM-YYYY'))"}, QuarterNew&amp;gt;} [Field Category]) = 'Base (Required)' and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only(TOTAL {&amp;lt;WeekMonthYear = {"&amp;gt;=$(=date(WeekStart(max(WeekMonthYear), -5),'DD-MMM-YYYY'))&amp;lt;=$(=date(max(WeekMonthYear),'DD-MMM-YYYY'))"}, QuarterNew&amp;gt;} Model) = 'First Submissions',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Avg({&amp;lt;WeekMonthYear = {"&amp;gt;=$(=date(WeekStart(max(WeekMonthYear), -5),'DD-MMM-YYYY'))&amp;lt;=$(=date(max(WeekMonthYear),'DD-MMM-YYYY'))"}, QuarterNew&amp;gt;} Aggr(Avg({&amp;lt;WeekMonthYear = {"&amp;gt;=$(=date(WeekStart(max(WeekMonthYear), -5),'DD-MMM-YYYY'))&amp;lt;=$(=date(max(WeekMonthYear),'DD-MMM-YYYY'))"}, QuarterNew&amp;gt;} BASE_MODEL_A_QUALITY_SCORE), [File Type], WeekMonthYear)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 12:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-last-6-weeks-in-line-chart-based-on-selection/m-p/17194#M2877</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-27T12:35:41Z</dc:date>
    </item>
  </channel>
</rss>

