<?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 Bar Chart, overlap time dimension and set analyses in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317118#M116987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try creating an dimension in your script that classifies "duration_months" into your needed dimensions. That would make things a lot easier to display as you could use it as an actual dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add Something like in your script:&lt;/P&gt;&lt;P&gt;if(duration_months&amp;gt;=0, 'All',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=1, '&amp;gt;=1 Months',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=3, '&amp;gt;=3 Months',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=6, '&amp;gt;=6 Months',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=12, '&amp;gt;=12 Months' ))))) as Dimension_duration_months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use your new dimension and set analysis in your chart such as:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;duration_months={'&amp;gt;=3'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your values should then be put into the correct dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 14:12:24 GMT</pubDate>
    <dc:creator>jjfabian</dc:creator>
    <dc:date>2012-01-30T14:12:24Z</dc:date>
    <item>
      <title>Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317117#M116986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am trying to create a bar chart with a tricky dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension constists of months (duration), but on the 1st bar I need everything (all months), on the 2nd&amp;nbsp; bar I need all month &amp;gt;=1 (including 2,3, ... month), on the 3rd bar I need all month &amp;gt;=2 (incl. 3,4,6,12 ...), then &amp;gt;= 3, &amp;gt;= 6 and &amp;gt;=12 months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, I cannot use "if (month &amp;gt;=1, then ...) because I wont get the values &amp;gt;2 in the next if.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Diagramm.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/10795_Diagramm.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tha stacks on the bar a the sum(Standard), sum(non standard) and sum(other), but how can I create the dimension? I treid the script and dynamic dimension, but nothing worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclosed you will find the start-application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 13:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317117#M116986</guid>
      <dc:creator />
      <dc:date>2012-01-30T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317118#M116987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try creating an dimension in your script that classifies "duration_months" into your needed dimensions. That would make things a lot easier to display as you could use it as an actual dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add Something like in your script:&lt;/P&gt;&lt;P&gt;if(duration_months&amp;gt;=0, 'All',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=1, '&amp;gt;=1 Months',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=3, '&amp;gt;=3 Months',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=6, '&amp;gt;=6 Months',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(duration_months&amp;gt;=12, '&amp;gt;=12 Months' ))))) as Dimension_duration_months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use your new dimension and set analysis in your chart such as:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;duration_months={'&amp;gt;=3'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your values should then be put into the correct dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 14:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317118#M116987</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2012-01-30T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317119#M116988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks but I dont think this will work. I already tried this to learn, tha the first if-statement concludes all, but the second if never happens, because the first if already has everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If &amp;gt;= 0, then everything will be included, so the second if &amp;gt;=1 never happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put in the script into the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 15:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317119#M116988</guid>
      <dc:creator />
      <dc:date>2012-01-30T15:02:14Z</dc:date>
    </item>
    <item>
      <title>Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317120#M116989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Best Thanks Jakob, to reverse the statement will also not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to reverse the if-statements will result:&lt;/P&gt;&lt;P&gt;month 12 up to X&lt;/P&gt;&lt;P&gt;month 6 up to 11&lt;/P&gt;&lt;P&gt;month 3 up to 5&lt;/P&gt;&lt;P&gt;month 1 up to 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But I need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month 12 up to x&lt;/P&gt;&lt;P&gt;month 6 up to X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;month 3 up to X&lt;/P&gt;&lt;P&gt;month 1 up to X&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 15:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317120#M116989</guid>
      <dc:creator />
      <dc:date>2012-01-30T15:21:41Z</dc:date>
    </item>
    <item>
      <title>Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317121#M116990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I just saw that too. I will have another look and try to get back to you with a better idea if I come up with one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 15:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317121#M116990</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2012-01-30T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317122#M116991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I hope this is what you really need. See the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the initial if statement as a temporary dimension to create the actual dimension with an inline table&lt;/P&gt;&lt;P&gt;Hope that can be a start for you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 15:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317122#M116991</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2012-01-30T15:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart, overlap time dimension and set analyses</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317123#M116992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, this looks really good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is it.!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 16:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-overlap-time-dimension-and-set-analyses/m-p/317123#M116992</guid>
      <dc:creator />
      <dc:date>2012-01-30T16:12:38Z</dc:date>
    </item>
  </channel>
</rss>

