<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Maajkels Business Objects Blog</title>
	<atom:link href="http://maajksboblog.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://maajksboblog.wordpress.com</link>
	<description>Blog about BO problems I&#039;ve come across, and how I managed to solve them</description>
	<lastBuildDate>Mon, 14 Feb 2011 13:30:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='maajksboblog.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Maajkels Business Objects Blog</title>
		<link>http://maajksboblog.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://maajksboblog.wordpress.com/osd.xml" title="Maajkels Business Objects Blog" />
	<atom:link rel='hub' href='http://maajksboblog.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Complex little report</title>
		<link>http://maajksboblog.wordpress.com/2011/02/14/complex-little-report/</link>
		<comments>http://maajksboblog.wordpress.com/2011/02/14/complex-little-report/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 13:30:14 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[Webi]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=51</guid>
		<description><![CDATA[Came across this little report that showed to be much more complex than you would expect after a first glance. It should show a top five of customers (with highest revenues), comparing a year that can be selected in a prompt (when refreshing the report) with the year before that. This is what the report [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=51&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Came across this little report that showed to be much more complex than you would expect after a first glance.</p>
<p>It should show a top five of customers (with highest revenues), comparing a year that can be selected in a prompt (when refreshing the report) with the year before that.   This is what the report should look like when we select 2006.</p>
<p>﻿﻿<img class="alignnone size-full wp-image-52" title="Complete report" src="http://maajksboblog.files.wordpress.com/2011/02/eom-01.gif?w=669&#038;h=218" alt="" width="669" height="218" /></p>
<p><strong><span style="text-decoration:underline;">1 QUERY</span></strong></p>
<p>First version I created has only one query;</p>
<ul>
<li>I select three objects: [Year], [ Customer] and [Revenue]</li>
<li>One query filter with a prompt to select a year:</li>
</ul>
<p><img class="alignnone size-full wp-image-53" title="Prompt" src="http://maajksboblog.files.wordpress.com/2011/02/eom-02.gif?w=374&#038;h=35" alt="" width="374" height="35" /></p>
<p>This is the result of that query:</p>
<p><img class="alignnone size-full wp-image-54" title="Table after running query for first time" src="http://maajksboblog.files.wordpress.com/2011/02/eom-03.gif?w=336&#038;h=204" alt="" width="336" height="204" /></p>
<p>Convert this report to crosstab (right click; Turn To/Crosstab):</p>
<p><img class="alignnone size-full wp-image-59" title="Crosstab" src="http://maajksboblog.files.wordpress.com/2011/02/eom-04.gif?w=436&#038;h=193" alt="" width="436" height="193" /></p>
<p>We only want to see the last two years.  The first idea was to select the cell and just put a ranking on it (using the ranking icon), but this is not the best way; we will need to add another rank (to show only the top 5 customers) and this way of ranking will only allow you to add one rank per table.  Another way of handling ranking is by creating a new variable.  Let’s call this “Ranking Year”:</p>
<p>[Ranking Year] = Rank([Year];[Year])</p>
<p>These are the values of the variable:</p>
<p><img class="alignnone size-full wp-image-64" title="EOM 05" src="http://maajksboblog.files.wordpress.com/2011/02/eom-05.gif?w=205&#038;h=87" alt="" width="205" height="87" /></p>
<p>Now we can create a filter (make sure the table is selected as you do this) to only show the last two years:</p>
<p><img class="alignnone size-full wp-image-65" title="EOM 06" src="http://maajksboblog.files.wordpress.com/2011/02/eom-06.gif?w=142&#038;h=28" alt="" width="142" height="28" /></p>
<p>To filter the report to only see the top five of customers, we work in the same way:</p>
<p>[Ranking Customer] = Rank([Revenue];[Customer])</p>
<p><img class="alignnone size-full wp-image-66" title="EOM 07" src="http://maajksboblog.files.wordpress.com/2011/02/eom-07.gif?w=179&#038;h=28" alt="" width="179" height="28" /></p>
<p>We put a descending sort on [Year] to first show the most recent year.</p>
<p>This is what we have so far:</p>
<p><img class="alignnone size-full wp-image-67" title="EOM 08" src="http://maajksboblog.files.wordpress.com/2011/02/eom-08.gif?w=328&#038;h=151" alt="" width="328" height="151" /></p>
<p>Now we want one line unther this showing a sum of all other customers (So a grand total without the top 5).  Copy the table we have and paste below the one we have.  We will start working from this copy.  We select this bottom table and change the filter on [Ranking Customer] to<em> Greater than or Equal to 6</em>.  This way we get a list of all customers (excl. top 5).  To just show the sum we will fold the report.  Folding the report can be done this way;</p>
<ul>
<li>Click the icon Show/Hide Fold-Unfold<img class="alignnone size-full wp-image-68" title="EOM 09" src="http://maajksboblog.files.wordpress.com/2011/02/eom-09.gif?w=26&#038;h=30" alt="" width="26" height="30" /></li>
<li>Select the bottom table, and click on the little blue arrow on the left: ﻿</li>
</ul>
<p><img class="alignnone size-full wp-image-69" title="EOM 10" src="http://maajksboblog.files.wordpress.com/2011/02/eom-10.gif?w=388&#038;h=246" alt="" width="388" height="246" /></p>
<ul>
<li>Now we only see the header (values 2006 and 2005), which we don’t need to see.  But we can not delete the year because we want the data split up by year, so instead of replacing year by sum([Revenue]) we will keep the year and put an alerter that will show the Sum of the revenue instead of the year; Select the header and click the alerter icon:</li>
</ul>
<p><img class="alignnone size-full wp-image-70" title="EOM 11" src="http://maajksboblog.files.wordpress.com/2011/02/eom-11.gif?w=630&#038;h=279" alt="" width="630" height="279" /></p>
<p>Give the allerter a name, and a condition that will always be met (Year Not Equal to 1).  Then click Format.</p>
<p><img class="alignnone size-full wp-image-71" title="EOM 12" src="http://maajksboblog.files.wordpress.com/2011/02/eom-12.gif?w=628&#038;h=472" alt="" width="628" height="472" /></p>
<p>Enter the formula <em>=Sum([Revenue])</em> under Display and change the Color to black.</p>
<ul>
<li>Copy the formating of the top report and put “Other” in the cel left of the values:</li>
</ul>
<p><img class="alignnone size-full wp-image-73" title="EOM 13" src="http://maajksboblog.files.wordpress.com/2011/02/eom-13.gif?w=332&#038;h=204" alt="" width="332" height="204" /></p>
<p>Result:</p>
<p><img class="alignnone size-full wp-image-74" title="EOM 14" src="http://maajksboblog.files.wordpress.com/2011/02/eom-14.gif?w=331&#038;h=96" alt="" width="331" height="96" /></p>
<ul>
<li>Now we can move the bottom report up against the top one to make it look like it’s one report.</li>
</ul>
<p><img class="alignnone size-full wp-image-75" title="EOM 15" src="http://maajksboblog.files.wordpress.com/2011/02/eom-15.gif?w=329&#038;h=175" alt="" width="329" height="175" /></p>
<p>Now, to get a extra row with a grand total, we copy the one we just added and paste it at the bottom.  We select this row (wich is actually a table) and remove the ranking customer filter:</p>
<p>﻿<img class="alignnone size-full wp-image-76" title="EOM 16" src="http://maajksboblog.files.wordpress.com/2011/02/eom-16.gif?w=327&#038;h=198" alt="" width="327" height="198" /></p>
<p>To get the correct evolution, I used following formula:</p>
<p><em>=([Revenue] Where( [Year]=Max([Year] In Report))-[Revenue] Where( ToNumber([Year])=ToNumber(Max([Year] In Report))-1))/([Revenue] Where( [Year]=Max([Year] In Report))) </em></p>
<p>Ad following alerter:<em> </em></p>
<p><img class="alignnone size-full wp-image-77" title="EOM 17" src="http://maajksboblog.files.wordpress.com/2011/02/eom-17.gif?w=669&#038;h=296" alt="" width="669" height="296" /></p>
<p><strong><span style="text-decoration:underline;">2 QUERIES</span></strong></p>
<p>The Second version has two queries;</p>
<p>We will create two identical queries, but with different prompt, so the user can descide which two years he wants to compare.</p>
<p>We start of with the same query as the first version, but the query filter is slightly different:</p>
<ul>
<li>First query:
<ul>
<li>I select three objects: [Year], [ Customer] and [Revenue]</li>
<li>Promp:</li>
</ul>
</li>
</ul>
<p><img class="alignnone size-full wp-image-78" title="EOM 18" src="http://maajksboblog.files.wordpress.com/2011/02/eom-18.gif?w=247&#038;h=32" alt="" width="247" height="32" /></p>
<ul>
<li>The second Query can be a copy of the first one, but the prompt should be different.  In this example I have used following prompts: in the first query <em>Enter Year 1:</em>, in the second <em>Enter Year 2:</em>.</li>
<li>For a clean way of working (and to make it more clear while in report view) rename the queries to ‘Year 1’ and ‘Year 2’</li>
</ul>
<p>﻿﻿This is the result when values 2005 and 2006 were filled in in the prompts:</p>
<p><img class="alignnone size-full wp-image-80" title="EOM 19" src="http://maajksboblog.files.wordpress.com/2011/02/eom-19.gif?w=330&#038;h=535" alt="" width="330" height="535" /></p>
<p>The Revenue that is shown is the one from query ‘Year 2’, which is why the revenue isn’t filled in for 2005.  We delete the column Year and add the a column to the left of the revenue with following object: [Year 1].[Revenue].  Now It should look like this:</p>
<p><img class="alignnone size-full wp-image-82" title="EOM 20" src="http://maajksboblog.files.wordpress.com/2011/02/eom-201.gif?w=331&#038;h=320" alt="" width="331" height="320" /></p>
<p>In the header we would like to see the to Years that were selected in the prompts.  For this we use the following formula’s:</p>
<ul>
<li>=UserResponse(&#8220;Enter Year 2:&#8221;)</li>
<li>=UserResponse(&#8220;Enter Year 1:&#8221;)</li>
</ul>
<p>Again we use a variable to get only the top 5:</p>
<ul>
<li>[Ranking Customer] =Rank([Year 2].[Revenue];[Customer])</li>
<li>Select table and create filter on [Ranking Customer] (using the filter toolbar):</li>
</ul>
<p><img class="alignnone size-full wp-image-66" title="EOM 07" src="http://maajksboblog.files.wordpress.com/2011/02/eom-07.gif?w=179&#038;h=28" alt="" width="179" height="28" /></p>
<p>Now the report should look like this:</p>
<p><img class="alignnone size-full wp-image-83" title="EOM 21" src="http://maajksboblog.files.wordpress.com/2011/02/eom-21.gif?w=327&#038;h=149" alt="" width="327" height="149" /></p>
<p>To get the sum of the other clients under this report, just start by copying and pasting the report.  Then change the filter for this report to <em>Greater than: 5</em>.  Now put a sum on the revenues, using the sum icon</p>
<p>Fold the report like it’s done in the first version and delete the header.</p>
<p>Now copy and past this report (that shows only one line) and delete the filter to get a grand total.</p>
<p>The formula to get the evolution is quite simple for this one:</p>
<p>=([Year 2].[Revenue]-[Year 1].[Revenue])/[Year 2].[Revenue]</p>
<p>REMARK: In this 2<sup>nd</sup> version it is important that the year selected in the prompt of query 1 is lower than the one selected in query 2, so maybe the promp text should be modified to make clear to the user of the report which year should be fild in in which prompt (something like ‘most recent year: ‘ instead of ‘Year 2:’)</p>
<p><em><span style="text-decoration:underline;"> </span></em></p>
<p>If the user insists on using 1 prompt (like in the first version of te report), you can do this by manually changing the SQL:</p>
<ul>
<li>First change the prompts of the 2 queries so they are exactly the same.</li>
<li>Manually change the SQL of the first query :</li>
<li>Select <em>Use custom SQL</em></li>
<li>In the SQL statement, add ‘-1’ to the following line:</li>
</ul>
<p>Format(Sales.invoice_date,&#8217;YYYY&#8217;)  =  @prompt(&#8216;Enter Year:&#8217;,'A&#8217;,'Sales\Year&#8217;,Mono,Free,Persistent,,User:0)<strong><em>-1</em></strong><em> </em></p>
<p>That should do the trick.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=51&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2011/02/14/complex-little-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-01.gif" medium="image">
			<media:title type="html">Complete report</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-02.gif" medium="image">
			<media:title type="html">Prompt</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-03.gif" medium="image">
			<media:title type="html">Table after running query for first time</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-04.gif" medium="image">
			<media:title type="html">Crosstab</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-05.gif" medium="image">
			<media:title type="html">EOM 05</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-06.gif" medium="image">
			<media:title type="html">EOM 06</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-07.gif" medium="image">
			<media:title type="html">EOM 07</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-08.gif" medium="image">
			<media:title type="html">EOM 08</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-09.gif" medium="image">
			<media:title type="html">EOM 09</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-10.gif" medium="image">
			<media:title type="html">EOM 10</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-11.gif" medium="image">
			<media:title type="html">EOM 11</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-12.gif" medium="image">
			<media:title type="html">EOM 12</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-13.gif" medium="image">
			<media:title type="html">EOM 13</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-14.gif" medium="image">
			<media:title type="html">EOM 14</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-15.gif" medium="image">
			<media:title type="html">EOM 15</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-16.gif" medium="image">
			<media:title type="html">EOM 16</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-17.gif" medium="image">
			<media:title type="html">EOM 17</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-18.gif" medium="image">
			<media:title type="html">EOM 18</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-19.gif" medium="image">
			<media:title type="html">EOM 19</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-201.gif" medium="image">
			<media:title type="html">EOM 20</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-07.gif" medium="image">
			<media:title type="html">EOM 07</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2011/02/eom-21.gif" medium="image">
			<media:title type="html">EOM 21</media:title>
		</media:content>
	</item>
		<item>
		<title>GetLov Failed</title>
		<link>http://maajksboblog.wordpress.com/2011/01/11/getlov-failed/</link>
		<comments>http://maajksboblog.wordpress.com/2011/01/11/getlov-failed/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 10:55:42 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[CMC]]></category>
		<category><![CDATA[Deski]]></category>
		<category><![CDATA[Webi]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=46</guid>
		<description><![CDATA[This is an error a client got when trying to open a deski 6 report via BOXI infoview. We found the solution on the Business Objects Board. This is solved by changing the cashe files directory on the cashe server and the temporary directory on the processing server: replace %DefaultDataDir%/ by (for instance) C/ This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=46&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is an error a client got when trying to open a deski 6 report via BOXI infoview.  We found the solution on the <a href="http://www.forumtopics.com/busobj/viewtopic.php?p=550714#550714">Business Objects Board</a>.<br />
This is solved by changing the cashe files directory on the cashe server and the temporary directory on the processing server:<br />
replace <strong>%DefaultDataDir%/</strong> by (for instance) <strong>C/</strong></p>
<p>This can be done in the CMC, under &#8216;Servers&#8217;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=46&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2011/01/11/getlov-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyperlink opendocument with prompt; problem</title>
		<link>http://maajksboblog.wordpress.com/2011/01/06/hyperlink-opendocument-with-prompt-problem/</link>
		<comments>http://maajksboblog.wordpress.com/2011/01/06/hyperlink-opendocument-with-prompt-problem/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 12:35:48 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[Webi]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=36</guid>
		<description><![CDATA[I have a hyperlink that opens another webi report and fills in the prompt with the value I click on, using lsS: lsSEnter%20Drink:=&#8221;+[Drink]+&#8221; (lsS is the Function/Enter%20Drink: is the prompt (with %20 to replace a space)/[Drink] is the object containing the value to fill in in the prompt. This works fine and dandy until I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=36&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a hyperlink that opens another webi report and fills in the prompt with the value I click on, using lsS:<br />
lsSEnter%20Drink:=&#8221;+[Drink]+&#8221;<br />
(<strong>lsS</strong> is the Function/<strong>Enter%20Drink:</strong> is the prompt (with %20 to replace a space)/<strong>[Drink]</strong> is the object containing the value to fill in in the prompt.</p>
<p>This works fine and dandy until I have a value with a somewhat strange character.  The problem popped up with the <strong>é</strong>.  Don&#8217;t know about you, but where I live, this character is quite common.  When I look at the value that was filled in in the prompt of the target report, this character was replaced by &#8220;Asc(Ã©)&#8221;.  Of course this resulted in an empty report  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . </p>
<p>The solution was given to me by a colleague.  In fact we struggled together on this for a while, and while I was on the toilet he found following solution: <strong>URLEncode()</strong>, as simple as that.</p>
<p>Comes to show that sitting on the can can bring inspiration, even if it doesn&#8217;t to yourself.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=36&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2011/01/06/hyperlink-opendocument-with-prompt-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyperlinking in Webi</title>
		<link>http://maajksboblog.wordpress.com/2011/01/03/hyperlinking-in-webi/</link>
		<comments>http://maajksboblog.wordpress.com/2011/01/03/hyperlinking-in-webi/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 12:29:50 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[Webi]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=27</guid>
		<description><![CDATA[To create hyperlinks, I found an interesting document: Building Reports Using the Java Report Panel Information about Hyperlinks starts at page 675<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=27&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To create hyperlinks, I found an interesting document:</p>
<p><a href="http://maajksboblog.files.wordpress.com/2011/01/webintelligence.pdf">Building Reports Using the Java Report Panel</a></p>
<p>Information about Hyperlinks starts at page 675</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=27&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2011/01/03/hyperlinking-in-webi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>
	</item>
		<item>
		<title>Chart comparing figures of last year with figures of current year</title>
		<link>http://maajksboblog.wordpress.com/2010/12/23/chart-comparing-figures-of-last-year-with-figures-of-current-year/</link>
		<comments>http://maajksboblog.wordpress.com/2010/12/23/chart-comparing-figures-of-last-year-with-figures-of-current-year/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 13:43:56 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[Universe designer]]></category>
		<category><![CDATA[Webi]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=17</guid>
		<description><![CDATA[I got this line chart that compares figures of last year with figures of this year, per week ([Year-Week]), for a period of 1 year.  I created a query with info from the previous year, and another with info from the same period of last year. This is what the chart looked like when first [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=17&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got this line chart that compares figures of last year with figures of this year, per week ([Year-Week]), for a period of 1 year.  I created a query with info from the previous year, and another with info from the same period of last year.</p>
<p>This is what the chart looked like when first created:</p>
<p><img class="alignnone size-full wp-image-19" title="bad chart" src="http://maajksboblog.files.wordpress.com/2010/12/bad-chart.jpg?w=567&#038;h=296" alt="" width="567" height="296" /></p>
<p> Off course this is useless; it’s impossible to compare the figures of last year with those of this year.  The lines should appear on top of each other.</p>
<p>To achieve this I created a new object in the universe called “Week-Year (Next Year)” with following definition:</p>
<p><strong>CONVERT(char(4),CONVERT(int,substring(@Select(Time\Year-Week), 1, 4))+1)+ &#8216;-&#8217; + CASE WHEN substring(@Select(Time\Year-Week), 6, 2) &lt; 10 </strong><strong>THEN &#8217;0&#8242; +SUBSTRING(@Select(Time\Year-Week), 7, 1) ELSE SUBSTRING (@Select(Time\Year-Week), 6, 2) END</strong></p>
<p>This object shows the same data as the ‘Year-Week’ object but adds 1 year (a lot of code for a simple result, I know, but that&#8217;s besides the point). </p>
<p>Putting both objects next to each other, results in this:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="187" valign="top"><strong>Year-Week</strong></td>
<td width="180" valign="top"><strong>Week-Year (Next Year)</strong></td>
</tr>
<tr>
<td width="187" valign="top">2009-01</td>
<td width="180" valign="top">2010-01</td>
</tr>
<tr>
<td width="187" valign="top">2009-02</td>
<td width="180" valign="top">2010-02</td>
</tr>
<tr>
<td width="187" valign="top">2009-03</td>
<td width="180" valign="top">2010-03</td>
</tr>
</tbody>
</table>
<p> </p>
<p>In a new query I select the volume and the new object ‘Week-Year (Next Year)’, which I <span style="text-decoration:underline;">link to object ‘Year-Week’</span> of the original query and tadaaaa:</p>
<p><img class="alignnone size-full wp-image-20" title="good chart" src="http://maajksboblog.files.wordpress.com/2010/12/good-chart.jpg?w=567&#038;h=296" alt="" width="567" height="296" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=17&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2010/12/23/chart-comparing-figures-of-last-year-with-figures-of-current-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2010/12/bad-chart.jpg" medium="image">
			<media:title type="html">bad chart</media:title>
		</media:content>

		<media:content url="http://maajksboblog.files.wordpress.com/2010/12/good-chart.jpg" medium="image">
			<media:title type="html">good chart</media:title>
		</media:content>
	</item>
		<item>
		<title>Hide column in Webi using the alerter</title>
		<link>http://maajksboblog.wordpress.com/2010/12/22/hide-column-in-webi/</link>
		<comments>http://maajksboblog.wordpress.com/2010/12/22/hide-column-in-webi/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 10:56:59 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[Webi]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=7</guid>
		<description><![CDATA[The hide column function doesn&#8217;t exist in Webi.  A workaround is changing font and borders and background and &#8230;   The column is still in the report, but it&#8217;s no longer visible. A cleaner workaround in my opinion (and one that is usable in a chart) is one I learned from a collegaue, a few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=7&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The hide column function doesn&#8217;t exist in Webi.  A workaround is changing font and borders and background and &#8230;   The column is still in the report, but it&#8217;s no longer visible.</p>
<p>A cleaner workaround in my opinion (and one that is usable in a chart) is one I learned from a collegaue, a few days ago.  Using an alerter on the column you wish to hide (lets say we want to hide [City]), you can make a non sense condition that is allways true ([City] &lt;&gt; &#8220;Shitville&#8221;, for instance) and tell webi that if the condition is met, to show the object you wish to show.  Now just make sure the format is the same and Bob&#8217;s your uncle.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=7&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2010/12/22/hide-column-in-webi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>
	</item>
		<item>
		<title>The Beginning</title>
		<link>http://maajksboblog.wordpress.com/2010/12/22/hello-world/</link>
		<comments>http://maajksboblog.wordpress.com/2010/12/22/hello-world/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 09:15:57 +0000</pubDate>
		<dc:creator>Maajkel</dc:creator>
				<category><![CDATA[The Blog]]></category>

		<guid isPermaLink="false">http://maajksboblog.wordpress.com/?p=1</guid>
		<description><![CDATA[Welcome to my Business Objects blog. I&#8217;ve been working with BO for about ten years now.  Recently I changed job.  I&#8217;m still a BO consultant, but now for a new company.  And today I decided to keep a blog, to keep track of (and document) what I&#8217;m working on.  Maybe I&#8217;ll come across some problems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=1&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to my Business Objects blog.</p>
<p>I&#8217;ve been working with BO for about ten years now.  Recently I changed job.  I&#8217;m still a BO consultant, but now for a new company.  And today I decided to keep a blog, to keep track of (and document) what I&#8217;m working on.  Maybe I&#8217;ll come across some problems and find solutions that might be helpful for someone, and maybe (just maybe), with a little help from a search engine, that someone will come across this blog.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/maajksboblog.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/maajksboblog.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/maajksboblog.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/maajksboblog.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/maajksboblog.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/maajksboblog.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/maajksboblog.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/maajksboblog.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=maajksboblog.wordpress.com&amp;blog=18573388&amp;post=1&amp;subd=maajksboblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://maajksboblog.wordpress.com/2010/12/22/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/61ded39a47203c4f9118881c3e66510b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Maajkel</media:title>
		</media:content>
	</item>
	</channel>
</rss>
