tag:blogger.com,1999:blog-3437629636859760435 Fri, 19 Feb 2010 18:08:51 +0000 Braintapper Exchange - All Items - Most Recent http://exchange.braintapper.com/listing/all/recent/rss information@braintapper.com (Steven Ng) Braintapper 15 1 15 http://exchange.braintapper.com/read/bookmark/45/cognos-on-slideshare 2010-03-25 07:24:53 EST 2010-03-25T07:24:53.000-05:00 Bookmark: “cognos” on SlideShare <p>A good source of instructional PPT decks related to Cognos. Courtesy of Acumetrics.</p> http://exchange.braintapper.com/read/bookmark/45/cognos-on-slideshare slantyyz 0 http://exchange.braintapper.com/read/code/43/ibm-cognos-framework-documenting-the-framework-model-in-html-using-an-xslt-transformation 2010-03-24 14:52:56 EST 2010-03-24T14:52:56.000-05:00 Code Snippet: IBM Cognos Framework: Documenting the Framework model in HTML using an XSLT Transformation <p>You've just finished creating your Framework model and published it to your portal for your users. You now have the task to create a functional specification document that your users, future developers, business sponsors etc. will need to reference. The Model Report available in Framework Manager is not in a format that most users can follow so what are your options?</p> <p>This process to create a nicely formatted HTML report involves transforming the Framework model.xml file into the HTML document by using an XSLT transformation in a Pentaho job. The process is quite simple. You can install the code by downloading the files found in the attached ZIP. Follow the instructions in the demo link for a step-by-step walk through of the process.</p> <p>The XSLT file was created by the folks at Braintapper and I was lucky enough to get my hands on a copy. We use this process to document the Framework models for our client's frameworks. I'd like to thank the Braintapper developers for the code.</p> <p>Notes: You will need to upload the CSS files to your hosting website and replace the CSS file locations in the getelements.xsl file so that they point to your hosted domain.</p> <p>XSLT Code - <a href="http://acumetrics.com/assets/Framework%20Manager%20XSLT.zip" title="Download Code">Download Code</a></p> <p>Instructions - <a href="http://acumetrics.com/assets/Framework_HTML_Output/Framework_HTML_Output.html" title="Download Code">Instructional Video</a></p> http://exchange.braintapper.com/read/code/43/ibm-cognos-framework-documenting-the-framework-model-in-html-using-an-xslt-transformation Acumetrics 1 http://exchange.braintapper.com/read/code/42/sql-server-moving-the-tempdb 2010-03-24 11:29:49 EST 2010-03-24T11:29:49.000-05:00 Code Snippet: SQL Server: Moving the tempdb <p>If you need to move the tempdb to another drive in SQL Server, use this SQL:</p> <pre class="prettyprint"><code>use master go Alter database tempdb modify file (name = tempdev, filename = 'E:\Sqldata\tempdb.mdf') go Alter database tempdb modify file (name = templog, filename = 'E:\Sqldata\templog.ldf') Go </code></pre> <p>Don't forget to modify the paths according to your own server paths.</p> http://exchange.braintapper.com/read/code/42/sql-server-moving-the-tempdb slantyyz 0 http://exchange.braintapper.com/read/code/41/sql-server-updating-logins-after-a-detach-or-restore 2010-03-24 11:26:34 EST 2010-03-24T11:26:34.000-05:00 Code Snippet: SQL Server: Updating Logins after a Detach or Restore <p>If you ever migrate a SQL Server database from one server to another, you'll find that the database IDs get messed up when you reattach the database.</p> <p>Use the SQL below to migrate the database's legacy ids to the new server's ids:</p> <pre class="prettyprint"><code>USE dbname go EXEC sp_change_users_login 'Update_One', 'oldid', 'newid' </code></pre> http://exchange.braintapper.com/read/code/41/sql-server-updating-logins-after-a-detach-or-restore slantyyz 0 http://exchange.braintapper.com/read/code/40/quick-conversion-of-month-abbreviations-to-numbers 2010-03-24 11:16:56 EST 2010-03-24T11:16:56.000-05:00 Code Snippet: Quick Conversion of Month Abbreviations to Numbers <p>Whether you're working in Cognos, Pentaho or some other BI tool, you'll inevitably be given a data element with a date format your system doesn't like.</p> <p>Usually it involves a month abbreviation and having to convert it to a number.</p> <p>Not all formula languages provide this type of conversion with a built-in command.</p> <p>The first solution that usually comes to mind is an <code class="prettyprint">if->elseif</code> or <code class="prettyprint">case / switch</code> block to handle the month abbreviation conversion.</p> <p>There is a quicker way to do this, using the string location function in your tool of choice, which of course, is never the same between tools.</p> <p>Here's a quick version in pseudocode:<br /> <code class="prettyprint">FIND(UCASE("Jan");"###JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC"))/3</code></p> <p>Let's walk through my pseudocode.</p> <p>FIND is the command that I want to use for searching my string, and here's the syntax: FIND(needle;HAYSTACK)</p> <p>It should return me with the first position of the string when found. In some formula languages, it's substr or substring.</p> <p><strong>Gotcha</strong>: Some FIND commands are indexed at 1, others at 0. That means the first character could return 0 or 1. I'm going to assume that FIND returns 0. If your FIND command returns 1, you'll have to adjust accordingly.</p> <p>So let's look at the string positions:</p> <p><code class="prettyprint">###JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC</code><br /> <code class="prettyprint">012345678901234567890123456789012345678</code></p> <p>A couple of things worthy of note. I've indexed with zero, and I've left-padded my string with hashes (#). Because of how my pseudocode FIND works, searching for "JAN" will return 3, since that's the first character position it finds. "FEB" will return 6, "MAR" will return 9 and so on.</p> <p>Since each of these results are divisible by 3, all I need to do is return the position divided by 3 to give me the month number. If your FIND command is indexed with 1, then the string positions would look like this:</p> <p><code class="prettyprint">##JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC</code><br /> <code class="prettyprint">12345678901234567890123456789012345678</code></p> <p>You should only pad your haystack string with 2 hashes in this case.</p> <p>So to recap, perform an uppercase conversion on your abbreviation in case your FIND command is case sensitive, and divide the "found" position by 3.</p> <p>Easy peasy.</p> http://exchange.braintapper.com/read/code/40/quick-conversion-of-month-abbreviations-to-numbers slantyyz 0 http://exchange.braintapper.com/read/bookmark/39/beware-of-imagine-if...-37signals 2010-03-24 07:15:08 EST 2010-03-24T07:15:08.000-05:00 Bookmark: Beware of "Imagine if..." - (37signals) <p>37Signals has a nice bit on managing scope creep. Their example is in software development, but it's quite universal.</p> http://exchange.braintapper.com/read/bookmark/39/beware-of-imagine-if...-37signals slantyyz 0 http://exchange.braintapper.com/read/bookmark/38/-professors-cite-challenges-in-teaching-bi-in-college 2010-03-23 10:12:40 EST 2010-03-23T10:12:40.000-05:00 Bookmark: Professors cite challenges in teaching BI in college <p>Is it that hard to teach BI in courses?</p> <p>A lack of dummy data? Haven't these professors heard of crowdsourcing? Microsoft's own dummy data is available for download.</p> <p>I see a lot of excuses that might have flown 10 years ago, but they don't fly with me today.</p> http://exchange.braintapper.com/read/bookmark/38/-professors-cite-challenges-in-teaching-bi-in-college slantyyz 0 http://exchange.braintapper.com/read/bookmark/37/when-knowledge-makes-us-hesitate-37signals 2010-03-23 09:10:52 EST 2010-03-23T09:10:52.000-05:00 Bookmark: When knowledge makes us hesitate - (37signals) <p>37 signals has a nice little nugget on how new information will make you hesitate and put you on the defensive.</p> http://exchange.braintapper.com/read/bookmark/37/when-knowledge-makes-us-hesitate-37signals slantyyz 0 http://exchange.braintapper.com/read/question/34/is-braintapper-exchange-open-sourced 2010-03-23 08:53:45 EST 2010-03-23T08:53:45.000-05:00 Question: Is Braintapper Exchange Open Sourced? <p>Can I get a copy for my own site?</p> http://exchange.braintapper.com/read/question/34/is-braintapper-exchange-open-sourced slantyyz 2 http://exchange.braintapper.com/read/bookmark/33/visual-business-intelligence-big-bi-is-stuck-illustrated-by-sap-businessobjects-explorer 2010-03-23 08:27:12 EST 2010-03-23T08:27:12.000-05:00 Bookmark: Visual Business Intelligence - Big BI is Stuck: Illustrated by SAP BusinessObjects Explorer <p>In a counter post to my previous link to a Beye white paper. While the Beye paper is really sponsored advertorial, Stephen Few's post provides better insight between the differences between "Big BI" vs. "Small BI", and the difference is usability.</p> http://exchange.braintapper.com/read/bookmark/33/visual-business-intelligence-big-bi-is-stuck-illustrated-by-sap-businessobjects-explorer slantyyz 0 http://exchange.braintapper.com/read/question/30/how-do-i-set-up-my-user-pictureavatar 2010-03-23 07:24:48 EST 2010-03-23T07:24:48.000-05:00 Question: How do I set up my user picture/avatar? <p>I notice that some users seem to have a customized picture beside their name. How do I do that?</p> http://exchange.braintapper.com/read/question/30/how-do-i-set-up-my-user-pictureavatar slantyyz 1 http://exchange.braintapper.com/read/bookmark/29/beyeresearch-ease-of-use-and-interface-appeal-in-business-intelligence-tools 2010-03-23 07:21:05 EST 2010-03-23T07:21:05.000-05:00 Bookmark: BeyeRESEARCH - Ease of Use and Interface Appeal in Business Intelligence Tools <p>Registration Required.</p> <p>BeyeResearch has a white paper on usability in business intelligence tools.</p> <p>Keep in mind that the author is NOT a usability expert in the same vein as a Jakob Neilsen or Donald Norman, but you might find something interesting there. I didn't find anything more than common sense stuff.</p> <p>The main problem with enterprise software developers is that they spend more time on completing feature checklists instead of pursuing feature excellence, which in itself includes usability. Most of the developers in BI probably don't even eat their own dogfood in that they aren't really using the crappy software they develop.</p> <p>Anyways, check it out.</p> http://exchange.braintapper.com/read/bookmark/29/beyeresearch-ease-of-use-and-interface-appeal-in-business-intelligence-tools slantyyz 1 http://exchange.braintapper.com/read/bookmark/28/smartdata-collective-market-decision-making 2010-03-23 07:10:57 EST 2010-03-23T07:10:57.000-05:00 Bookmark: SmartData Collective: Market Decision Making <p>SmartData has a nice little article on decision making, once you get past the Teradata plug at the end of the article.</p> http://exchange.braintapper.com/read/bookmark/28/smartdata-collective-market-decision-making slantyyz 0 http://exchange.braintapper.com/read/question/26/how-do-i-leave-feedback 2010-03-23 07:04:59 EST 2010-03-23T07:04:59.000-05:00 Question: How do I leave feedback? <p>If I see a bug, or have a suggestion, how do I leave feedback?</p> http://exchange.braintapper.com/read/question/26/how-do-i-leave-feedback slantyyz 1 http://exchange.braintapper.com/read/bookmark/24/the-braintapper-blog-quick-review-wall-street-journal-guide-to-information-graphics 2010-03-22 16:12:13 EST 2010-03-22T16:12:13.000-05:00 Bookmark: The Braintapper Blog / Quick Review: Wall Street Journal Guide to Information Graphics <p>A quick review of Dona Wong's new visualization book.</p> http://exchange.braintapper.com/read/bookmark/24/the-braintapper-blog-quick-review-wall-street-journal-guide-to-information-graphics slantyyz 0