<?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: Split year into six months and show all values for the dimension within half-year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240891#M504020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is also possible to use that format within a expression. It gives the possibility to use both half of a year within one table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 09:01:22 GMT</pubDate>
    <dc:creator>shahamel</dc:creator>
    <dc:date>2012-07-02T09:01:22Z</dc:date>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240884#M504013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to show yearly data split into two half-years. I put this expression as a calculated dimension:&lt;/P&gt;&lt;P&gt;=if(Month='jul' or Month ='aug' or Month = 'sep' or Month = 'oct' or Month = 'nov' or Month = 'dec', Month)&lt;/P&gt;&lt;P&gt;and it works fine.&lt;/P&gt;&lt;P&gt;But I always want the month dimension to show even if there are no values in the expressions. Problem is that when I check suppress when value is null and check show all values on the dimension and uncheck Show zero values in presentaion it doesn't work.&lt;/P&gt;&lt;P&gt;I know it works if I don't use the calculated dimension but then I don't get the split into six months :).&lt;/P&gt;&lt;P&gt;Any ideas? Id rather use some form of split on the dimension than the expression, otherwise I have to do over all the expressions used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 20:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240884#M504013</guid>
      <dc:creator />
      <dc:date>2010-02-17T20:24:46Z</dc:date>
    </item>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240885#M504014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would rather create a field in the data load where you have your dates (calander?) something like:&lt;/P&gt;&lt;P&gt;LOAD if(month(date) &amp;lt; 7, 'First Half', 'Second Half') as HalfYear;&lt;BR /&gt;LOAD&lt;BR /&gt; ....&lt;BR /&gt; ....&lt;BR /&gt; Date,&lt;BR /&gt; Month,&lt;BR /&gt; ....&lt;BR /&gt;FROM....&lt;/P&gt;&lt;P&gt;Then use this HalfYear as dimension. I think it would be much cleaner and performant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 20:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240885#M504014</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2010-02-17T20:34:05Z</dc:date>
    </item>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240886#M504015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I would agree with Rakesh this is definitely the best way to solve your problem&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 21:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240886#M504015</guid>
      <dc:creator />
      <dc:date>2010-02-17T21:12:16Z</dc:date>
    </item>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240887#M504016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion but I might have been a bit unclear &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to show the values month for month, not on a total for the first six months ie HalfYear just that i want it in two different tables.&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;jan-jun&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;jul-dec&lt;/P&gt;&lt;P&gt;This is because I want to optimize the usage of space on the screen and also in printed pdf reports. A full year goes off screen.&lt;/P&gt;&lt;P&gt;Or am I missing something in the suggested solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 00:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240887#M504016</guid>
      <dc:creator />
      <dc:date>2010-02-18T00:49:27Z</dc:date>
    </item>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240888#M504017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this, then, again in your script:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(Month&amp;lt;7,Month) as FirstHalfMonth,&lt;BR /&gt;if(Month&amp;gt;6,Month) as SecondHalfMonth,&lt;/P&gt;&lt;P&gt;Then just use FirstHalfMonth in your first table, and SecondHalfMonth in your second table. You then don't need to check the suppress when null, which may help you out some trying to get what you want. It should also be much more efficient than a calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 00:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240888#M504017</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-02-18T00:58:30Z</dc:date>
    </item>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240889#M504018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just solved it, rakesh put me in the right direction:&lt;/P&gt;&lt;P&gt;if(month(date) &amp;lt; 7, month(date)) as HalfYear1,&lt;/P&gt;&lt;P&gt;if(month(date) &amp;gt; 6, month(date)) as HalfYear2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240889#M504018</guid>
      <dc:creator />
      <dc:date>2010-02-18T01:12:52Z</dc:date>
    </item>
    <item>
      <title>Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240890#M504019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Thanks John,&lt;/P&gt;&lt;P&gt;didn't see your post before replying. As you said, works a lot better than a calculated dimension.&lt;/P&gt;&lt;P&gt;I do however have to put in supress when null and show all values, otherwise I get a column at the end with no dimension value, ie an empty month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 01:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240890#M504019</guid>
      <dc:creator />
      <dc:date>2010-02-18T01:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Split year into six months and show all values for the dimension within half-year</title>
      <link>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240891#M504020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is also possible to use that format within a expression. It gives the possibility to use both half of a year within one table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 09:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-year-into-six-months-and-show-all-values-for-the-dimension/m-p/240891#M504020</guid>
      <dc:creator>shahamel</dc:creator>
      <dc:date>2012-07-02T09:01:22Z</dc:date>
    </item>
  </channel>
</rss>

