<?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: Bar Chart Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923482#M988190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;last 30 days?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year=,month=,date={"&amp;gt;=$(=date(today()-30))&amp;lt;=$(=date(today()))"}&amp;gt;} value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Aug 2015 17:34:49 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-08-01T17:34:49Z</dc:date>
    <item>
      <title>Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923475#M988183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My dimension for the bar chart is date field, there are almost 150 values(5 months) in it but I want to show only one month data(latest month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 09:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923475#M988183</guid>
      <dc:creator />
      <dc:date>2015-07-31T09:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923476#M988184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum({&amp;lt;DateField={"&amp;gt;=$(=Num(MonthStart(Max(Datefield))))"},Year=,Month=,DateField&amp;gt;}value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923476#M988184</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-07-31T10:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923477#M988185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=date(max(monthname(Date)),'MMM-YYYY')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923477#M988185</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-31T10:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923478#M988186</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;Create a calculated dimension or use set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculated Dimension &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(max(monthname(Date)),'MM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923478#M988186</guid>
      <dc:creator>sorrakis01</dc:creator>
      <dc:date>2015-07-31T10:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923479#M988187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your quick response,&lt;/P&gt;&lt;P&gt;My bad I didn't put question in right way,&lt;/P&gt;&lt;P&gt;I am expecting latest month i.e., 30 bars in bar chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923479#M988187</guid>
      <dc:creator />
      <dc:date>2015-07-31T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923480#M988188</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;=sum({&amp;lt;DateField={"&amp;gt;=$(=date(monthstart(max(monthname(Datefield))),'YourDateFieldFormat'))&amp;lt;=$(=date(monthend(max(monthname(Datefield))),'YourDateFieldFormat'))"},Year,Month,DateField&amp;gt;}value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923480#M988188</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-31T10:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923481#M988189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you resolved ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 17:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923481#M988189</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-01T17:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923482#M988190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;last 30 days?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year=,month=,date={"&amp;gt;=$(=date(today()-30))&amp;lt;=$(=date(today()))"}&amp;gt;} value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 17:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923482#M988190</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-01T17:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923483#M988191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94775_Capture.PNG" style="height: 241px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since 6/14/2015 is the max date in the database, you will see the bar chart starting from 5/15/2015 and goes up till 6/15 2015 (30 days)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Date = {"$(= '&amp;gt;=' &amp;amp; Date(Max(Date)-30) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date)))"}&amp;gt;}Value) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used just date here without specifying its format because I used Date() function in the script also which takes the same format that I specified at the beginning of my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;SET DateFormat='M/D/YYYY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;SPAN style="color: #ff0000;"&gt;Date&lt;/SPAN&gt;(41639 + IterNo()) as Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Ceil(Rand() * 100000) as Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While IterNo() &amp;lt;= 530;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may not be using Date function for you date. and if that's true than you would need to use the same format as you date in the set analysis function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Date = {"$(= '&amp;gt;=' &amp;amp; Date(Max(Date)-30, '&lt;/STRONG&gt;yourDateFormat&lt;STRONG&gt;') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date)&lt;SPAN style="font-size: 13.3333330154419px;"&gt;, '&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;yourDateFormat&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;'&lt;/SPAN&gt;))"}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 05:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923483#M988191</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-02T05:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart Help</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923484#M988192</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;Please use calculated dimension like this. Hope this will help you.&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;=&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;date(max(monthname(Date)),'MM-YYYY')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 05:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-Help/m-p/923484#M988192</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-02T05:24:52Z</dc:date>
    </item>
  </channel>
</rss>

