<?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: Need to plot max week/month value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64264#M606137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried making flags too still no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is still giving the same count i.e &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;765455(sum of both days).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am attaching the qvw for reference. Please let me know whats wrong here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 09:19:06 GMT</pubDate>
    <dc:creator>anjali0108</dc:creator>
    <dc:date>2018-06-07T09:19:06Z</dc:date>
    <item>
      <title>Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64260#M606133</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 plotted a bar chart with -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date/Week/Month/Quarter - &lt;STRONG&gt;as my Dimension (cyclic group)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum(CNT) - &lt;STRONG&gt;as my Expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now, the chart will look somewhat like(sample):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" height="263" src="https://community.qlik.com/legacyfs/online/204448_1.PNG" style="height: 262.898px; width: 422px;" width="422" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now, if someone will change the cyclic group to Month/Week/ Quarter, it will automatically sum up all the values for that and will show the sum as a count.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But, the client needs me to show in the following way:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If a week is selected in x-axis - The bars for all the weeks shall show the max(date's) value for that week&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If a month is selected in x-axis - The bars for all the months shall show the max(date's) value for that month...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Like for the above chart,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if the cyclic group is changed to month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then it shall show &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;x-axis - May&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;y-axis - 1 (not 765454)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope I am able to explain my requirement here. Thanks.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64260#M606133</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2018-06-06T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64261#M606134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share your sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64261#M606134</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-06-06T10:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64262#M606135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create flags in the script... for example... for Month...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Floor(MonthEnd(Date)) = Floor(Date), 1, 0) as MonthEndFlag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then in your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;MonthEndFlag = {"$(=If(GetCurrentField([GroupName]) = 'Month', '1', '*'))"}, WeekEndFlag .....&amp;gt;} Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 11:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64262#M606135</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-06T11:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64263#M606136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anjali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you share some sample data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64263#M606136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T12:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64264#M606137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried making flags too still no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is still giving the same count i.e &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;765455(sum of both days).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am attaching the qvw for reference. Please let me know whats wrong here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 09:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64264#M606137</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2018-06-07T09:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64265#M606138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 09:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64265#M606138</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2018-06-07T09:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64266#M606139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I didn't really notice that what you wanted was not really MonthEnd... it was just the max value for the month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 09:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64266#M606139</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-07T09:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to plot max week/month value</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64267#M606140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetCurrentField([time]) = 'monthname',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Aggr(Sum(CNT), REPORT_DATE), -REPORT_DATE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(CNT))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 09:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-plot-max-week-month-value/m-p/64267#M606140</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-07T09:57:24Z</dc:date>
    </item>
  </channel>
</rss>

