<?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/"
	>

<channel>
	<title>WAMOnline Blog</title>
	<atom:link href="http://www.wamonline.org.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wamonline.org.uk</link>
	<description>The Blog That Saved The World</description>
	<pubDate>Mon, 11 Feb 2008 09:22:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Closing Down and Moving</title>
		<link>http://www.wamonline.org.uk/2008/02/11/closing-down-and-moving/</link>
		<comments>http://www.wamonline.org.uk/2008/02/11/closing-down-and-moving/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 09:22:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2008/02/11/closing-down-and-moving/</guid>
		<description><![CDATA[Cheers for the support guys, you will now find most of the blog plus more at, http://www.pentaho-wiki.com/wiki.
]]></description>
			<content:encoded><![CDATA[<p>Cheers for the support guys, you will now find most of the blog plus more at, <a href="http://www.pentaho-wiki.com/wiki" title="Pentaho Wiki">http://www.pentaho-wiki.com/wiki.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2008/02/11/closing-down-and-moving/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pentaho Server Fails Every Night&#8230; We have a solution</title>
		<link>http://www.wamonline.org.uk/2007/11/12/pentaho-server-fails-every-night-we-have-a-solution/</link>
		<comments>http://www.wamonline.org.uk/2007/11/12/pentaho-server-fails-every-night-we-have-a-solution/#comments</comments>
		<pubDate>Mon, 12 Nov 2007 16:39:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Pentaho Business Intelligence Suite]]></category>

		<category><![CDATA[Pentaho Hints and Tips]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/11/12/pentaho-server-fails-every-night-we-have-a-solution/</guid>
		<description><![CDATA[Have you been having issues when you pentaho server is no longer chatting to MySQL when you arrive at work the following morning. I had an annoying issue where my server no longer sent attachments after it had been up for 8 hours because MySQL was closing the idle connections and hibernate wasn&#8217;t reopening them [...]]]></description>
			<content:encoded><![CDATA[<p>Have you been having issues when you pentaho server is no longer chatting to MySQL when you arrive at work the following morning. I had an annoying issue where my server no longer sent attachments after it had been up for 8 hours because MySQL was closing the idle connections and hibernate wasn&#8217;t reopening them when it ran the scheduled task. After days of debugging the solution is thus&#8230;.</p>
<p>Get a copy of <a href="http://www.wamonline.org.uk/wp-content/uploads/2007/11/dbcpconnectionprovider.class" title="dbcpconnectionprovider.class">dbcpconnectionprovider.class</a> and copy it into WEB-INF/classes/org/hibernate/connection/ (create the directories if they don&#8217;t exist)</p>
<p>Then add the following to hibernate.cfg.xml&#8230;.</p>
<p>&lt;property name=&#8221;hibernate.connection.provider_class&#8221;&gt;</p>
<p>org.hibernate.connection.DBCPConnectionProvider</p>
<p>&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.initialSize&#8221;&gt;8&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.validationQuery&#8221;&gt;SELECT 1&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.testOnBorrow&#8221;&gt;true&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.testOnReturn&#8221;&gt;false&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.testWhileIdle&#8221;&gt;true&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.minIdle&#8221;&gt;4&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.timeBetweenEvictionRunsMillis&#8221;&gt;120000&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.numTestsPerEvictionRun&#8221;&gt;3&lt;/property&gt;<br />
&lt;property name=&#8221;hibernate.dbcp.minEvictableIdleTimeMillis&#8221;&gt;120000&lt;/property&gt;</p>
<p>And it should keep your connections pooled so you no longer suffer from this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/11/12/pentaho-server-fails-every-night-we-have-a-solution/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Updating The Pentaho Reporting Engine</title>
		<link>http://www.wamonline.org.uk/2007/08/23/9/</link>
		<comments>http://www.wamonline.org.uk/2007/08/23/9/#comments</comments>
		<pubDate>Thu, 23 Aug 2007 10:15:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Pentaho Hints and Tips]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/23/9/</guid>
		<description><![CDATA[I was playing around trying to troubleshoot a report I was having problems with, when I struck upon another issue that I didn&#8217;t know how to solve, updating the JFreeReport Jar&#8217;s without reinstalling the whole lot. This is how its done&#8230;.
Download the latest archive
Extract the pentaho-reporting/libs/ directory and dump its contents in
jboss/server/default/deploy/pentaho.war/WEB-INF/lib/
When you restart the [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around trying to troubleshoot a report I was having problems with, when I struck upon another issue that I didn&#8217;t know how to solve, updating the JFreeReport Jar&#8217;s without reinstalling the whole lot. This is how its done&#8230;.</p>
<p>Download the latest archive</p>
<p>Extract the pentaho-reporting/libs/ directory and dump its contents in</p>
<p>jboss/server/default/deploy/pentaho.war/WEB-INF/lib/</p>
<p>When you restart the system, if there is a load of error messages, remove the  gnujaxp.jar file as it caused me a right load of problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/23/9/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Want to create a MDX report but not sure of the query.</title>
		<link>http://www.wamonline.org.uk/2007/08/14/want-to-create-a-mdx-report-but-not-sure-of-the-query/</link>
		<comments>http://www.wamonline.org.uk/2007/08/14/want-to-create-a-mdx-report-but-not-sure-of-the-query/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 19:27:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Pentaho Hints and Tips]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/14/want-to-create-a-mdx-report-but-not-sure-of-the-query/</guid>
		<description><![CDATA[This may sound rather obvious but it took some working out on my part. I wanted a report to be emailed out but the query was MDX, and the report designer doesn&#8217;t directly support MDX generation, ie: unlike sql you can&#8217;t see what your doing.
So publish an analysis cube with the JPivot stuff, load it [...]]]></description>
			<content:encoded><![CDATA[<p>This may sound rather obvious but it took some working out on my part. I wanted a report to be emailed out but the query was MDX, and the report designer doesn&#8217;t directly support MDX generation, ie: unlike sql you can&#8217;t see what your doing.</p>
<p>So publish an analysis cube with the JPivot stuff, load it up and work out how you want your table displayed and setup. It may be an idea to clean up the code a bit but once that&#8217;s done copy it out, and paste it into the report wizard/designer and it should all work, just make sure you use the same cube <img src='http://www.wamonline.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/14/want-to-create-a-mdx-report-but-not-sure-of-the-query/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Loading Secure Filter Options On The Fly</title>
		<link>http://www.wamonline.org.uk/2007/08/14/loading-secure-filter-options-on-the-fly/</link>
		<comments>http://www.wamonline.org.uk/2007/08/14/loading-secure-filter-options-on-the-fly/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 19:23:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Pentaho Hints and Tips]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/14/loading-secure-filter-options-on-the-fly/</guid>
		<description><![CDATA[Another rather obvious tip but certainly useful.
If you want to load the selections for a secure filter/prompt in a xaction dynamically, then in the editor select a Get Data -&#62; relational
Input the query to retrieve the relevant information and then setup the result-set at the bottom of the page and assign the columns.
The in the [...]]]></description>
			<content:encoded><![CDATA[<p>Another rather obvious tip but certainly useful.</p>
<p>If you want to load the selections for a secure filter/prompt in a xaction dynamically, then in the editor select a Get Data -&gt; relational</p>
<p>Input the query to retrieve the relevant information and then setup the result-set at the bottom of the page and assign the columns.</p>
<p>The in the Secure Filter/Prompt do the usual just selecting the dynamic result-set. As long as  the details are correct you will see the query results next time you run the xaction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/14/loading-secure-filter-options-on-the-fly/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Calculated Member Properties</title>
		<link>http://www.wamonline.org.uk/2007/08/14/calculated-member-properties/</link>
		<comments>http://www.wamonline.org.uk/2007/08/14/calculated-member-properties/#comments</comments>
		<pubDate>Tue, 14 Aug 2007 10:03:30 +0000</pubDate>
		<dc:creator>bugg_tb</dc:creator>
		
		<category><![CDATA[Pentaho Hints and Tips]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/14/calculated-member-properties/</guid>
		<description><![CDATA[Here&#8217;s a quick tip, if you generate calculated members in your code but can&#8217;t work out how to format them this is for you..
For some reason Members and Calculated Members have different syntax to format calculated members add them in a similar way to the code here.

&#60;CalculatedMember name="Rolling Budget Margin" dimension="Measures"&#62;
&#60;formula&#62;
((([Measures].[Current DAY_ID] / [Measures].[Month DAY_ID])) [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a quick tip, if you generate calculated members in your code but can&#8217;t work out how to format them this is for you..</p>
<p>For some reason Members and Calculated Members have different syntax to format calculated members add them in a similar way to the code here.<br />
<code><br />
&lt;CalculatedMember name="Rolling Budget Margin" dimension="Measures"&gt;<br />
&lt;formula&gt;<br />
((([Measures].[Current DAY_ID] / [Measures].[Month DAY_ID])) * [Measures].[Budget Margin])<br />
&lt;/formula&gt;<br />
&lt;CalculatedMemberProperty name=&#8221;FORMAT_STRING&#8221; value=&#8221;#,#00;;\Z\e\r\o&#8221;/&gt;<br />
&lt;/CalculatedMember&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/14/calculated-member-properties/feed/</wfw:commentRss>
		</item>
		<item>
		<title>From The Top Then</title>
		<link>http://www.wamonline.org.uk/2007/08/07/from-the-top-then/</link>
		<comments>http://www.wamonline.org.uk/2007/08/07/from-the-top-then/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 21:06:41 +0000</pubDate>
		<dc:creator>bugg_tb</dc:creator>
		
		<category><![CDATA[Pentaho Business Intelligence Suite]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/07/from-the-top-then/</guid>
		<description><![CDATA[I am going to assume you&#8217;ve at least got Pentaho installed and started, if you haven&#8217;t pop over the site and pick up a copy of the installer to get you started. The first thing to make everyone aware of because it will be your life saver, is Mondrian the MDX server. Now I have [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to assume you&#8217;ve at least got Pentaho installed and started, if you haven&#8217;t pop over the <a href="http://www.pentaho.com">site</a> and pick up a copy of the installer to get you started. The first thing to make everyone aware of because it will be your life saver, is Mondrian the MDX server. Now I have to admit that when I first installed Pentaho I knew absolutely nothing about MDX, Mondrian or anything of that nature, hell I hadn&#8217;t used SQL since I was at uni a few years ago. So my boss gave me the task of bringing the 100&#8217;s of reports we create every month together into a more centralised and automated fashion, so I started looking at ways of doing this. I started by scripting a website, creating the tables and code straight in PHP, HTML and an excel generator for some proper output, I got the first few reports done but there had to be a better solution.. and on a budget. I played around with a few CMS systems to see if they fit the bill but they still involved a lot of coding, the eventual output looked better but creating the reports was going to be a chore. Then I stumbled across Pentaho, it look just like what I wanted, an open source(I&#8217;ve been using Linux for years), web based, business intelligence suite. So I got it installed and looked at the sample data, bingo I thought, but how does this all work then? I uploaded some of my data to the database and set to work trying to figure out how it all worked. I played for days trying to generate useful data just with SQL and various report types, but never getting close to what I wanted, I had picked one of the harder reports to start with but what the hell. Then I thought what about this MDX stuff I&#8217;ve been seeing whist playing around and my quest for the best reporting system began.</p>
<p><strong>MDX history</strong></p>
<p>MDX stands for Multidimensional Expressions it is a query language for Online Analytical Processes(OLAP) Databases and cleverly it allows relatively easy calculations using formula&#8217;s similar to spreadsheets. To my surprise it was actually invented by a guy at Microsoft, they&#8217;ve come up with a useful specification and actually seemed to keep it pretty quiet. So unsurprisingly it runs on MSSQL, MYSQL, Oracle, DB2, the usual culprits.</p>
<p><strong>How it works</strong></p>
<p>Well MDX with Pentaho works by creating a Cube which references tables in a main database. In this Cube you will define &#8216;Dimensions&#8217;, &#8216;Hierarchies&#8217;, &#8216;Levels&#8217; and &#8216;Measures&#8217; these create the levels of information that the MDX server uses to reference. So for example you may have:</p>
<p><code>&lt;Dimension name="TIME" foreignKey="DATE_ID"&gt;<br />
&lt;Hierarchy name="TIME" hasAll="true" allMemberName="All time" primaryKey="DATE_ID"&gt;<br />
&lt;Table name="TIME"/&gt;   &lt;Level name="YEAR" table="TIME" column="YEAR_ID" uniqueMembers="false"/&gt;<br />
&lt;Level name="QUARTER" table="TIME" column="QUARTER_ID" uniqueMembers="false"/&gt;<br />
&lt;Level name="MONTH" table="TIME" column="MONTH_ID" uniqueMembers="false"/&gt;<br />
&lt;/Hierarchy&gt;<br />
&lt;/Dimension&gt;</code></p>
<p>So as you can see first we define the dimension which in this case is called &#8216;Time&#8217;  which references the foreign key &#8216;Date_ID&#8217;.</p>
<p>Next we define a hierarchy which in this case is also called &#8216;Time&#8217;.</p>
<p>Then we define the levels which are reasonably self expanatory these decend in diminsihing size as it quite obvious with this date example.</p>
<p><code>&lt;Measure name="TOTAL_SALES" column="TURNOVER_EUR" aggregator="sum" datatype="Numeric" formatString="# ##0,###"/&gt;</code></p>
<p>Lastly we can create Measures which do pretty much do as the name suggests and we use them as the core data in our tables. The name is the name you want to see in the cube, the column if the column name from the database, there are several different aggregators your can set as with datatypes and formatStrings.</p>
<p>But don&#8217;t worry this doesn&#8217;t all have to be coded by hand Pentaho have developed a Cube Designer which you can download and use to create and upload the cubes to your server. This is much easier than creating by hand, the only problem being at the moment your can&#8217;t reopen a saved cube for editing, so once you&#8217;ve published your cube check it to make sure its as you expect before you close the designer, because you can always make adjustments and re-upload. Once the cube is published you can always edit the xml file directly, it will be called <em>cubename.</em>mondrian.xml. Take a look and check out its structure.</p>
<p>Anyway, I&#8217;ll be back later with the basics of starting query writing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/07/from-the-top-then/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What to write about?</title>
		<link>http://www.wamonline.org.uk/2007/08/07/what-to-write-about/</link>
		<comments>http://www.wamonline.org.uk/2007/08/07/what-to-write-about/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 20:17:43 +0000</pubDate>
		<dc:creator>bugg_tb</dc:creator>
		
		<category><![CDATA[Pentaho Business Intelligence Suite]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/07/what-to-write-about/</guid>
		<description><![CDATA[I dreamt up the idea of this blog whilst sitting around at work this week, I&#8217;ve been hammering away at Pentaho for weeks now and not really documented a single thing I&#8217;ve done, sure I can look at my code but I have nothing documented. So I recon I&#8217;ll start from the ground up. Yes [...]]]></description>
			<content:encoded><![CDATA[<p>I dreamt up the idea of this blog whilst sitting around at work this week, I&#8217;ve been hammering away at Pentaho for weeks now and not really documented a single thing I&#8217;ve done, sure I can look at my code but I have nothing documented. So I recon I&#8217;ll start from the ground up. Yes I realise there wont be anything ground breaking in this blog as of yet, but I hope my notes and code will help people who stumble across here with the more obvious problems that I&#8217;ve encountered over the last few weeks whilst setting up a Pentaho Server at work.</p>
<p>Also a big thanks to the folks at the forums(especially Taqua) for answering my rather stupid and plain obvious questions, and for bug fixing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/07/what-to-write-about/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WAMOnline.org.uk</title>
		<link>http://www.wamonline.org.uk/2007/08/07/wamonlineorguk/</link>
		<comments>http://www.wamonline.org.uk/2007/08/07/wamonlineorguk/#comments</comments>
		<pubDate>Tue, 07 Aug 2007 15:35:04 +0000</pubDate>
		<dc:creator>bugg_tb</dc:creator>
		
		<category><![CDATA[WAMOnline]]></category>

		<guid isPermaLink="false">http://www.wamonline.org.uk/2007/08/07/wamonlineorguk/</guid>
		<description><![CDATA[With WAMOnline closing a year or so ago I was at a bit of a loose end as with what to do with the site, I can&#8217;t really let it go as that would mean changing email addresses and that would be a pain in the behind. So as my new job largely entails business [...]]]></description>
			<content:encoded><![CDATA[<p>With WAMOnline closing a year or so ago I was at a bit of a loose end as with what to do with the site, I can&#8217;t really let it go as that would mean changing email addresses and that would be a pain in the behind. So as my new job largely entails business intelligence and data analysis, I thought it may be a good idea to store my hints, tips and thoughts online as a thanks to the people who created such good software and then decided to give it away.</p>
<p>I&#8217;ll also blog about other stuff that I&#8217;ll try to keep separate so check back to see whats been going on, and I promise to make it look a bit more aesthetically pleasing over the next few weeks.</p>
<p>Tom</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wamonline.org.uk/2007/08/07/wamonlineorguk/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
