<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8636186381965873177</id><updated>2024-11-05T21:52:24.894-05:00</updated><category term="Cognos"/><category term="report writing"/><category term="Report Studio"/><category term="Cognos 8"/><category term="IBM"/><category term="Business Intelligence"/><category term="Cognos 8.4"/><category term="Cognos 8.3"/><category term="administration"/><category term="customize ui"/><category term="javascript"/><category term="prompts"/><category term="Cognos Viewer"/><category term="JAVA"/><category term="Oracle"/><category term="bursting"/><category term="calculated members"/><category term="dashboard"/><category term="functions"/><category term="query"/><category term="user interface"/><category term="Adobe"/><category term="CRN"/><category term="Cognos 8.2"/><category term="Cognos Configuration"/><category term="Cognos Now"/><category term="Cognos TM1"/><category term="Flash"/><category term="Gateway"/><category term="Go Dashboard"/><category term="MicroStrategy"/><category term="OLAP"/><category term="PDF"/><category term="Performance Management"/><category term="ReportNet"/><category term="SQL"/><category term="Sun"/><category term="article"/><category term="book"/><category term="calculated measures"/><category term="content store"/><category term="crosstabs"/><category term="data warehouse"/><category term="database"/><category term="iPhone"/><category term="installation"/><category term="link"/><category term="poll"/><category term="query calculation"/><category term="reference"/><category term="relative date"/><category term="review"/><category term="site news"/><category term="tomcat"/><title type='text'>Your (almost) Daily Cognos</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default?start-index=26&amp;max-results=25'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-112027260506709898</id><published>2009-09-01T12:35:00.004-04:00</published><updated>2009-09-01T12:56:18.996-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="calculated measures"/><category scheme="http://www.blogger.com/atom/ns#" term="calculated members"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="query"/><category scheme="http://www.blogger.com/atom/ns#" term="query calculation"/><title type='text'>Calculated Measure, Member or a Query Calculation?</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdIKSFiqCU_g1bBY5zSLRzyACaWwazGt0YSbXcNlt0scgI8bpVLevpS2C1zX36BVovkZIhpbtc1q58tUQcqc4EZ3ZxfQOk-ewOcMkrs6wZzz9meXiztzekp-P8peKGAFLYTDzxiehGSOm/s1600-h/Picture+4.png&quot;&gt;&lt;img style=&quot;float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 152px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdIKSFiqCU_g1bBY5zSLRzyACaWwazGt0YSbXcNlt0scgI8bpVLevpS2C1zX36BVovkZIhpbtc1q58tUQcqc4EZ3ZxfQOk-ewOcMkrs6wZzz9meXiztzekp-P8peKGAFLYTDzxiehGSOm/s200/Picture+4.png&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5376543825168482722&quot; /&gt;&lt;/a&gt;I posted previously about &lt;a href=&quot;http://cognosibm.blogspot.com/2009/04/calculated-members.html&quot;&gt;calculated members&lt;/a&gt;, but until recently, I never really understood when to use a calculated measure, a calculated member or a query calculation when building a report. By chance, I had the opportunity to bring this up to an IBM Cognos employee and was delighted to learn the following:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use Calculated Member or Calculated Measure for dimensional reports where the expression is a member or a tuple-based (as opposed to property-based) value expression. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Use Calculate Measure if you intend it to behave like measure (or to replace a measure). In this case, the value expression must not depend on the current measure context.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Use Calculate Member if you intend it to behave like measure (or to replace a measure). In this case, you must choose a hierarchy. The value expression must not depend on the current context in this hierarchy.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Use Set Expression for set expressions. In this case, you must choose a hierarchy. The set expression must contain only members in this hierarchy.&lt;/li&gt;&lt;/ul&gt;Finally, use Query Calculation in all other cases.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/112027260506709898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/112027260506709898?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/112027260506709898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/112027260506709898'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/09/calculated-measure-member-or-query.html' title='Calculated Measure, Member or a Query Calculation?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFdIKSFiqCU_g1bBY5zSLRzyACaWwazGt0YSbXcNlt0scgI8bpVLevpS2C1zX36BVovkZIhpbtc1q58tUQcqc4EZ3ZxfQOk-ewOcMkrs6wZzz9meXiztzekp-P8peKGAFLYTDzxiehGSOm/s72-c/Picture+4.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-4085556761714830880</id><published>2009-08-31T10:32:00.005-04:00</published><updated>2009-08-31T11:08:51.133-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.4"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos Configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="Gateway"/><title type='text'>Using a different port with Cognos 8.4</title><content type='html'>&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;The result of some specific security measures we were asked to temporarily designate an alternative port for our Cognos 8.4 development environment. &lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;I was under an assumption that this change would be directed through our webserver but quickly discovered that when an e-mail is sent, the link does not honor the specified port number. After some head scratching and paying some much needed attention to the manuals I found the correct solution:&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;ol&gt;&lt;li&gt;1. open Cognos Configuration on the server you&#39;re using &lt;/li&gt;&lt;li&gt;2. select Environment &lt;/li&gt;&lt;li&gt;3. under Gateway Settings, select Gateway URI &lt;/li&gt;&lt;li&gt;4. change the URI to a fully qualified domain name adding your port number&lt;/li&gt;&lt;li&gt;5. save and restart &lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:Helvetica, serif;font-size:12px;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/4085556761714830880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/4085556761714830880?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4085556761714830880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4085556761714830880'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/08/using-different-port-with-cognos-84.html' title='Using a different port with Cognos 8.4'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-4412157420280937274</id><published>2009-08-26T11:08:00.007-04:00</published><updated>2009-08-26T11:35:45.210-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.4"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="prompts"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Remove the Dotted Line/Title(parameter) in Cognos 8.4</title><content type='html'>&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxUNqKl_CwngqCnO2OGlsj1KeD9BGgNN4Yr44PIZwhvzIsXgxW6m-dfPzwwx_Y4weyLZ4xNivpiesVrGdxWmBwNfxLMoeQo8EVsF9_2gfwvc_63yS8jTnHv2gj6dlbCklBOf3UELbSMank/s200/prompt84&quot; style=&quot;float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 85px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5374294231595537218&quot; /&gt;Need to remove the dotted line and title of a value prompt? Create an HTML Item in your report and fill it with the following Javascript:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&amp;lt;script&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;var f = getFormWarpRequest();&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;var prompt = f._oLstChoicesX;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;prompt.remove(1);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;prompt.remove(0);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;prompt.removeAttribute(&quot;hasLabel&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Where X is the name of the prompt specified in the properties. This tip works with Cognos 8.4. There are other Javascript methods for earlier versions.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEims41DWo-BvmdcOleahJ8KCaxhf7iEz9bO7lZQ3LsgkZYmaGF-IAfheav_o36zfxyXGPoKIwZd0ZX1LMEhyphenhyphen7-T4FTa3BgvOpgwuWJlwvq_wR9nLNnjr7Xl10dz1dBY8j64OpUjLbJUYaEL/s200/prompt841&quot; style=&quot;float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 58px;&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5374294753084429538&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/4412157420280937274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/4412157420280937274?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4412157420280937274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4412157420280937274'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/08/remove-dotted-linetitleparameter-in.html' title='Remove the Dotted Line/Title(parameter) in Cognos 8.4'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxUNqKl_CwngqCnO2OGlsj1KeD9BGgNN4Yr44PIZwhvzIsXgxW6m-dfPzwwx_Y4weyLZ4xNivpiesVrGdxWmBwNfxLMoeQo8EVsF9_2gfwvc_63yS8jTnHv2gj6dlbCklBOf3UELbSMank/s72-c/prompt84" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-8932172838988000051</id><published>2009-08-26T10:09:00.006-04:00</published><updated>2009-08-26T10:23:16.425-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="poll"/><category scheme="http://www.blogger.com/atom/ns#" term="site news"/><title type='text'>What version of IBM Cognos are you using in production?</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Hello all.&lt;/span&gt; I&#39;m back from an extended summer break and working on some new posts. While away, I had left comment moderation on (in order to avoid spam) so I&#39;ll be catching up on your comments soon.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Back in June I ran a poll asking the question &quot;What IBM Cognos version are you using in production?&quot;. Thanks to everyone who responded. The results showed that the majority of those who responded are using Cognos 8.3 (60%) in production followed by Cognos 8.4 (23%) (see pie chart below - Flash enabled):&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;margin: 0pt 10px 10px 10px; float: left;&quot;&gt;&lt;embed id=&quot;so&quot; src=&quot;http://acmeblogcharts.googlepages.com/ampie.swf?chart_settings=%3Csettings%3E%3Cpie%3E%3Cangle%3E45%3C/angle%3E%3Cheight%3E20%3C/height%3E%3Cy%3E100%3C/y%3E%3C/pie%3E%3Canimation%3E%3Cstart_time%3E2%3C/start_time%3E%3Cstart_effect%3Ebounce%3C/start_effect%3E%3Cstart_alpha%3E0%3C/start_alpha%3E%3Cpull_out_time%3E1.5%3C/pull_out_time%3E%3Cpull_out_effect%3EBounce%3C/pull_out_effect%3E%3Cpull_out_only_one%3Etrue%3C/pull_out_only_one%3E%3C/animation%3E%3Clegend%3E%3Cenabled%3Etrue%3C/enabled%3E%3C/legend%3E%3Clabels%3E%3Clabel%3E%3Cx%3E0%3C/x%3E%3Cy%3E20%3C/y%3E%3Calign%3Ecenter%3C/align%3E%3Crotate%3Efalse%3C/rotate%3E%3Ctext_size%3E12%3C/text_size%3E%3Ctext%3EWhat%20version%20of%20IBM%20Cognos%20are%20you%20using%20in%20Production%3F%3C/text%3E%3C/label%3E%3C/labels%3E%3C/settings%3E&amp;chart_data=%3Cpie%3E%3Cslice%20title%3D%22Cognos%208.4%22%20description%3D%22Cognos%208.4%3A%2023%22%20pull_out%3D%22true%22%20color%3D%22%235A6BBD%22%3E23%3C/slice%3E%3Cslice%20title%3D%22Cognos%208.3%22%20description%3D%22Cognos%208.3%3A%2060%22%20pull_out%3D%22true%22%20color%3D%22%23C0C816%22%3E60%3C/slice%3E%3Cslice%20title%3D%22Cognos%208.2%22%20description%3D%22Cognos%208.2%3A%2017%22%20pull_out%3D%22true%22%20color%3D%22%23818CE5%22%3E17%3C/slice%3E%3C/pie%3E&quot; name=&quot;ampier&quot; quality=&quot;high&quot; allowscriptaccess=&quot;always&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage=&quot;http://www.adobe.com/go/getflashplayer&quot; width=&quot;300&quot; height=&quot;300&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;&lt;br/&gt;&lt;a href=&quot;http://www.undauntedmedia.com/acmeblogcharts/&quot; title=&quot;Create your own chart&quot;&gt;&lt;img src=&quot;http://www.undauntedmedia.com/acmeblogcharts/images/icon_exclamation.gif&quot; /&gt; get Widget!&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/8932172838988000051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/8932172838988000051?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8932172838988000051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8932172838988000051'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/08/what-version-of-ibm-cognos-are-you.html' title='What version of IBM Cognos are you using in production?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-2263943576790686825</id><published>2009-06-10T10:28:00.006-04:00</published><updated>2009-06-13T14:28:48.296-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.3"/><category scheme="http://www.blogger.com/atom/ns#" term="query"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Case Expression in Report Studio</title><content type='html'>Based on a reporting requirement I was asked to present data grouped in year range categories, (e.g.  &amp;lt;2000, 2000-2005, 2006-2009, &gt;2009...). The &quot;search case&quot; expression met my objective.&lt;br /&gt;&lt;br /&gt;The syntax looks something like this:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;case&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;WHEN [year]  &amp;lt; 2000 THEN (&quot;category 1&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;WHEN [year] &amp;lt; 2006 THEN (&quot;category 2&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;WHEN [year] &amp;lt; 2009 THEN (&quot;category 3&quot;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;WHEN [year] &gt; 2009 THEN (&quot;category 4&quot;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;end&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notice that within the case expression I started with the lessor value (2000) and followed up to the top value. I could have also used an IF ... THEN statement but my feeling is that is it would look quite cluttered.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/2263943576790686825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/2263943576790686825?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/2263943576790686825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/2263943576790686825'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/06/case-expression-in-report-studio.html' title='Case Expression in Report Studio'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-8346972256570039283</id><published>2009-06-09T00:06:00.001-04:00</published><updated>2009-06-09T00:07:41.989-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.3"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos Viewer"/><category scheme="http://www.blogger.com/atom/ns#" term="customize ui"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><category scheme="http://www.blogger.com/atom/ns#" term="user interface"/><title type='text'>A Tabbed Interface for Your Reports</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXohEc363AYXucGymGgo_XF3NV6MONx5NFBykNkBN0EOXzFydButCU0aEEA2xMI_BXYSAR1IOawDJBlkT2s_VN9BjfHMbiJkTUAn8CM-RpnkEu93BosFrRA4Unm4qOkKuEwBsFO7vEVyx1/s1600-h/Picture+10.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 115px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXohEc363AYXucGymGgo_XF3NV6MONx5NFBykNkBN0EOXzFydButCU0aEEA2xMI_BXYSAR1IOawDJBlkT2s_VN9BjfHMbiJkTUAn8CM-RpnkEu93BosFrRA4Unm4qOkKuEwBsFO7vEVyx1/s200/Picture+10.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5345051463307155362&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;I wanted a way to show a series of reports within the context of the same window without using the dashboarding tools available from the Cognos interface. Here is a simple way in IBM Cognos 8.3 (using Javascript and an iframe) to create a tab-style interface which provides quick access for your reports:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW7GOvS9U8PsQc7KNO7auuxlQ0Y26zll323TAY9ed6Ns933CBIcnxhGDK4bDf-P46uA7RT3FCuK3PzXkMAG8FV3xI_akBLXwRfFiJPfLFJV8bFMGlLFzhE1LOlsSVz00bSshTu7F7-Vs2f/s1600-h/Picture+11.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 193px; height: 160px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW7GOvS9U8PsQc7KNO7auuxlQ0Y26zll323TAY9ed6Ns933CBIcnxhGDK4bDf-P46uA7RT3FCuK3PzXkMAG8FV3xI_akBLXwRfFiJPfLFJV8bFMGlLFzhE1LOlsSVz00bSshTu7F7-Vs2f/s200/Picture+11.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5345051572779064770&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;1. The first step is to create a new report – a shell report – which will be the main tab interface to your reports. In this new report, I&#39;ve removed the header title block (but not the header) and added in two new HTML Items from the toolbox, one in the header area and the other in the body of the new report. I&#39;ve given each a description (&amp;lt; tab menu &gt; and &amp;lt; iframe &gt;) using the Properties pane for easier reference.&lt;br /&gt;&lt;br /&gt;2. The HTML Item referred to as &amp;lt; iframe &gt; will house the iframe element. Open it and paste in the following:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;&amp;lt;iframe name=&quot;content&quot; src=&quot;http://localhost:80/cognos8/cgi-bin/cognosisapi.dll?b_action=cognosViewer&amp;amp;ui.action=run&amp;amp;ui.object=CAMID%28%22Local%20NT%20ID%3au%3dS-1-5-21-1004336348-688789844-682003330-1118%22%29%2ffolder%5b%40name%3d%27My%20Folders%27%5d%2freport%5b%40name%3d%27tabbed-revenue%27%5d&amp;amp;ui.name=tabbed-revenue&amp;amp;run.outputFormat=&amp;amp;run.prompt=true&amp;amp;cv.header=false&quot; frameborder=&quot;0&quot; height=&quot;500&quot; width=&quot;100%&quot;&gt;&amp;lt;/iframe&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZZCxE-lMmfxdUa81Rfa2WnDIf1zJiiaVg_0tFvp1PjpgMB3Rpr9iP26C3zq0lDaRL6XGsD3dNNrsdWO3RWC8fqH3shI2HH22aiEXiKKQu05xg7oYmBcvft792pJ7dQeJjrIYKVITbXmvE/s1600-h/Picture+12.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 142px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZZCxE-lMmfxdUa81Rfa2WnDIf1zJiiaVg_0tFvp1PjpgMB3Rpr9iP26C3zq0lDaRL6XGsD3dNNrsdWO3RWC8fqH3shI2HH22aiEXiKKQu05xg7oYmBcvft792pJ7dQeJjrIYKVITbXmvE/s200/Picture+12.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5345051680065781346&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Notice that the src of the iframe is targeting the report path to my default report (this will be the report used on the first tab selection). You&#39;ll want to replace this with your own report path information (in Cognos Connection, open properties for the report. Click on the &#39;View the search path, ID and URL&#39;. Copy the &#39;Default action URL&#39; contents and paste it as the src to your iframe. Append the end of this string with &#39;&amp;amp;cv.header=false&#39; (this parameter hides the header of the report –the part that says &#39;Cognos Viewer&#39;, etc).&lt;br /&gt;&lt;br /&gt;3. The HTML Item referred to as &amp;lt; tab menu &gt; is the actual tabbed interface and contains three main parts: a Javascript function; some CSS style syntax; and some html tags. Open the HTML Item. Let&#39;s paste in the CSS style syntax:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;style type=&quot;text/css&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;#demo-container{padding:25px 15px 0 15px;margin:0 0 15px 0;background:#c3d1e0;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu{list-style-type:none;width:100%;position:relative;height:27px;font-family:&quot;Trebuchet MS&quot;,Arial,sans-serif;font-size:13px;font-weight:bold;margin:0;padding:11px 0 0 0;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li{display:block;float:left;margin:0 0 0 4px;height:27px;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li.left{margin:0;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li a{display:block;float:left;color:#fff;background:#426695;line-height:27px;text-decoration:none;padding:0 17px 0 18px;height:27px;}&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li a.right{padding-right:19px;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li a:hover{background:#2E4560;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li a.on{color:#2E4560;background:#fff;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;ul#simple-menu li a.on:hover{color:#2E4560;background:#fff;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;/style&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The CSS is responsible for the look of the tabbed interface (I&#39;ve customized the colors with a bit of a Cognos 8.3 theme – change these colors as needed).&lt;br /&gt;&lt;br /&gt;Now let&#39;s add the Javascript:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;script&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;function putContent(n) {&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;  var aLinks = document.getElementsByTagName(&quot;a&quot;);&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;  for (i=0;i&amp;lt;aLinks.length;i++) {&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        if(aLinks[i].className == &quot;on&quot;) {&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;              aLinks[i].className = &quot;off&quot;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        }&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;        document.getElementById(&quot;link&quot;+n).className = &quot;on&quot;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;  }&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;switch(n) {&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;    case 2: document.getElementById(&quot;content&quot;).src = &quot;http://localhost:80/cognos8/cgi-bin/cognosisapi.dll?b_action=cognosViewer&amp;amp;ui.action=run&amp;amp;ui=h1h2h3h4&amp;amp;ui.object=CAMID(%22Local%20NT%20ID%3au%3dS-1-5-21-1004336348-688789844-682003330-1118%22)%2ffolder%5b%40name%3d%27My%20Folders%27%5d%2freport%5b%40name%3d%27tabbed-margin%27%5d&amp;amp;ui.name=tabbed-margin&amp;amp;run.outputFormat=&amp;amp;run.prompt=true&amp;amp;cv.header=false&quot;; break;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;    case 3: document.getElementById(&quot;content&quot;).src = &quot;http://localhost:80/cognos8/cgi-bin/cognosisapi.dll?b_action=cognosViewer&amp;amp;ui.action=run&amp;amp;ui=h1h2h3h4&amp;amp;ui.object=CAMID(%22Local%20NT%20ID%3au%3dS-1-5-21-1004336348-688789844-682003330-1118%22)%2ffolder%5b%40name%3d%27My%20Folders%27%5d%2freport%5b%40name%3d%27tabbed-inventory%27%5d&amp;amp;ui.name=tabbed-inventory&amp;amp;run.outputFormat=&amp;amp;run.prompt=true&amp;amp;cv.header=false&quot;; break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;    default:document.getElementById(&quot;content&quot;).src = &quot;http://localhost:80/cognos8/cgi-bin/cognosisapi.dll?b_action=cognosViewer&amp;amp;ui.action=run&amp;amp;ui=h1h2h3h4&amp;amp;ui.object=CAMID(%22Local%20NT%20ID%3au%3dS-1-5-21-1004336348-688789844-682003330-1118%22)%2ffolder%5b%40name%3d%27My%20Folders%27%5d%2freport%5b%40name%3d%27tabbed-revenue%27%5d&amp;amp;ui.name=tabbed-revenue&amp;amp;run.outputFormat=&amp;amp;run.prompt=true&amp;amp;cv.header=false&quot;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And finally, let&#39;s add the HTML elements:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;div id=&quot;demo-container&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;ul id=&quot;simple-menu&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;li&gt;&amp;lt;a href=&quot;javascript:putContent(1);void(0);&quot; title=&quot;Revenue&quot; id=&quot;link1&quot; class=&quot;on&quot;&gt;Revenue&amp;lt;/a&gt;&amp;lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;li&gt;&amp;lt;a href=&quot;javascript:putContent(2);void(0);&quot; title=&quot;Margin&quot; id=&quot;link2&quot; class=&quot;off&quot;&gt;Margin&amp;lt;/a&gt;&amp;lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;li&gt;&amp;lt;a href=&quot;javascript:putContent(3);void(0);&quot; title=&quot;Inventory&quot; id=&quot;link3&quot; class=&quot;off&quot;&gt;Inventory&amp;lt;/a&gt;&amp;lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this example, the tabbed report interface contains three tabs (Revenue, Margin and Inventory), but you could add as few or as many as you want (room permitting). Each tab element is actually an HTML un-ordered list item (referenced as &amp;amp;ltli&gt;) which the CSS alters to make look like the tabbed menu interface. The &amp;lt;a href&gt; tag within the list element contains some Javascript (ie javascript:putContent(1);void(0);&quot;) which calls a function in the Javascript code. The function &#39;putContent()&#39; serves 2 purposes: First, it targets the iframe with a new source object, the URL (report path) of your report; and second, it changes the display of the tabs to show the most recent clicked tab &lt;span style=&quot;font-style: italic;&quot;&gt;(and sets the other tabs to their off-click states)&lt;/span&gt;. The report paths are specified in the switch method (&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;case 2: document.getElementById(&quot;content&quot;).src = &quot;&quot;&lt;/span&gt;&lt;/span&gt;) and should be changed to match the report path of your own reports. Remember to add the &#39;&amp;amp;cv.header=false&#39; parameter. The final report tab interface should look something like this.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinu6zJceEeT9WVNxA_oJRDoD4YcebPMX5cujZ_hWOyscANP9WZm6ftOGMGJkh53Dt0aJKbHigdORQYqAeShTemeVnRUeOz0GHKGXBxSdEdk2zGIHAH50iCVG4zv96aux1gK2TIqke_WWs7/s1600-h/Picture+9.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 136px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinu6zJceEeT9WVNxA_oJRDoD4YcebPMX5cujZ_hWOyscANP9WZm6ftOGMGJkh53Dt0aJKbHigdORQYqAeShTemeVnRUeOz0GHKGXBxSdEdk2zGIHAH50iCVG4zv96aux1gK2TIqke_WWs7/s200/Picture+9.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5345052353747572322&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/8346972256570039283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/8346972256570039283?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8346972256570039283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8346972256570039283'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/06/tabbed-interface-for-your-reports.html' title='A Tabbed Interface for Your Reports'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXohEc363AYXucGymGgo_XF3NV6MONx5NFBykNkBN0EOXzFydButCU0aEEA2xMI_BXYSAR1IOawDJBlkT2s_VN9BjfHMbiJkTUAn8CM-RpnkEu93BosFrRA4Unm4qOkKuEwBsFO7vEVyx1/s72-c/Picture+10.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-8846587598291752939</id><published>2009-06-05T03:02:00.000-04:00</published><updated>2009-06-05T03:02:00.308-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.4"/><category scheme="http://www.blogger.com/atom/ns#" term="customize ui"/><title type='text'>Tip: Setting the default skin</title><content type='html'>Quick tip - I&#39;ve defined a new skin for IBM Cognos 8.4 and want to set it as the default for all new users:&lt;br /&gt;&lt;br /&gt;Browse to Cognos Administration &gt;Security&gt;Users, Groups and Roles, and click into the &quot;Cognos&quot; directory. Now set this in the &quot;Edit Default User&quot; settings &lt;span style=&quot;font-style: italic;&quot;&gt;(the icon is in the upper right corner)&lt;/span&gt;.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/8846587598291752939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/8846587598291752939?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8846587598291752939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8846587598291752939'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/06/tip-setting-default-skin.html' title='Tip: Setting the default skin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-4968570163596979684</id><published>2009-06-04T00:26:00.000-04:00</published><updated>2009-06-04T00:26:00.379-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bursting"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.4"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Viewing burst versions - not just for your admin</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMhVtTge2qeLAdWW8g6ClNg1_cU47_LaIVZa6H88pX5inXO_3J4rb-o1S9QMgCtLYKN8FUm4lZUDZ2tUJSgweL8cRsKfnRjcrH8bFN49eaCBx-7ci5omtlrumedfSvUx_UJ69OJJKeN5Dt/s1600-h/Picture+6.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 173px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMhVtTge2qeLAdWW8g6ClNg1_cU47_LaIVZa6H88pX5inXO_3J4rb-o1S9QMgCtLYKN8FUm4lZUDZ2tUJSgweL8cRsKfnRjcrH8bFN49eaCBx-7ci5omtlrumedfSvUx_UJ69OJJKeN5Dt/s200/Picture+6.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5343296823756638034&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Something that I&#39;ve recently discovered in Cognos 8.4 &lt;span style=&quot;font-style: italic;&quot;&gt;(which was probably there all along)&lt;/span&gt;: the &quot;owner&quot; of a given report can also see all the burst versions, even if they aren&#39;t set as the administrator.&lt;br /&gt;&lt;br /&gt;So what about the recipient? Bursting, keys and the accessibility of the bursts in Cognos has always been a bit of a grey area for me. So, who gets to see what? In a graphical format, the burst output is accessible as:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Burst Key     Recipient&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Key1                Recipient A&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;                        Super Reader&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Key2                Recipient B&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;                        Super Reader&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;Key3                Recipient C&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;                        Super Reader&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If I log in as &quot;Recipient A&quot; then I will have access to output for Key1. If I log in as an account with membership to &quot;Super Reader&quot; then I will have access to Key1, Key2, and Key3.&lt;br /&gt;&lt;br /&gt;Obviously a user with administrator rights would have sufficient access to view all keys for any given burst.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/4968570163596979684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/4968570163596979684?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4968570163596979684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4968570163596979684'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/06/viewing-burst-versions-not-just-for.html' title='Viewing burst versions - not just for your admin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMhVtTge2qeLAdWW8g6ClNg1_cU47_LaIVZa6H88pX5inXO_3J4rb-o1S9QMgCtLYKN8FUm4lZUDZ2tUJSgweL8cRsKfnRjcrH8bFN49eaCBx-7ci5omtlrumedfSvUx_UJ69OJJKeN5Dt/s72-c/Picture+6.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-9140249693733874699</id><published>2009-04-07T09:50:00.000-04:00</published><updated>2009-04-07T10:15:16.114-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Go Dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="installation"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="tomcat"/><title type='text'>Go! Dashboard Install Fun</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrcjcxhaa3QN90fXjPhnOmruCyxPE47D0GUbitqEiKkvyg4EcG8TMbJ8nohVpt0Nsu56LVAYDGIFG3Dpw3ITX9ZSYNK3MsFCmM9dh4G1p8advK45IoCAspMBZggxIb1DFhTcrWrDBacDXd/s1600-h/ExecutiveDashboard01.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 143px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrcjcxhaa3QN90fXjPhnOmruCyxPE47D0GUbitqEiKkvyg4EcG8TMbJ8nohVpt0Nsu56LVAYDGIFG3Dpw3ITX9ZSYNK3MsFCmM9dh4G1p8advK45IoCAspMBZggxIb1DFhTcrWrDBacDXd/s200/ExecutiveDashboard01.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5321952338113375010&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;In a surprise twist I was successful at installing IBM Cognos Go! Dashboard. Why the surprise? Go! Dashboard is not one of the easiest installs from Cognos. Initially, here were the steps I followed:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Install Cognos Go! Dashboard&lt;/li&gt;&lt;li&gt;Change the portnumber from 8080 to 8085 in the system.xml&lt;/li&gt;&lt;li&gt;Generated the WAR file &lt;/li&gt;&lt;li&gt;Deployed it to the Tomcat server&lt;/li&gt;&lt;li&gt;Changed the Gateway URI in Content Administration&lt;/li&gt;&lt;li&gt;Generate a service &lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;And Go! Dashboard replied: &quot;The IBM Cognos 8 Go! Dashboard service terminated with service-specific error 0 (0x0).&quot;&lt;br /&gt;&lt;br /&gt;With some persistent investigation I found the following workaround:&lt;br /&gt;&lt;br /&gt;First, I added the JAVA_HOME environment variable in the ..\cognos\c8\dashboard\bin\services.bat:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;set JAVA_HOME=C:/Program Files/cognos/c8/bin/jre/1.5.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next, instead of generating the service, start the startup.bat file in the C:\Program Files\cognos\c8\dashboard\bin directory (default file location). After this the Tomcat server windows are spawned and Go! Dashboard actually seems to work (and everyone is happy).</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/9140249693733874699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/9140249693733874699?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/9140249693733874699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/9140249693733874699'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/04/go-dashboard-install-fun.html' title='Go! Dashboard Install Fun'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrcjcxhaa3QN90fXjPhnOmruCyxPE47D0GUbitqEiKkvyg4EcG8TMbJ8nohVpt0Nsu56LVAYDGIFG3Dpw3ITX9ZSYNK3MsFCmM9dh4G1p8advK45IoCAspMBZggxIb1DFhTcrWrDBacDXd/s72-c/ExecutiveDashboard01.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-4186674447532114999</id><published>2009-04-01T10:02:00.000-04:00</published><updated>2009-04-01T10:16:01.268-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="calculated members"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="functions"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Calculated Members</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIrsul7M57OCgeVr-B5wEbaIIwp8H7vMuyIJynaNf0-y0UPX7NpbMCo6L7SfSYpx-xmnxgiLsePh1EwrLn5J9U7YrsAXlh8UMNzz3QwCo3HPc6KYPWzvO_hrwg6GAbthlvFLJiqA-UDlYq/s1600-h/Picture+4.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 215px; height: 283px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIrsul7M57OCgeVr-B5wEbaIIwp8H7vMuyIJynaNf0-y0UPX7NpbMCo6L7SfSYpx-xmnxgiLsePh1EwrLn5J9U7YrsAXlh8UMNzz3QwCo3HPc6KYPWzvO_hrwg6GAbthlvFLJiqA-UDlYq/s320/Picture+4.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5319726432042889602&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;The member function is used to create a new member in a specified hierarchy. The initial argument of the member function is the expression used to create the member. The next two arguments are the business key and caption values for the new member. The final argument is the hierarchy in which your new member will reside.&lt;br /&gt;&lt;br /&gt;A calculated member can serve almost any purpose. One example of using many calculated members is to create a Variance calculation. If you wish to calculate a variance for many different measures you wouldn&#39;t use the measures themselves. Instead, you would create a calculated member in another dimension that would form the basis of your variance calculation. Say you wanted to compare the current period values to the prior period values. This would use an expression something like:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;font-size:85%;&quot; &gt;([Current Period] - [Prior Period])/[Prior Period]&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You could define this as a new member of your time hierarchy using the member function as:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;font-size:85%;&quot; &gt;member(([Current Period] - [Prior Period])/[Prior Period], &#39;CurPriorVar&#39;, &#39;Variance to Prior Period&#39;, [Cube].[Time Dimension].[Time Hierarchy])&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/4186674447532114999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/4186674447532114999?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4186674447532114999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4186674447532114999'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/04/calculated-members.html' title='Calculated Members'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIrsul7M57OCgeVr-B5wEbaIIwp8H7vMuyIJynaNf0-y0UPX7NpbMCo6L7SfSYpx-xmnxgiLsePh1EwrLn5J9U7YrsAXlh8UMNzz3QwCo3HPc6KYPWzvO_hrwg6GAbthlvFLJiqA-UDlYq/s72-c/Picture+4.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-1162701102227457981</id><published>2009-03-24T11:45:00.000-04:00</published><updated>2009-03-24T12:03:53.375-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos Viewer"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="iPhone"/><category scheme="http://www.blogger.com/atom/ns#" term="MicroStrategy"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><title type='text'>Cognos on the iPhone?</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPPtn5Po-CJ9JCH0OEqSAWZHnOZx8LFMgA5TOOJk1bA0DiX3O-6AgEbBOf51WbEwdgaRm6JW9L0sCrZQ-a_ANQGD71KnRP6QF9H1pIVqbt_DtpyQNmz7MYuzHCyvVzw7LtS6QkJYKyaRJo/s1600-h/iphone-cognos.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 176px; height: 320px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPPtn5Po-CJ9JCH0OEqSAWZHnOZx8LFMgA5TOOJk1bA0DiX3O-6AgEbBOf51WbEwdgaRm6JW9L0sCrZQ-a_ANQGD71KnRP6QF9H1pIVqbt_DtpyQNmz7MYuzHCyvVzw7LtS6QkJYKyaRJo/s320/iphone-cognos.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5316782156877344450&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Built a couple of the report samples out to an iPhone emulator yesterday. Even out-of-box the viewer looks pretty decent. The Cognos Viewer navigation buttons are manageable but would be obviously better if specifically designed for the iPhone.&lt;br /&gt;&lt;br /&gt;Oracle and MicroStrategy BI both have offerings now for the iPhone so I&#39;m sure we can expect it is only a matter of time until IBM Cognos picks this up.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;(Click the image to see it larger)&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/1162701102227457981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/1162701102227457981?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1162701102227457981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1162701102227457981'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/03/cognos-on-iphone.html' title='Cognos on the iPhone?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPPtn5Po-CJ9JCH0OEqSAWZHnOZx8LFMgA5TOOJk1bA0DiX3O-6AgEbBOf51WbEwdgaRm6JW9L0sCrZQ-a_ANQGD71KnRP6QF9H1pIVqbt_DtpyQNmz7MYuzHCyvVzw7LtS6QkJYKyaRJo/s72-c/iphone-cognos.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-9020127988157507123</id><published>2009-03-19T23:23:00.000-04:00</published><updated>2009-03-19T23:57:02.815-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Drop down lists: Customize label</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nyTHqzICoqekGDPxRkqDLba4rnJxMQqCwS7JEG0exgUe1Tao2VXtSmESnT0rebpyEWbcPtzzz-dLinaf0e3jA94BsTiGD2o8-Ls5CORxDK6Q35XLZx8cg2k2hyphenhyphenu3p6D84V9HEfWAnQTH/s1600-h/Picture+2.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 199px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nyTHqzICoqekGDPxRkqDLba4rnJxMQqCwS7JEG0exgUe1Tao2VXtSmESnT0rebpyEWbcPtzzz-dLinaf0e3jA94BsTiGD2o8-Ls5CORxDK6Q35XLZx8cg2k2hyphenhyphenu3p6D84V9HEfWAnQTH/s200/Picture+2.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5315111475170123858&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;After creating a simple list in Report Studio you may want to create a drop down parametrized filter for it. First thing you&#39;ll notice when run the report is that the default selected text on the drop down is always set to the first field name of the list. I had requests to make this a little more representative, to something like &#39;Select field...&#39; or &#39;Choose something...&#39; which would give the user an indication that there were more choices available in the drop down.&lt;br /&gt;&lt;br /&gt;To solve this issue, I found 2 techniques:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;First&lt;/span&gt;  is to create a static choice with the right correct display value for this prompt and set the default value to this static choice&#39;s value. Obviously this won&#39;t prevent the user from seeing the first line when he opens the drop down list.&lt;br /&gt;&lt;br /&gt;The &lt;span style=&quot;font-weight: bold;&quot;&gt;second&lt;/span&gt; technique would harness the following Javascript code. Drag a new html item into the report and include the following:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;&amp;lt;script language=&quot;javascript&quot;&gt;&lt;br /&gt;   &lt;br /&gt;    var x = document.getElementsByTagName(&#39;select&#39;);&lt;br /&gt;&lt;br /&gt;    var RN_SelectClass = &quot;clsSelectControl pv&quot;;&lt;br /&gt;   &lt;br /&gt;    var is_Required;&lt;br /&gt;&lt;br /&gt;    for (var i=0;i&lt;x.length;i++)&gt; 1) {&lt;br /&gt;    switch (x[i].options[0].text) {&lt;br /&gt;    case &#39;parameter1&#39;: x[i].options[0].text = &#39;NewLabel1&#39;; break;&lt;br /&gt;    case &#39;parameter2&#39;: x[i].options[0].text = &#39;NewLabel2&#39;; break;&lt;br /&gt;    default: x[i].options[0].text;&lt;br /&gt;    }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&amp;lt;/script&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next, change the parameter and NewLabel in the above syntax to suit your required label name conventions.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/9020127988157507123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/9020127988157507123?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/9020127988157507123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/9020127988157507123'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/03/drop-down-lists-customize-label.html' title='Drop down lists: Customize label'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nyTHqzICoqekGDPxRkqDLba4rnJxMQqCwS7JEG0exgUe1Tao2VXtSmESnT0rebpyEWbcPtzzz-dLinaf0e3jA94BsTiGD2o8-Ls5CORxDK6Q35XLZx8cg2k2hyphenhyphenu3p6D84V9HEfWAnQTH/s72-c/Picture+2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-5798532834479688279</id><published>2009-03-18T11:29:00.000-04:00</published><updated>2009-03-18T11:42:43.234-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><category scheme="http://www.blogger.com/atom/ns#" term="Sun"/><title type='text'>IBM is looking at Sun</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNOYrVvNvfhNb0aKeo2mlIhaTCs7g3BvPeul7o_F2wkE0zy6XEccBpeGaBtZcWDwAA0eVsv8V8mgKe_tcwz1Q9h_6Kwx87hf2q9-lPZ5LoOGWPk42QbadPk4dr07eHeRaFLqRfFdBToBbS/s1600-h/sun_euv19.gif&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNOYrVvNvfhNb0aKeo2mlIhaTCs7g3BvPeul7o_F2wkE0zy6XEccBpeGaBtZcWDwAA0eVsv8V8mgKe_tcwz1Q9h_6Kwx87hf2q9-lPZ5LoOGWPk42QbadPk4dr07eHeRaFLqRfFdBToBbS/s200/sun_euv19.gif&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5314553664506572450&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;There is breaking news that IBM is in talks to buy Sun Microsystems according to a report in The Wall Street Journal. This could be good news for the open source community especially with projects like Open Solaris. Also - IBM is heavily into Java and development of products using Java so I can see a real benefit in this area for them. Not sure what this does to Sun&#39;s recent cloud announcement...&lt;br /&gt;&lt;br /&gt;Is $6 billion too much?</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/5798532834479688279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/5798532834479688279?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/5798532834479688279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/5798532834479688279'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/03/ibm-is-looking-at-sun.html' title='IBM is looking at Sun'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNOYrVvNvfhNb0aKeo2mlIhaTCs7g3BvPeul7o_F2wkE0zy6XEccBpeGaBtZcWDwAA0eVsv8V8mgKe_tcwz1Q9h_6Kwx87hf2q9-lPZ5LoOGWPk42QbadPk4dr07eHeRaFLqRfFdBToBbS/s72-c/sun_euv19.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-1559046877924026018</id><published>2009-03-02T15:45:00.000-05:00</published><updated>2009-03-18T16:04:16.749-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="bursting"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="PDF"/><title type='text'>Need PDF with Digital Signature?</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia8V4Bk5Cx1J7U3QJHXEzpe89RnHIqQAdKV6hk0mpL7KZSd16kHk36j1jIP8b5iVPELpE__ypwQE5IFpU0hG9Ei19gHG6WMt6FeHCEjcyvbXF3DfujFmdVttVu6fdsSrbxPt2wBAVyGwfR/s1600-h/pdf.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 200px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia8V4Bk5Cx1J7U3QJHXEzpe89RnHIqQAdKV6hk0mpL7KZSd16kHk36j1jIP8b5iVPELpE__ypwQE5IFpU0hG9Ei19gHG6WMt6FeHCEjcyvbXF3DfujFmdVttVu6fdsSrbxPt2wBAVyGwfR/s200/pdf.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5314620720933691810&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;I was surprised to learn that there is no internal functionality to digitally sign a PDF file rendered by Cognos. I would expect that this would be a necessity for most Banks or financial institutions. After a quick bit of research (and some Google searches) I came up with one out-of-the-box method which might facilitate. The method in theory goes like:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 1:&lt;/span&gt; have the burst report run and save the output to filesystem in PDF format. &lt;span style=&quot;font-weight: bold;&quot;&gt;Step 2:&lt;/span&gt; use a 3rd party software to process (digitally sign) the output file.&lt;br /&gt;&lt;br /&gt;For step 2 I found something called &quot;iText&quot; (&lt;a href=&quot;http://www.lowagie.com/iText/&quot;&gt;http://www.lowagie.com/iText/&lt;/a&gt;) which uses a Java JDK to post-process and add the digital signature to a PDF file.&lt;br /&gt;&lt;br /&gt;I plan on investigating this method further but I&#39;m interested in feedback or additional insight.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/1559046877924026018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/1559046877924026018?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1559046877924026018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1559046877924026018'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/03/need-pdf-with-digital-signature.html' title='Need PDF with Digital Signature?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia8V4Bk5Cx1J7U3QJHXEzpe89RnHIqQAdKV6hk0mpL7KZSd16kHk36j1jIP8b5iVPELpE__ypwQE5IFpU0hG9Ei19gHG6WMt6FeHCEjcyvbXF3DfujFmdVttVu6fdsSrbxPt2wBAVyGwfR/s72-c/pdf.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-2368411195784858234</id><published>2009-02-26T14:11:00.000-05:00</published><updated>2009-03-18T14:20:05.326-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="link"/><category scheme="http://www.blogger.com/atom/ns#" term="relative date"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Using Relative Dates In Business Reporting</title><content type='html'>Here&#39;s an interesting example / tutorial / technique for using relative dates in Cognos Report Studio as well as the scheduling of such reports. In this example the report administrator would setup a report that would display activity for the past week that would run every Monday morning: &lt;a href=&quot;http://www.facetworld.com/tips/Tips_Vol2_Art1.htm&quot;&gt;Relative Dates In Business Reporting&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Examples of relative dates that many organizations might use are activity in the last 7 days, Month to date (MTD), Year to Date (YTD) to name a few.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/2368411195784858234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/2368411195784858234?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/2368411195784858234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/2368411195784858234'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/02/using-relative-dates-in-business.html' title='Using Relative Dates In Business Reporting'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-3751278628018816142</id><published>2009-02-11T15:28:00.000-05:00</published><updated>2009-03-18T16:37:25.587-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="customize ui"/><category scheme="http://www.blogger.com/atom/ns#" term="prompts"/><title type='text'>Prompt date formats</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzQl_pkTEMM94KtvjfKsX4CjpxOfx3IFPTL3IOvdRd33QftybqjACAqsqh7_RRl2Ta4IiLnLq7w5UuM4uKKTMpbp1-A-kcxy_PocqaN8M-PYg9Kh95r1UYpC-4X_cWbqpWNMyAYmwtzVH8/s1600-h/conran_clock.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 154px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzQl_pkTEMM94KtvjfKsX4CjpxOfx3IFPTL3IOvdRd33QftybqjACAqsqh7_RRl2Ta4IiLnLq7w5UuM4uKKTMpbp1-A-kcxy_PocqaN8M-PYg9Kh95r1UYpC-4X_cWbqpWNMyAYmwtzVH8/s200/conran_clock.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5314615657794105042&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;In Cognos, date formats used in prompts are controlled by the locale settings. Although the locales each have their own format for dates you can change the format of the prompt date for your desired locale.&lt;br /&gt;&lt;br /&gt;In the directory &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;...\cognos\c8\webcontent\prompting\res&lt;/span&gt;&lt;/span&gt; are two files called &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;promptLocale_&lt;locale&gt;.js&lt;/locale&gt;&lt;/span&gt;&lt;/span&gt; and &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;promptLocale_&lt;locale&gt;.xml&lt;/locale&gt;&lt;/span&gt;&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;In these files you can see the date formats used for each locale.  For example, if you want to use the en-us locale within Cognos 8, and you prefer a different date format for the prompt you can easily edit the promptLocale_en-us.js and promptLocale_en-us.xml files to change the medium date format. Let&#39;s say that you prefer to use the date format of yyyy-MM-dd, you&#39;ll just need to do the following:&lt;br /&gt;&lt;br /&gt;In the &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;promptLocale_en-us.js&lt;/span&gt;&lt;/span&gt; file,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Change the value for &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;g_mediumFormat&lt;/span&gt;&lt;/span&gt; to this: &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;yyyy-MM-dd h:mm:ss a&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Change the value for &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;g_mediumFormatDateOrder&lt;/span&gt;&lt;/span&gt; to this: &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;YMD&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Change the value for &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;g_monthFormatMedium&lt;/span&gt;&lt;/span&gt; to this: &lt;span style=&quot;font-family: courier new;font-size:85%;&quot; &gt;MM&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Change the value for &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;g_dayFormatMedium&lt;/span&gt;&lt;/span&gt; to this: &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;dd&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;In the &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;promptLocale_en-us.xml&lt;/span&gt;&lt;/span&gt; file, change the following 4 properties to reflect the changes below:&lt;br /&gt;&lt;ul&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;property name=&quot;mediumFormat&quot;&gt;yyyy-MM-dd h:mm:ss a&lt;/property&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;property name=&quot;mediumFormatDateOrder&quot;&gt;YMD&lt;/property&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;property name=&quot;monthFormatMedium&quot;&gt;MM&lt;/property&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;font-family: courier new;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;property name=&quot;dayFormatMedium&quot;&gt;dd&lt;/property&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Always make sure you backup these files before any changes are made.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/3751278628018816142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/3751278628018816142?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/3751278628018816142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/3751278628018816142'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/02/prompt-date-formats.html' title='Prompt date formats'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzQl_pkTEMM94KtvjfKsX4CjpxOfx3IFPTL3IOvdRd33QftybqjACAqsqh7_RRl2Ta4IiLnLq7w5UuM4uKKTMpbp1-A-kcxy_PocqaN8M-PYg9Kh95r1UYpC-4X_cWbqpWNMyAYmwtzVH8/s72-c/conran_clock.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-1939717571757208486</id><published>2009-01-26T14:25:00.000-05:00</published><updated>2009-03-18T14:32:46.991-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.2"/><category scheme="http://www.blogger.com/atom/ns#" term="crosstabs"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Freeze rows and columns on Report Studio crosstab</title><content type='html'>I had a request recently by a business user who wanted to know if Cognos could freeze the header rows and columns of a crosstab (an Excel-like functionality). I found a fairly simple technique on how to accomplish this.&lt;br /&gt;&lt;p&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;        &lt;ol&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;1. Add two blocks on a blank report page.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;2. Add a table with one cell and one row in the top block (assuming the report contains only one column).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;3. Add a list on the lower block, and a data item from the model (order number).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;4. Select the page, and associate the Query to the page.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;5. Drag a text item in the cell of the table (in the top block).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;6. Select the text item, and in the properties under query items, select &lt;strong&gt;order number&lt;/strong&gt; (see step 3) and content as &lt;strong&gt;Label&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;7. Select the second block containing the list.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family:Verdana;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;8. Under &lt;strong&gt;Properties&lt;/strong&gt;, &lt;strong&gt;Positioning&lt;/strong&gt;, &lt;strong&gt;Size and Overflow&lt;/strong&gt;, set &lt;strong&gt;Height&lt;/strong&gt; &lt;strong&gt;= 12 cm&lt;/strong&gt; and select &lt;strong&gt;Use scroll bar when necessary&lt;/strong&gt;&lt;strong&gt;.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Verdana;font-size:85%;&quot;  &gt;9. Select the &lt;strong&gt;Order Number&lt;/strong&gt; column title in the list. Set its &lt;strong&gt;Box Type&lt;/strong&gt; properties to &lt;strong&gt;None&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/1939717571757208486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/1939717571757208486?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1939717571757208486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1939717571757208486'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/01/freeze-rows-and-columns-on-report.html' title='Freeze rows and columns on Report Studio crosstab'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-8826463793259766514</id><published>2009-01-23T12:43:00.000-05:00</published><updated>2009-03-18T14:07:37.184-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="prompts"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Set default &quot;from date&quot; in a date range prompt</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF_ptAeO5gW0hNwxA5o-Uk5ysbAjtdlg_GvKLayVPOfacJUXlSrObrDdpx3hINUMIglNPKxzIA65RjfkeAQJ2zS0zTOVEtt8wZMvQx5r1Y2mOV5lCAQLeSAQGTk9atg2wZHm1GqlUVsIh6/s1600-h/select_prompt_ui.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 272px; height: 177px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF_ptAeO5gW0hNwxA5o-Uk5ysbAjtdlg_GvKLayVPOfacJUXlSrObrDdpx3hINUMIglNPKxzIA65RjfkeAQJ2zS0zTOVEtt8wZMvQx5r1Y2mOV5lCAQLeSAQGTk9atg2wZHm1GqlUVsIh6/s320/select_prompt_ui.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5314590953076377810&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;I discovered recently that you can&#39;t set the &quot;default&quot; of any Cognos prompts to a dynamic (non-static) value.&lt;br /&gt;&lt;br /&gt;Let me explain: In my example, within Report Studio, I needed to change a date range prompt. I needed the &quot;from date&quot; to default to the beginning of the current year (i.e. Jan. 1, 2009), and the &quot;to date&quot; to default to the current date (today&#39;s date).&lt;br /&gt;&lt;br /&gt;The best (non-Javascript) method of handling this as I discovered, is to create a radio-button prompt with the static choices of &quot;From Start of Year&quot; and &quot;Select From Date&quot;.  Next, I set these to values of 1 and 0 respectively.  Finally, in the filter, I used the following logic:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;(?DateType?=1 AND [MyDate] &gt; _make_timestamp(extract(&#39;year&#39;,currentdate),01,01))&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;(?DateType?=0 AND [MyDate] &gt; ?FromDate?)&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/8826463793259766514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/8826463793259766514?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8826463793259766514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/8826463793259766514'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/01/set-default-from-date-in-date-range.html' title='Set default &quot;from date&quot; in a date range prompt'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF_ptAeO5gW0hNwxA5o-Uk5ysbAjtdlg_GvKLayVPOfacJUXlSrObrDdpx3hINUMIglNPKxzIA65RjfkeAQJ2zS0zTOVEtt8wZMvQx5r1Y2mOV5lCAQLeSAQGTk9atg2wZHm1GqlUVsIh6/s72-c/select_prompt_ui.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-1125021586306460397</id><published>2009-01-14T10:15:00.000-05:00</published><updated>2009-01-14T10:30:31.400-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="article"/><category scheme="http://www.blogger.com/atom/ns#" term="Business Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="Performance Management"/><title type='text'>Recommended reading: The Challenge of Good Performance Management</title><content type='html'>A short article on Enterprise Systems magazine features a Q&amp;amp;A with the IBM &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_0&quot;&gt;Cognos&lt;/span&gt; VP of Worldwide Research and Development, Peter Griffiths. The article includes a concise and simple description of Performance Management &lt;span style=&quot;font-style: italic;&quot;&gt;(bookmarking this for my own reference)&lt;/span&gt; and how the new &lt;span class=&quot;blsp-spelling-error&quot; id=&quot;SPELLING_ERROR_1&quot;&gt;Cognos&lt;/span&gt; now under IBM management will continue to be effective in this space.&lt;br /&gt;&lt;br /&gt;Read the complete article here: &lt;a href=&quot;http://esj.com/business_intelligence/article.aspx?EditorialsID=9278&quot;&gt;The Challenge of Good Performance Management&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/1125021586306460397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/1125021586306460397?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1125021586306460397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/1125021586306460397'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2009/01/recommended-reading-challenge-of-good.html' title='Recommended reading: The Challenge of Good Performance Management'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-3546993390226565879</id><published>2008-12-18T23:57:00.000-05:00</published><updated>2009-01-05T14:45:14.894-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Business Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.4"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos Now"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos TM1"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="review"/><title type='text'>IBM Cognos 8.4 - Released to the masses</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQUxKDKbBp_peYlvE5nwVIeGoMVEU78pIsFhBwPvlv2tRBt5SZR7ER-nqoMb2z3rL78ivd4etTxeGHpkA0IIdJw2nIU6l1q4C65FxjyQ0E_8XCLhL-rXicDvEYeuivCCnuO0n2VDHMUsL/s1600-h/Picture+3.png&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 123px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQUxKDKbBp_peYlvE5nwVIeGoMVEU78pIsFhBwPvlv2tRBt5SZR7ER-nqoMb2z3rL78ivd4etTxeGHpkA0IIdJw2nIU6l1q4C65FxjyQ0E_8XCLhL-rXicDvEYeuivCCnuO0n2VDHMUsL/s200/Picture+3.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5287897557266486402&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Just in time for Christmas, Cognos 8.4 was released for download on December 15th. Highlights include Flash-based dashboards, improved BI search, location-aware mobile delivery and new data lineage capabilities. A new viewpoint interface lets business users manage hierarchies and dimensions. A bus full of new features have been added:&lt;div&gt;&lt;div&gt;&lt;p style=&quot;margin: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;&quot;&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Increased visual appeal includes new background designs and colors. Users can add gradient colors and behind charts&lt;/li&gt;&lt;li&gt;New chart types: Merimekko, Stepline, Sparkline, Sparkbar, Spark Win/Loss&lt;/li&gt;&lt;li&gt;Report annotations: Users can add comments directly within the body of HTML-rendered reports&lt;/li&gt;&lt;li&gt;Enhanced suppression: Suppress all types of reports against relational, dimensionally-modeled relational, and OLAP sources. Also, users can also suppress rows, columns, or rows and columns based on &quot;zero&quot; values, &quot;divide by zero&quot; values, missing values, and overflow values&lt;/li&gt;&lt;li&gt;Extended filters now include wildcards, range, and between operations&lt;/li&gt;&lt;li&gt;Associated frames now drill together&lt;/li&gt;&lt;li&gt;Strategy Maps and Impact Diagrams now available as portlets that can be integrated into IBM Cognos Connection, IBM WebSphere, and MS Sharepoint portals&lt;/li&gt;&lt;li&gt;Data lineage: Users can access and view major transformations to data as it moves through the system&lt;/li&gt;&lt;li&gt;Expanded data access: Use data from IBM Cognos Now! and IBM Cognos TM1&lt;/li&gt;&lt;/ul&gt;The reviews are fairly positive (quote from intelligententerprise.com):&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span class=&quot;hpBlogAuthor&quot;&gt;&lt;blockquote&gt; &quot;I give Cognos a lot of credit for taking the time, a few years ago, to rewrite the entire platform, but with that effort they fell somewhat behind on bells and whistles,&quot; says Forrester Research analyst Boris Evelson. &quot;With 8.4, Cognos is filling out many of the pieces that competitors have provided over the years.&quot;&lt;/blockquote&gt;Read the complete review here: &lt;a href=&quot;http://www.intelligententerprise.com/channels/performance_management/showArticle.jhtml?articleID=210605333&quot;&gt;After Leading on Platform, Cognos Catches Up On Details&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;More information can be found on the Cognos site: &lt;a href=&quot;http://www.cognos.com/products/cognos8businessintelligence/reporting.html&quot;&gt;What&#39;s New in 8.4&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/3546993390226565879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/3546993390226565879?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/3546993390226565879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/3546993390226565879'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2008/12/cognos-84-released.html' title='IBM Cognos 8.4 - Released to the masses'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQUxKDKbBp_peYlvE5nwVIeGoMVEU78pIsFhBwPvlv2tRBt5SZR7ER-nqoMb2z3rL78ivd4etTxeGHpkA0IIdJw2nIU6l1q4C65FxjyQ0E_8XCLhL-rXicDvEYeuivCCnuO0n2VDHMUsL/s72-c/Picture+3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-7962277801614021544</id><published>2008-12-17T16:48:00.000-05:00</published><updated>2009-01-05T13:59:47.567-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="administration"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="customize ui"/><category scheme="http://www.blogger.com/atom/ns#" term="user interface"/><title type='text'>Your Corporate Brand on the C8 UI</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih3vj9DT6f2HnFulN-afc3CrK4Or7mZ7yQfbTA7GjGLF2H31YRDQ6bK_PzFSzcN7lxYwOX4DfFpQS05GdTlwg4TRV2AjwiVrufv8UTz6Awz23eHjzvxrDhgK3js8Va-_kUYxvNpZZQ9Mz7/s1600-h/Picture+2.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 260px; height: 172px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih3vj9DT6f2HnFulN-afc3CrK4Or7mZ7yQfbTA7GjGLF2H31YRDQ6bK_PzFSzcN7lxYwOX4DfFpQS05GdTlwg4TRV2AjwiVrufv8UTz6Awz23eHjzvxrDhgK3js8Va-_kUYxvNpZZQ9Mz7/s320/Picture+2.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5287880871412951058&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;Want to modify / customize your C8 headers (and add your company name and logo for example)? Look to make these changes directly in the system.xml (cognos\c8\templates\ps\portal\system.xml).&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Steps:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;1. Place an image in the folder &lt;install location=&quot;&quot;&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;\c8\webcontent\skins\my_style\branding&lt;/span&gt;&lt;/span&gt;, where &quot;my_style&quot; is one of the skins/styling that is being used for the portal.&lt;/install&gt;&lt;/li&gt;&lt;li&gt;2. Edit the &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;/c8/templates/ps/portal/system.xml&lt;/span&gt;&lt;/span&gt; file using Notepad or an XML editor.&lt;/li&gt;&lt;li&gt;3. Search for &lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;!-- Custom OEM headers --&gt;&lt;/span&gt; &lt;/span&gt;You will notice that this section is commented out.  Un-comment out this section and customize as needed.&lt;/li&gt;&lt;li&gt;4. Restart the Cognos 8 service for these changes to take effect.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;install location=&quot;&quot;&gt;&lt;install location=&quot;&quot;&gt;Ensure you make a backup of your original system.xml file. Refer to the &lt;/install&gt;&lt;/install&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;section: &quot;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;Part 8 Customization&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&quot; in the Cognos 8 Administration and Security Guide.&lt;/span&gt;&lt;br /&gt;&lt;install location=&quot;&quot;&gt;&lt;install location=&quot;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/install&gt;&lt;/install&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/7962277801614021544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/7962277801614021544?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/7962277801614021544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/7962277801614021544'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2008/12/customizing-c8-ui.html' title='Your Corporate Brand on the C8 UI'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih3vj9DT6f2HnFulN-afc3CrK4Or7mZ7yQfbTA7GjGLF2H31YRDQ6bK_PzFSzcN7lxYwOX4DfFpQS05GdTlwg4TRV2AjwiVrufv8UTz6Awz23eHjzvxrDhgK3js8Va-_kUYxvNpZZQ9Mz7/s72-c/Picture+2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-4573576572964943411</id><published>2008-12-08T16:14:00.000-05:00</published><updated>2009-01-02T17:02:04.573-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="book"/><category scheme="http://www.blogger.com/atom/ns#" term="Business Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="data warehouse"/><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="IBM"/><category scheme="http://www.blogger.com/atom/ns#" term="OLAP"/><category scheme="http://www.blogger.com/atom/ns#" term="reference"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Reference book: IBM Cognos 8 Business Intelligence</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://images.barnesandnoble.com/images/25490000/25497761.JPG&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 185px; height: 228px;&quot; src=&quot;http://images.barnesandnoble.com/images/25490000/25497761.JPG&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;From the editorial review:&lt;/span&gt; Develop, deploy, and maintain a complete BI solution across your enterprise. IBM Cognos 8 Business Intelligence: The Official Guide shows you how to take full advantage of the robust service-oriented architecture and simplified role-based user interfaces. Learn how to create, share, and analyze data-rich reports that lead to increased productivity and better business decisions. Featuring real-world insight and expert tips, this is a must-have guide for IBM Cognos 8 Business Intelligence users of all levels, from administrators to end users.&lt;br /&gt;&lt;br /&gt;Measure and monitor performance using dashboards and scorecards; Assign user roles and privileges; Provide complete and consistent access to a broad range of data sources via Cognos Connection; Use Cognos 8 Go! to extend BI to Office applications, mobile devices, and search engines; Enable business users to create reports with Query Studio; Develop new insights by exploring data in multiple dimensions and perspectives with Analysis Studio; Build Dimensional Reports with Report Studio; Use Event Studio to identify and deliver mission-critical information; Create, modify, organize, and publish a model from Cognos Framework Manager;&lt;br /&gt;Implement sound security measures; Take advantage of the management tools in Cognos Administration to ensure maximum reliability and availability.&lt;br /&gt;&lt;br /&gt;We&#39;ll review this book soon. You can purchase this book on &lt;a href=&quot;http://www.amazon.com/IBM-Cognos-Business-Intelligence-Official/dp/0071498524&quot;&gt;Amazon&lt;/a&gt; or as an &lt;a href=&quot;http://ebookstore.sony.com/ebook/dan-volitich/ibm-cognos-8-business-intelligence/_/R-400000000000000093113&quot;&gt;eBook&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Disclaimer: The author of this blog is not affiliated with the author or publisher of the above described book.</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/4573576572964943411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/4573576572964943411?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4573576572964943411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/4573576572964943411'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2008/12/reference-book-ibm-cognos-8-business.html' title='Reference book: IBM Cognos 8 Business Intelligence'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-5425010239482728572</id><published>2008-11-23T08:59:00.000-05:00</published><updated>2009-01-05T16:58:40.904-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.3"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><category scheme="http://www.blogger.com/atom/ns#" term="report writing"/><title type='text'>Javascript technique: Tag cloud</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2rxMOciKHgYPZWRjgd1V5-HLS5adBn-BwzfLJrxeTtPjVhlDujMyxSn39yByrx7sLjwcL9bektJh2feYihrLbdth05_zs7c-qQl4n5fv2OItZFpxqY-ykfdz6UetSX-Z9tq4wYxseSGVM/s1600-h/Picture+5.png&quot;&gt;&lt;img style=&quot;margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 178px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2rxMOciKHgYPZWRjgd1V5-HLS5adBn-BwzfLJrxeTtPjVhlDujMyxSn39yByrx7sLjwcL9bektJh2feYihrLbdth05_zs7c-qQl4n5fv2OItZFpxqY-ykfdz6UetSX-Z9tq4wYxseSGVM/s320/Picture+5.png&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5287922459783978722&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;I was recently asked to build a quick view dashboard for the Sales team which contained a web 2.0 style tag cloud. What&#39;s a tag cloud? A tag cloud or word cloud &lt;span style=&quot;font-style: italic;&quot;&gt;(or weighted list in visual design)&lt;/span&gt; are usually single words and are typically listed alphabetically, and the importance of a tag is shown with font size or color.&lt;br /&gt;&lt;br /&gt;Since Cognos 8 doesn&#39;t include such a widget, I utilized my peer network and was given this example which utilizes javascript.  Here are the steps I followed to put it together &lt;span style=&quot;font-style: italic;&quot;&gt;(I&#39;ll use the standard demo data in Cognos called Go Sales)&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;Open a new Report Studio List report with the GO Sales package and populate it with [Staff Name] and [Revenue]. Next add [Order year] to the Query. Click the Filters button on the toolbar and create new filter:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;[gosales_goretailers].[Orders].[Order year] = ?date?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set it to Required. Drag a [Value Prompt] from the Toolbox &lt;span style=&quot;font-style: italic;&quot;&gt;(Insertable Objects)&lt;/span&gt; to left of your list so it appears on top. Set it to use the existing parameter ‘date’ and click Finish. In the properties for this prompt, set the Query to [Query1]. Set the Use Value to [Order year] and the Display Value to [Order year]. Create new Static Choices for this prompt. The new variable should be a string &lt;span style=&quot;font-style: italic;&quot;&gt;(call it anything)&lt;/span&gt; and add the use/display values 2003, 2004, 2005 and 2006 as below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbybEzrrNwqLVsj_y-wg1lLGlHNInQSOdTaQFm5MIta68khvSO4VCL5zOencmxp0883HOzXgqUI-7jR3-KPrF2BVo0rqFbelh-TSyfqx3RtbZNZNYK-F-m7Y3DRzlm6Tiz_u_LTfcesdqo/s1600-h/tagcloud1.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 214px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbybEzrrNwqLVsj_y-wg1lLGlHNInQSOdTaQFm5MIta68khvSO4VCL5zOencmxp0883HOzXgqUI-7jR3-KPrF2BVo0rqFbelh-TSyfqx3RtbZNZNYK-F-m7Y3DRzlm6Tiz_u_LTfcesdqo/s400/tagcloud1.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5287923953123557058&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next set the Properties to [Order year]. Set the Auto-Submit and Hide Adornments for this prompt to ‘Yes’. Finally, set the Default Selections to 2004 and change the width in the Size &amp;amp; Overflow to 75px.&lt;br /&gt;&lt;br /&gt;From the Insertable Objects Toolbox drag an [HTML Item] to the right of the newly created Value Prompt. Add another [HTML Item] to the right of the List. Your page should look like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxpKnxP9i3PGyUZCThoaO0a7xqG1n6UCh4-_98hI-q-2rsqD0J5pqVJw7uJLeh-ov8tt81JTrwuGZY8iItyvGAP5HDhd_earUNSzcPMJVh01ky4NC3UJql3Lv5qIU5It09d9X2Npt9UyFX/s1600-h/tagcloud2.jpg&quot;&gt;&lt;img style=&quot;margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 263px; height: 124px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxpKnxP9i3PGyUZCThoaO0a7xqG1n6UCh4-_98hI-q-2rsqD0J5pqVJw7uJLeh-ov8tt81JTrwuGZY8iItyvGAP5HDhd_earUNSzcPMJVh01ky4NC3UJql3Lv5qIU5It09d9X2Npt9UyFX/s400/tagcloud2.jpg&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5287924460092097058&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open the top [HTML Item] and add the following:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: rgb(0, 0, 0);font-family:verdana;font-size:85%;&quot;  &gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;div id=&quot;cloud&quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&quot;dg&quot; style=&quot;display:none&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0);font-family:verdana;font-size:85%;&quot;  &gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Click OK. Open the second [HTML Item] (the one below the list) and add the following:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Click OK. Delete the contents of the page footer and add a new [HTML Item]. Open it and add the following modified open source code:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&amp;lt;textarea readonly=&quot;&quot; cols=&quot;40&quot; rows=&quot;20&quot; id=&quot;cloudhtml&quot; style=&quot;display:none;&quot;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;// ====================================&lt;br /&gt;// params that might need changin.&lt;br /&gt;// DON&#39;T forget to include a drill url in the href section below (see ###) if you want this report to be drillable&lt;br /&gt;var delimit = &quot;|&quot;;&lt;br /&gt;var subdelimit = &quot;[]&quot;; // change this as needed (ex: Smith, Michael[]$500,000.00|)&lt;br /&gt;var labelColumnNumber = 0; // first column is 0&lt;br /&gt;var valueColumnNumber = 1;&lt;br /&gt;var columnCount = 2; // how many columns are there in the list?&lt;br /&gt;// ====================================&lt;br /&gt;&lt;br /&gt;function formatCurrency(num) {&lt;br /&gt; num = num.toString().replace(/\$|\,/g,&#39;&#39;);&lt;br /&gt; if(isNaN(num))&lt;br /&gt; num = &quot;0&quot;;&lt;br /&gt; sign = (num == (num = Math.abs(num)));&lt;br /&gt; num = Math.floor(num*100+0.50000000001);&lt;br /&gt; cents = num%100;&lt;br /&gt; num = Math.floor(num/100).toString();&lt;br /&gt; if(cents&amp;lt;10)&lt;br /&gt; cents = &quot;0&quot; + cents;&lt;br /&gt; for (var i = 0; i &amp;lt; Math.floor((num.length-(1+i))/3); i++)&lt;br /&gt; num = num.substring(0,num.length-(4*i+3))+&#39;,&#39;+ num.substring(num.length-(4*i+3));&lt;br /&gt; return (((sign)?&#39;&#39;:&#39;-&#39;) + &#39;$&#39; + num + &#39;.&#39; + cents);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function filterNum(str) {&lt;br /&gt;       re = /\$|,|@|#|~|`|\%|\*|\^|\&amp;amp;|\(|\)|\+|\=|\[|\-|\_|\]|\[|\}|\{|\;|\:|\&#39;|\&quot;|\&amp;lt;|\&amp;gt;|\?|\||\\|\!|\$|/g;&lt;br /&gt;       // remove special characters like &quot;$&quot; and &quot;,&quot; etc...&lt;br /&gt;       return str.replace(re, &quot;&quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;tags = document.getElementById(&quot;dg&quot;).getElementsByTagName(&quot;SPAN&quot;);&lt;br /&gt;txt = &quot;&quot;;&lt;br /&gt;for (var i=columnCount; i&amp;lt;tags.length; i++) {&lt;br /&gt; valu = filterNum(tags[i+valueColumnNumber].innerHTML);&lt;br /&gt; txt += valu;&lt;br /&gt; txt += subdelimit+tags[i+labelColumnNumber].innerHTML+delimit;&lt;br /&gt; i = i+columnCount;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function getFontSize(min,max,val) {&lt;br /&gt; return Math.round((150.0*(1.0+(1.5*val-max/2)/max)));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function generateCloud(txt) {&lt;br /&gt;//var txt = &quot;48.1,Google|28.1,Yahoo!|10.5,Live/MSN|4.9,Ask|5,AOL&quot;;&lt;br /&gt;var logarithmic = false;&lt;br /&gt;var lines = txt.split(delimit);&lt;br /&gt;var min = 10000000000;&lt;br /&gt;var max = 0;&lt;br /&gt;for(var i=0;i&amp;lt;lines.length;i++) {&lt;br /&gt;var line = lines[i];&lt;br /&gt;var data = line.split(subdelimit);&lt;br /&gt;if(data.length != 2) {&lt;br /&gt;lines.splice(i,1);&lt;br /&gt;continue;&lt;br /&gt;}&lt;br /&gt;data[0] = parseFloat(data[0]);&lt;br /&gt;lines[i] = data;&lt;br /&gt;if(data[0] &amp;gt; max)&lt;br /&gt;max = data[0];&lt;br /&gt;if(data[0] &amp;lt; min)&lt;br /&gt;min = data[0];&lt;br /&gt;}lines.sort(function (a,b) {&lt;br /&gt;var A = a[1].toLowerCase();&lt;br /&gt;var B = b[1].toLowerCase();&lt;br /&gt;return A&amp;gt;B ? 1 : (A&amp;lt;B ? -1 : 0);&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;var html = &quot;&amp;lt;style type=&#39;text/css&#39;&amp;gt;#jscloud a:hover { text-decoration: underline; }&amp;lt;/style&amp;gt; &amp;lt;div id=&#39;jscloud&#39;&amp;gt;&quot;;&lt;br /&gt;if(logarithmic) {&lt;br /&gt;max = Math.log(max);&lt;br /&gt;min = Math.log(min);&lt;br /&gt;}&lt;br /&gt;for(var i=0;i&amp;lt;lines.length;i++) {&lt;br /&gt;var val = lines[i][0];&lt;br /&gt;if(logarithmic) val = Math.log(val);&lt;br /&gt;var fsize = getFontSize(min,max,val);&lt;br /&gt;dollar = formatCurrency(lines[i][0]);&lt;br /&gt;html += &quot; &amp;lt;a href=&#39;###Some drillthrough url which includes the param &quot;+lines[i][1]+&quot;&#39; style=&#39;font-size:&quot;+fsize+&quot;%;&#39; title=&#39;&quot;+dollar+&quot;&#39;&amp;gt;&quot;+lines[i][1]+&quot;&amp;lt;/a&amp;gt; &quot;;&lt;br /&gt;}&lt;br /&gt;html += &quot;&amp;lt;/div&amp;gt;&quot;;&lt;br /&gt;var cloud = document.getElementById(&quot;cloud&quot;);&lt;br /&gt;cloud.innerHTML = html;&lt;br /&gt;var cloudhtml = document.getElementById(&quot;cloudhtml&quot;);&lt;br /&gt;cloudhtml.value = html;&lt;br /&gt;}&lt;br /&gt;function setClass(layer,cls) {&lt;br /&gt;layer.setAttribute(&quot;class&quot;,cls);&lt;br /&gt;layer.setAttribute(&quot;className&quot;,cls);&lt;br /&gt;}&lt;br /&gt;function show(display) {&lt;br /&gt;var cloud = document.getElementById(&quot;cloud&quot;);&lt;br /&gt;var cloudhtml = document.getElementById(&quot;cloudhtml&quot;);if(display == &quot;cloud&quot;) {&lt;br /&gt;setClass(cloud,&quot;visible&quot;);&lt;br /&gt;setClass(cloudhtml,&quot;hidden&quot;);&lt;br /&gt;}&lt;br /&gt;else if(display == &quot;html&quot;) {&lt;br /&gt;setClass(cloud,&quot;hidden&quot;);&lt;br /&gt;setClass(cloudhtml,&quot;visible&quot;);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;generateCloud(txt);&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Click OK, run the report. Roll over the individual Sales rep to see the actual revenue in the flyout. You can now customize this for your needs and add it as a Cognos Viewer portlet to a  Cognos portal page or your preferred portal.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;&lt;span style=&quot;font-family:courier new;&quot;&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/5425010239482728572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/5425010239482728572?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/5425010239482728572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/5425010239482728572'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2008/11/javascript-technique-tag-cloud.html' title='Javascript technique: Tag cloud'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2rxMOciKHgYPZWRjgd1V5-HLS5adBn-BwzfLJrxeTtPjVhlDujMyxSn39yByrx7sLjwcL9bektJh2feYihrLbdth05_zs7c-qQl4n5fv2OItZFpxqY-ykfdz6UetSX-Z9tq4wYxseSGVM/s72-c/Picture+5.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-5386269076905306421</id><published>2008-11-17T07:56:00.000-05:00</published><updated>2009-01-06T10:00:38.984-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Business Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8"/><category scheme="http://www.blogger.com/atom/ns#" term="dashboard"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash"/><title type='text'>YouTube find: MB Dashboards for Cognos 8</title><content type='html'>A UK company called morgan benjamin (lower case on purpose) has developed a sharp looking dashboarding tool for Cognos 8 business intelligence. From the visuals, it seems to integrate nicely into the Cognos suite and is available for all Cognos 8 releases.&lt;br /&gt;&lt;br /&gt;&lt;object height=&quot;344&quot; width=&quot;425&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/ylpnXxJevs0&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999&quot;&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;embed src=&quot;http://www.youtube.com/v/ylpnXxJevs0&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; height=&quot;344&quot; width=&quot;425&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Key features:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Data driven ticker&lt;/li&gt;&lt;li&gt;Pop up &amp;amp; Transition facilities&lt;/li&gt;&lt;li&gt;Zoom Functionality&lt;/li&gt;&lt;li&gt;Links to other Studios (Report Studio, Analysis Studio, Query Studio)&lt;/li&gt;&lt;li&gt;Animated KPI’s&lt;/li&gt;&lt;li&gt;Content and functionality Rich Dashboards created in hours not weeks&lt;/li&gt;&lt;li&gt;Compatible with all versions of Cognos 8&lt;/li&gt;&lt;li&gt;Leverages your in house report studio skills&lt;/li&gt;&lt;li&gt;Employs professionally designed graphical layout&lt;/li&gt;&lt;li&gt;Multiple templates and colour schemes&lt;/li&gt;&lt;li&gt;Simple to add corporate identity&lt;/li&gt;&lt;li&gt;Allows users to add comments to dashboards&lt;/li&gt;&lt;li&gt;Links seamlessly with existing reports, cubes and data sources&lt;/li&gt;&lt;/ul&gt;I&#39;m most interested in the ability to add comments or annotations to reports although I have read that this type of functionality will be included when Cognos 8.4 is released.&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/5386269076905306421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/5386269076905306421?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/5386269076905306421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/5386269076905306421'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2008/11/youtube-find-mb-dashboards-for-cognos-8.html' title='YouTube find: MB Dashboards for Cognos 8'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8636186381965873177.post-2832269079905813025</id><published>2008-11-07T11:09:00.000-05:00</published><updated>2009-01-12T11:40:17.635-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cognos"/><category scheme="http://www.blogger.com/atom/ns#" term="Cognos 8.3"/><category scheme="http://www.blogger.com/atom/ns#" term="functions"/><category scheme="http://www.blogger.com/atom/ns#" term="Report Studio"/><title type='text'>Top 5 and ranking</title><content type='html'>Need to build a top 5 list into your dashboard report? In my simple example, I have a 2 column list with [Products] and [Sales]. I create a new data item with:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;rank([Sales] within set [Products])&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I called this new data item [Rank] then applied a filter:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;[Rank] &amp;lt; 6 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That does it. But not really, because the rank() function will potentially give more then 5 rows if there are multiple entries with the same value. For example, if we were ranking on the following list and filtering for top 3:&lt;br /&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;&lt;br /&gt;Products:              Sales:               Rank:&lt;br /&gt;Product1         50,000                1&lt;br /&gt;Product2                40,000                2&lt;br /&gt;Product3                30,000                3&lt;br /&gt;Product4                30,000                3&lt;br /&gt;Product5                20,000                5&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You will end up with 4 rows in your report.&lt;br /&gt;&lt;br /&gt;To restrict this to a only 3 rows, you&#39;ll need to sort the query by [Sales], and then use &quot;running-count(1 for report)&quot; in your [Rank] function.  Then you&#39;ll get just the first 3 rows.  Note that whether you get Product3 or Product4 will depend on other sorting criteria or the natural order of the data in the database, so take care!&lt;br /&gt;&lt;br /&gt;The tip I&#39;ve explained above uses the rank() function which is part of the member summary functions and utilized on non-dimensional source. For dimensional source, you will want to use the topCount() function to define [Products].</content><link rel='replies' type='application/atom+xml' href='http://cognosibm.blogspot.com/feeds/2832269079905813025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8636186381965873177/2832269079905813025?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/2832269079905813025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8636186381965873177/posts/default/2832269079905813025'/><link rel='alternate' type='text/html' href='http://cognosibm.blogspot.com/2008/11/top-5-and-ranking.html' title='Top 5 and ranking'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>