<?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: Filtering a bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455727#M435162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I presume I need to add a field in the data loader script that counts the days open and then I filter on this value somehow?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's probably the easiest way. I assume you have an &lt;EM&gt;[date hired]&lt;/EM&gt; kind of field. If so you could calculate its 'age' using something like: &lt;EM&gt;Today() - [date hired] as HiredDaysAgo.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;You could also use a flag field: &lt;EM&gt;If(AddMonths(Today(),-6) &amp;gt; [date hired], 1, 0 ) as HiredMoreThan6MonthsAgo&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2017 17:50:53 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2017-12-27T17:50:53Z</dc:date>
    <item>
      <title>Filtering a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455724#M435159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for the basic question, completed my initial Qlikview training prior to Christmas and now putting it into practice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building a basic dashboard to show the status of the hiring within our company. I have successfully loaded a spreadsheet of all the open hires. I would like to show a bar chart that shows only the hires that are 6+ months old. I have successfully added a bar chart to show all the hires, now need to filter it to show only the aged items. I would like this to be reflective of the selections made too (i.e. if UK selected then it shows the aged Cases for the UK only).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume I need to add a field in the data loader script that counts the days open and then I filter on this value somehow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 16:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455724#M435159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T16:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455725#M435160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach the sample file so that we can help you in better way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to know your Date field format and Etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455725#M435160</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2017-12-27T17:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455726#M435161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difficult really to add a sample file as its rather confidential hiring data. Assume there are just 3 columns and 300 rows of data&lt;/P&gt;&lt;P&gt;* Column 1 named 'ID' and this is the ID of the role in the resident HR system&lt;/P&gt;&lt;P&gt;* Column 2 named 'Hire Start' is a date field and this is the date the hiring commenced&lt;/P&gt;&lt;P&gt;* Column 3 named 'Current Stage' is the current stage (1 of 10 available) that the hire has reached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a bar chart that shows the Count of hires by each hiring Stage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to filter the chart so it only shows the hires that are 6+ months old. So essentially the number of months between the 'Hire Start' date and todays date. Only show those that have a value of 6 or more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume I have to add a calculated field to the data loader that counts the months since 'Hire Start'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then somehow filter the bar chart to only show those with a value of 6+?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455726#M435161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-27T17:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455727#M435162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I presume I need to add a field in the data loader script that counts the days open and then I filter on this value somehow?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;That's probably the easiest way. I assume you have an &lt;EM&gt;[date hired]&lt;/EM&gt; kind of field. If so you could calculate its 'age' using something like: &lt;EM&gt;Today() - [date hired] as HiredDaysAgo.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;You could also use a flag field: &lt;EM&gt;If(AddMonths(Today(),-6) &amp;gt; [date hired], 1, 0 ) as HiredMoreThan6MonthsAgo&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 17:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-a-bar-chart/m-p/1455727#M435162</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-12-27T17:50:53Z</dc:date>
    </item>
  </channel>
</rss>

