<?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: Barchart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566009#M597188</link>
    <description>Won't you get in trouble with&lt;BR /&gt;PREVIOUS YEARS&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt; Year={"&amp;lt;=$(=max(Year))"}&amp;gt;}Sales_New_Products)&lt;BR /&gt;&lt;BR /&gt;It includes the max year, should it not be&lt;BR /&gt;PREVIOUS YEARS&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt; Year={"&amp;lt;$(=max(Year))"}&amp;gt;}Sales_New_Products)</description>
    <pubDate>Fri, 05 Apr 2019 20:32:19 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-04-05T20:32:19Z</dc:date>
    <item>
      <title>Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1565998#M597185</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I would like to build a barchart by year, but for the current year I just need the current month: For example:&lt;/P&gt;&lt;P&gt;When the end-user selecting a year and month in the dashboard the barchart should ignore the year and month selected for the previous years, however it should show the measure for the current month a and current year.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HEN barchart.JPG" style="width: 282px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9632i2AD7AF72DD1A0A7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="HEN barchart.JPG" alt="HEN barchart.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The measure I created to ignore the selections in the dashboard:&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Year, Period&amp;gt;}SALES)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart/m-p/1565998#M597185</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2024-11-16T03:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566003#M597186</link>
      <description>I see two approaches&lt;BR /&gt;1. Create a new field that is mixing the value of current month with previous years. Use that field as a dimension for you chart. Maybe an "As of calendar"&lt;BR /&gt;2. Create multiple expressions in you chart and use hide conditions to hide the years that you don't want to see.</description>
      <pubDate>Fri, 05 Apr 2019 20:10:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566003#M597186</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-05T20:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566007#M597187</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;I created two measures:&lt;/P&gt;&lt;P&gt;CURRENT PERIOD&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Year_Month={"$(=max(Year_Month))"}&amp;gt;}Sales_New_Products)&lt;/P&gt;&lt;P&gt;PREVIOUS YEARS&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Year={"&amp;lt;=$(=max(Year))"}&amp;gt;}Sales_New_Products)&lt;/P&gt;&lt;P&gt;When selecting the current year (2019) and any period it works well,however when selecting a lower period than the current year, of course all the years won'be shown.&lt;/P&gt;&lt;P&gt;The chart below contains two measures and in the Presentation option I selected the Stacked bar option.&lt;/P&gt;&lt;P&gt;Any idea how it could work? Your help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HEN barchart v2.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9634iD9BD43F625BA72AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="HEN barchart v2.JPG" alt="HEN barchart v2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 20:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566007#M597187</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-04-05T20:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566009#M597188</link>
      <description>Won't you get in trouble with&lt;BR /&gt;PREVIOUS YEARS&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt; Year={"&amp;lt;=$(=max(Year))"}&amp;gt;}Sales_New_Products)&lt;BR /&gt;&lt;BR /&gt;It includes the max year, should it not be&lt;BR /&gt;PREVIOUS YEARS&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt; Year={"&amp;lt;$(=max(Year))"}&amp;gt;}Sales_New_Products)</description>
      <pubDate>Fri, 05 Apr 2019 20:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566009#M597188</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-05T20:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566012#M597189</link>
      <description>&lt;P&gt;It was a misspelling from my side.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, still I have the issue that the bar chart will react to the Year and Period selected by the user in the dashboard&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 20:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566012#M597189</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-04-05T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566028#M597191</link>
      <description>Ny period you mean the field Year_Month? The selection of that field will impact your years so you need to cancel it in the Set.&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt; Year_Month, Year={"&amp;lt;$(=max(Year))"}&amp;gt;}Sales_New_Products)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 06 Apr 2019 03:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart/m-p/1566028#M597191</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-06T03:31:11Z</dc:date>
    </item>
  </channel>
</rss>

