<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PerformanceG2 &#187; charding</title>
	<atom:link href="http://performanceg2.com/author/charding/feed/" rel="self" type="application/rss+xml" />
	<link>http://performanceg2.com</link>
	<description>Perform with Intelligence</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:22:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Summarizing Small Items in Cognos 10</title>
		<link>http://performanceg2.com/2011/03/18/summarizing-small-items-in-cognos-10/</link>
		<comments>http://performanceg2.com/2011/03/18/summarizing-small-items-in-cognos-10/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 15:55:30 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Technical Concepts and Ideas]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[cognos 10]]></category>
		<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[cognos software]]></category>
		<category><![CDATA[Cognos training]]></category>
		<category><![CDATA[PerformanceG2]]></category>
		<category><![CDATA[summarizing small items in Cognos 10]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=2768</guid>
		<description><![CDATA[&#160; By Craig Harding, Senior Consultant for PerformanceG2 &#160; When building a chart in Report Studio, some smaller contributing items can now be easily grouped together based on rules that you define. Of course, this could have been accomplished in Cognos 8, but you would have to define your own logic statements. For the following [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
By <a href="mailto:craig.harding@performanceg2.com">Craig Harding</a>, Senior Consultant for <a href="http://performanceg2.com">PerformanceG2</a><br />
&nbsp;</p>
<p>When building a chart in Report Studio, some smaller contributing items can now be easily grouped together based on rules that you define. Of course, this could have been accomplished in <a href="http://performanceg2.com/products/cognos-software/">Cognos</a> 8, but you would have to define your own logic statements. </p>
<p>For the following example, I will be building a chart using the Cognos 8 sample data. *NOTE: When opening up Cognos 10 Report Studio using models that were built in Cognos 8, you will have to go to &#8220;Tools > Options > Advanced Options&#8221;, and un-check &#8220;use legacy chart authoring&#8221;.</p>
<p>1. Start by choosing the default column chart.<br />
2. Add revenue as the measure.<br />
3. Add product type as the categories.<br />
4. Running the report results in the following chart:<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2011/03/blog1.jpg"><img src="http://performanceg2.com/wp-content/uploads/2011/03/blog1.jpg" alt="" title="Chart 1 - Cognos 10" width="582" height="593" class="aligncenter size-full wp-image-2769" /></a><br />
 &nbsp;<br />
5. You will notice that some product types hardly contributed to the overall revenue when compared to some of the better selling product types. There are a few choices on how to handle these. With the chart selected, under the general section of the properties pane, there is a new property called &#8220;Summarize Small Items&#8221;.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2011/03/blog21.jpg"><img src="http://performanceg2.com/wp-content/uploads/2011/03/blog21.jpg" alt="" title="Chart 2 - Cognos 10" width="260" height="251" class="aligncenter size-full wp-image-2771" /></a><br />
&nbsp;<br />
For this example, I put the maximum items to be displayed at 11. This will give me the top 10, plus another column that will be the total summarization. You could also choose to summarize smaller items based on a percentage threshold, or by absolute values. </p>
<p>6. After the property changes, this is the new output:<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2011/03/blog3.jpg"><img src="http://performanceg2.com/wp-content/uploads/2011/03/blog3.jpg" alt="" title="Chart 3 - Cognos 10" width="577" height="600" class="aligncenter size-full wp-image-2772" /></a><br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
<a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016">Contact the Blogger</span></strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2011/03/18/summarizing-small-items-in-cognos-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prompts and Parameters &#8211; Recommendations for use within Framework Manager</title>
		<link>http://performanceg2.com/2010/07/30/prompts-and-parameters/</link>
		<comments>http://performanceg2.com/2010/07/30/prompts-and-parameters/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 15:06:26 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Technical Concepts and Ideas]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[Cognos training]]></category>
		<category><![CDATA[Corporate Performance Management]]></category>
		<category><![CDATA[framework manager]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[IBM Cognos 8]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[PerformanceG2]]></category>
		<category><![CDATA[prompts and parameters in framework manager]]></category>
		<category><![CDATA[promts and parameters in cognos]]></category>
		<category><![CDATA[query subject]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL generation]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=2175</guid>
		<description><![CDATA[&#160; By Craig Harding, Consultant for PerformanceG2 &#160; Better performance will be realized by using parameters and prompts within Model Query Subjects, filter objects or stand alone calculations. This will allow for better SQL generation than inserting them within the SQL of a Datasource Query Subject. These recommendations lead to better SQL generation, which in [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
By <a href="mailto:craig.harding@performanceg2.com">Craig Harding, Consultant for PerformanceG2</a><br />
&nbsp;</p>
<p>Better performance will be realized by using parameters and prompts within Model Query Subjects, filter objects or stand alone calculations. This will allow for better SQL generation than inserting them within the SQL of a Datasource Query Subject.</p>
<p>These recommendations lead to better SQL generation, which in turn, leads to better performance.</p>
<p>Nearly any prompting can be done in a Model Query Subject:<br />
[Product dimension].[Product line].[PRODUCT_LINE_CODE] =<br />
#prompt(‘Product Line Code’, ‘integer’, ‘1’)#</p>
<p>Same with Calculations:<br />
Case [Product dimension].[Product line].[PRODUCT_LINE_CODE]<br />
When #prompt(‘Target Product Line Code’, ‘integer’, ‘1’)# then 1<br />
Else 0<br />
End</p>
<p>The added benefit of placing prompts in a stand alone calculation is that if the report author does not use the calculation, then the prompt is no longer needed. There is no need to add this case statement to the Base SQL.</p>
<p>When using calculations and filter objects in Model Query Subjects or as stand alone objects, the Datasource Query Subjects can be left untouched. This means the SQL remains minimized and eliminates the need to fetch metadata.</p>
<p>&nbsp;<br />
&nbsp;<br />
<a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016">Contact the Blogger</span></strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2010/07/30/prompts-and-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tip of the Week: Allow Users to Dynamically Sort on a Numerical Column</title>
		<link>http://performanceg2.com/2010/03/29/tip-of-the-week-dynamically-numerical-column/</link>
		<comments>http://performanceg2.com/2010/03/29/tip-of-the-week-dynamically-numerical-column/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:01:20 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Technical Concepts and Ideas]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Cognos]]></category>
		<category><![CDATA[cognos 8 tips]]></category>
		<category><![CDATA[cognos online training]]></category>
		<category><![CDATA[cognos tips]]></category>
		<category><![CDATA[Cognos training]]></category>
		<category><![CDATA[CPM]]></category>
		<category><![CDATA[performance g2]]></category>
		<category><![CDATA[PerformanceG2]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=1862</guid>
		<description><![CDATA[&#160; By Craig Harding, Consultant for PerformanceG2 &#160; To try this, build a real simple list report and add staff name and revenue. Add a value prompt to the report page. Name the parameter sort, and click &#8216;finish&#8217;. Add two static choices through the properties pane of the value prompt. For the first static choice, [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
By <a href="mailto:craig.harding@performanceg2.com">Craig Harding, Consultant for PerformanceG2</a><br />
&nbsp;</p>
<p>To try this, build a real simple list report and add staff name and revenue. </p>
<p>Add a value prompt to the report page. Name the parameter sort, and click &#8216;finish&#8217;. Add two static choices through the properties pane of the value prompt. For the first static choice, display value will be <em>ascending</em> with a use value of <em>1</em>. For the second static choice, set the display value to <em>descending</em>, and the use value to <em>-1</em>.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2010/03/staticchoices.jpg"><img src="http://performanceg2.com/wp-content/uploads/2010/03/staticchoices-264x300.jpg" alt="" title="staticchoices" width="264" height="300" class="aligncenter size-medium wp-image-1865" /></a><br />
&nbsp;</p>
<p>You must add a default selection in order to avoid being prompted on report load. This can be done through the properties of the prompt. I put a value of 1 in the default selections for ascending. </p>
<p>Also, set the auto submit property to <em>yes</em>.</p>
<p>Add a data item to the query. The expression should read <strong>[Revenue]*?sort?</strong> (no need to type this, drag and drop from the insert-able objects pane). Name the data item <em>sortkey</em> and set the presort property to <em>ascending</em>. </p>
<p>&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2010/03/sortkey.jpg"><img src="http://performanceg2.com/wp-content/uploads/2010/03/sortkey.jpg" alt="" title="sortkey" width="251" height="168" class="aligncenter size-full wp-image-1867" /></a><br />
&nbsp;</p>
<p>Return to page one and select the list. The properties property of the list must have the <em>sortkey</em> checked.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2010/03/propertiesproperty.jpg"><img src="http://performanceg2.com/wp-content/uploads/2010/03/propertiesproperty.jpg" alt="" title="propertiesproperty" width="151" height="97" class="aligncenter size-full wp-image-1868" /></a><br />
&nbsp;<br />
Run the report to test.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2010/03/ascending.jpg"><img src="http://performanceg2.com/wp-content/uploads/2010/03/ascending-140x300.jpg" alt="" title="ascending" width="140" height="300" class="aligncenter size-medium wp-image-1869" /></a><br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2010/03/descending.jpg"><img src="http://performanceg2.com/wp-content/uploads/2010/03/descending-144x300.jpg" alt="" title="descending" width="144" height="300" class="aligncenter size-medium wp-image-1870" /></a><br />
&nbsp;<br />
&nbsp;<br />
<a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016">Contact the Blogger</span></strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2010/03/29/tip-of-the-week-dynamically-numerical-column/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trick of the day: how to handle slow rendering portal pages</title>
		<link>http://performanceg2.com/2010/02/04/slow-rendering-portal-pages/</link>
		<comments>http://performanceg2.com/2010/02/04/slow-rendering-portal-pages/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:42:20 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Technical Concepts and Ideas]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Cognos]]></category>
		<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[Corporate Performance Management]]></category>
		<category><![CDATA[g2 live blog]]></category>
		<category><![CDATA[how to handle slow rendering portal pages]]></category>
		<category><![CDATA[IBM Cognos]]></category>
		<category><![CDATA[IBM Cognos 8]]></category>
		<category><![CDATA[ibm tm1]]></category>
		<category><![CDATA[performance g2]]></category>
		<category><![CDATA[performance g2 blog]]></category>
		<category><![CDATA[PerformanceG2]]></category>
		<category><![CDATA[performanceg2 blog]]></category>
		<category><![CDATA[slow rendering portal pages]]></category>
		<category><![CDATA[TM1]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=1639</guid>
		<description><![CDATA[&#160; By Craig Harding, Consultant for PerformanceG2 &#160; &#160; Slow rendering portal pages? If you are having trouble getting your portal pages to render in a decent amount of time here is a little trick that can greatly improve performance. When rendering a report in Cognos viewer portlet, in a portal page, the hour glass [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
By <a href="mailto:craig.harding@performanceg2.com">Craig Harding, Consultant for PerformanceG2</a><br />
&nbsp;<br />
&nbsp;<br />
<strong>Slow rendering portal pages?</strong></p>
<p>If you are having trouble getting your portal pages to render in a decent amount of time here is a little trick that can greatly improve performance. </p>
<p>When rendering a report in <a href="http://performanceg2.com/solutions/">Cognos</a> viewer portlet, in a portal page, the hour glass may just spin and spin. If the report runs fine on its own and is only slow in a portal page, then try this: instead of using a Cognos viewer portlet to render the report, use an HTML viewer portlet instead. I have used this technique for a dramatic increase in performance with multiple clients. </p>
<p>Stay tuned for more &#8220;tricks of the day&#8221; blog posts through out the next couple of months!</p>
<p>&nbsp;<br />
&nbsp;<br />
<a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016">Contact the Blogger</span></strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2010/02/04/slow-rendering-portal-pages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Conditional Blocks in Cognos 8</title>
		<link>http://performanceg2.com/2009/11/05/conditional-blocks/</link>
		<comments>http://performanceg2.com/2009/11/05/conditional-blocks/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 21:20:24 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Business and Strategy]]></category>
		<category><![CDATA[Technical Concepts and Ideas]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Cognos]]></category>
		<category><![CDATA[cognos 8.4]]></category>
		<category><![CDATA[Cognos 8v4]]></category>
		<category><![CDATA[conditional blocks]]></category>
		<category><![CDATA[conditional blocks in cognos]]></category>
		<category><![CDATA[conditional blocks in report studio]]></category>
		<category><![CDATA[IBM Cognos 8]]></category>
		<category><![CDATA[performance g2]]></category>
		<category><![CDATA[PerformanceG2]]></category>
		<category><![CDATA[pg2]]></category>
		<category><![CDATA[Report Studio]]></category>
		<category><![CDATA[report studio cognos]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=1424</guid>
		<description><![CDATA[&#160; By Craig Harding, Consultant for PerformanceG2 &#160; &#160; Conditional Blocks The goal of this report is to prompt users on which display they would prefer, a list or a chart. To start, create a simple list report in Report Studio. Using the Cognos sample data, product line, order method and revenue are added to [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;<br />
By <a href="mailto:craig.harding@performanceg2.com">Craig Harding, Consultant for PerformanceG2</a><br />
&nbsp;<br />
&nbsp;<br />
<strong>Conditional Blocks</strong></p>
<p>The goal of this report is to prompt users on which display they would prefer, a list or a chart. </p>
<p>To start, create a simple list report in Report Studio. Using the Cognos sample data, product line, order method and revenue are added to the list. From the toolbox, drag and place a pie chart below the list. Select the chart and in the properties pane, attach this chart to query 1:<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb1.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb1.jpg" alt="cb1" title="cb1" width="678" height="576" class="alignnone size-full wp-image-1426" /></a><br />
&nbsp;<br />
&nbsp;<br />
Now the chart can be populated from the data items tab.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb2.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb2.jpg" alt="cb2" title="cb2" width="673" height="398" class="alignnone size-full wp-image-1427" /></a><br />
&nbsp;<br />
&nbsp;<br />
The consumers of this report need the ability to choose between the displays they want to see. To accomplish this, build a blank prompt page allowing them to select from a drop down list either list or chart. Drag a value prompt to the prompt page with the following settings:<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb3.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb3.jpg" alt="cb3" title="cb3" width="529" height="388" class="alignnone size-full wp-image-1428" /></a><br />
&nbsp;<br />
At this point hit &#8216;Finish&#8221;. The dropdown list has to be populated manually though the static choices property of the value prompt. The two choices added are list and chart.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb4.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb4.jpg" alt="cb4" title="cb4" width="294" height="202" class="alignnone size-full wp-image-1429" /></a><br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb5.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb5.jpg" alt="cb5" title="cb5" width="355" height="371" class="alignnone size-full wp-image-1430" /></a><br />
&nbsp;<br />
*You can leave the display value blank. If you do so, Report Studio is smart enough that it will take the use value for the display value. </p>
<p>Now that my prompt page is set, return to the Report Page. In order to conditionally display an object, use the conditional blocks object in the toolbox. Drag this to the bottom of the report.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb6.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb6.jpg" alt="cb6" title="cb6" width="692" height="381" class="alignnone size-full wp-image-1431" /></a><br />
&nbsp;<br />
&nbsp;<br />
The next step is to attach the variable to the conditional blocks block variable property. This variable is a Boolean variable that either equals a list or doesn&#8217;t.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb7.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb7.jpg" alt="cb7" title="cb7" width="320" height="120" class="alignnone size-full wp-image-1432" /></a><br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb8.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb8.jpg" alt="cb8" title="cb8" width="307" height="177" class="alignnone size-full wp-image-1433" /></a><br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb9.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb9.jpg" alt="cb9" title="cb9" width="767" height="394" class="alignnone size-full wp-image-1434" /></a><br />
&nbsp;<br />
&nbsp;<br />
We need to test if our parameter is equal to the value &#8216;List&#8217;. If the user selected List this expression will evaluate to true, if the user selected &#8216;Chart&#8217; from the prompt, then this will evaluate to false. </p>
<p>After this step is completed there is a new property on the conditional blocks object that tell us which block we are currently looking at. First, drag the chart into the &#8216;No&#8217; block.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb10.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb10.jpg" alt="cb10" title="cb10" width="319" height="124" class="alignnone size-full wp-image-1435" /></a><br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb11.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb11.jpg" alt="cb11" title="cb11" width="732" height="476" class="alignnone size-full wp-image-1436" /></a><br />
&nbsp;<br />
Now, select the conditional block again, and switch the current block property to &#8216;Yes&#8217;. The conditional blocks object appears empty because there is currently nothing in the &#8216;Yes&#8217; block.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb12.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb12.jpg" alt="cb12" title="cb12" width="641" height="503" class="alignnone size-full wp-image-1437" /></a><br />
&nbsp;<br />
The final step is to drag the entire list inside the &#8216;Yes&#8217; block.<br />
&nbsp;<br />
<a href="http://performanceg2.com/wp-content/uploads/2009/11/cb13.jpg"><img src="http://performanceg2.com/wp-content/uploads/2009/11/cb13.jpg" alt="cb13" title="cb13" width="625" height="461" class="alignnone size-full wp-image-1438" /></a><br />
&nbsp;<br />
Now when the report is run, the user will be prompted for their display of choice.<br />
&nbsp;<br />
&nbsp;<br />
<a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016">Contact the Blogger</span></strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2009/11/05/conditional-blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Global Filters and Shared Drill behavior</title>
		<link>http://performanceg2.com/2009/09/04/global-filters-and-shared-drill-behavior/</link>
		<comments>http://performanceg2.com/2009/09/04/global-filters-and-shared-drill-behavior/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 19:38:32 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[Dashboards]]></category>
		<category><![CDATA[Drill]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[slicers]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=1120</guid>
		<description><![CDATA[By Craig Harding In Cognos 8, you now have the ability to create global filters and shared drill behavior from a dashboard in Cognos Connection. I have put together a video with step by step instructions on how to do this. You can find it at http://www.youtube.com/watch?v=K7ntBdPvtT0 . Contact the Blogger]]></description>
			<content:encoded><![CDATA[<p>By <a href="mailto:craig.harding@performanceg2.com">Craig Harding</a></p>
<p>In Cognos 8, you now have the ability to create global filters and shared drill behavior from a dashboard in Cognos Connection. I have put together a video with step by step instructions on how to do this. You can find it at <a href="http://www.youtube.com/watch?v=K7ntBdPvtT0">http://www.youtube.com/watch?v=K7ntBdPvtT0</a> .</p>
<p><a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016;">Contact the Blogger</span></strong></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2009/09/04/global-filters-and-shared-drill-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Slicers in Report Studio</title>
		<link>http://performanceg2.com/2009/07/21/creating-slicers-in-report-studio/</link>
		<comments>http://performanceg2.com/2009/07/21/creating-slicers-in-report-studio/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 16:30:25 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Cognos 8]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[OLAP]]></category>
		<category><![CDATA[PerformanceG2]]></category>
		<category><![CDATA[pg2]]></category>
		<category><![CDATA[Report Studio]]></category>
		<category><![CDATA[slicers]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=1025</guid>
		<description><![CDATA[By Craig Harding Slicers – Slicer member set is a set expression that returns members from a single hierarchy of a single dimension. Since Cognos does not recommend using relational style filters against OLAP data sources, I decided to show you a few techniques for working with Slicers. You can think of Slicers as one of [...]]]></description>
			<content:encoded><![CDATA[<p>By <a href="mailto:craig.harding@performanceg2.com">Craig Harding</a></p>
<p>Slicers – Slicer member set is a set expression that returns members from a single hierarchy of a single dimension.</p>
<p>Since Cognos does not recommend using relational style filters against OLAP data sources, I decided to show you a few techniques for working with Slicers. You can think of Slicers as one of the dimensional techniques to filter your data (the filter () function being another).</p>
<p>A simple unfiltered report:</p>
<p><img class="alignnone size-full wp-image-1026" src="http://s76805.gridserver.com/wp-content/uploads/2009/07/image1.jpg" alt="image1" width="429" height="150" /></p>
<p>What I want to do now is have this report only return data for the Order Methods Email and Web. Since this is an OLAP data source I am going to use a slicer. From query explorer, simply select both the email and web members and drag to the slicer pane.</p>
<p><img class="alignnone size-full wp-image-1027" src="http://s76805.gridserver.com/wp-content/uploads/2009/07/image2.jpg" alt="image2" width="237" height="157" /></p>
<p>Report Studio automatically makes this a set. Since only data is returned for Email and Web orders now, the results returned look like (much lower revenue amounts):</p>
<p><img class="alignnone size-full wp-image-1028" src="http://s76805.gridserver.com/wp-content/uploads/2009/07/image3.jpg" alt="image3" width="422" height="157" /></p>
<p>That was a little too easy so we can make it more dynamic with a prompt. Here is the syntax for a single select prompt:</p>
<p> [Great Outdoor Company].[Order Method].[Order Method].[Order Method1] -&gt; ?om?</p>
<p>For a multi select prompt wrap the whole expression in the set() function:</p>
<p>Set([Great Outdoor Company].[Order Method].[Order Method].[Order Method1] -&gt; ?om?)</p>
<p><img class="alignnone size-full wp-image-1029" src="http://s76805.gridserver.com/wp-content/uploads/2009/07/image4.jpg" alt="image4" width="275" height="276" /></p>
<p><img class="alignnone size-full wp-image-1030" src="http://s76805.gridserver.com/wp-content/uploads/2009/07/image5.jpg" alt="image5" width="416" height="195" /></p>
<p>If you are working with very large amounts of data, you might want all information returned except for a couple of specific selections. You can accomplish this using the except () function. The way it works is that it will return all of the first argument, except what is returned by the second argument.</p>
<p><img class="alignnone size-full wp-image-1032" src="http://s76805.gridserver.com/wp-content/uploads/2009/07/image61.jpg" alt="image6" width="628" height="283" /></p>
<p>In this case all order methods would be returned, except for those chosen in the prompt.</p>
<p> </p>
<p>m2awnv34ed </p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2009/07/21/creating-slicers-in-report-studio/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Javascript in Report Studio</title>
		<link>http://performanceg2.com/2009/06/18/javascript-in-report-studio/</link>
		<comments>http://performanceg2.com/2009/06/18/javascript-in-report-studio/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:45:09 +0000</pubDate>
		<dc:creator>charding</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Cognos]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://performanceg2.com/?p=834</guid>
		<description><![CDATA[&#160; Craig Harding &#160; First of all, scripts may break when upgrading versions. There are new objects available to use and some taken away with each release. I will be talking about Cognos 8.3 for the purposes of this blog. I want to show you a basic script that can be very useful. The idea [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><span style="color: #7E0016;">Craig Harding</span></a></p>
<p>&nbsp;</p>
<p>First of all, scripts may break when upgrading versions. There are new objects available to use and some taken away with each release. I will be talking about Cognos 8.3 for the purposes of this blog.</p>
<p>I want to show you a basic script that can be very useful. The idea for this came from a client who asked me to solve a problem. They had a report that had 2 optional prompts. The problem was some users were not making use of either. This was resulting in very large result sets being returned.</p>
<p>What we wanted to accomplish was requiring the user to choose a value from either prompt. It did not matter which one.  To accomplish this I put two list prompts on a prompt page. One was called om (I am making use of the provided sample data) for order method and the other was called pl for product line. An html item was inserted near the top of the prompt page which includes my function.</p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">&lt;script type=&#8221;text/javascript&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">function checkNumSelected()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">{</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">// The following 4 lines of code are needed in Cognos 8.3</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">var fW = (typeof getFormWarpRequest == &#8220;function&#8221; ?</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">getFormWarpRequest() : document.forms["formWarpRequest"]);</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">// if it’s undefined, check if it is running in a portlet. </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">if ( !fW || fW == undefined) { fW = ( formWarpRequest_THIS_ ?</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">formWarpRequest_THIS_ : formWarpRequest_NS_ );}</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">//setting up my variables </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;">       </span>var countom=0;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;">       </span>var countpl=0;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;">       </span>var omcount = fW._oLstChoicesom;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;"><span style="mso-spacerun: yes;">       </span>var plcount=fW._oLstChoicespl;<br />
<span style="mso-spacerun: yes;">       </span>// count how many choices were selected in the Order method prompt<br />
<span style="mso-spacerun: yes;">       </span>for (var i=0; i &lt; omcount.length; i++)<br />
<span style="mso-spacerun: yes;">       </span>{<br />
<span style="mso-spacerun: yes;">             </span>if (omcount.options[i].selected)<br />
<span style="mso-spacerun: yes;">                  </span>countom = countom +1 ;<br />
<span style="mso-spacerun: yes;">       </span>}<span style="mso-spacerun: yes;">       </span><br />
      // count how many choices were selected in the Product Line prompt<br />
      for (var i=0; i &lt; plcount.length; i++)<br />
<span style="mso-spacerun: yes;">       </span>{<br />
<span style="mso-spacerun: yes;">             </span>if (plcount.options[i].selected)<br />
<span style="mso-spacerun: yes;">          </span><span style="mso-spacerun: yes;">        </span>countpl = countpl +1 ;<br />
<span style="mso-spacerun: yes;">       </span>}<span style="mso-spacerun: yes;">     </span><br />
</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">     // If at least one option was selected in wither prompt call the promptbuttonfinish fuction<br />
    // If nothing was selected throw up an alert box with directions<br />
         if (countom &gt;=1 || countpl&gt;=1) {<br />
<span style="mso-spacerun: yes;">          </span>promptButtonFinish();<br />
<span style="mso-spacerun: yes;">     </span>}<br />
<span style="mso-spacerun: yes;">     </span>else if (countom == 0 &amp;&amp; countpl==0) {<br />
<span style="mso-spacerun: yes;">          </span>alert(&#8220;You have not selected a value!\n Select a value in one of the prompts.&#8221;);<br />
<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;">  </span>}</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">}</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: 8pt; line-height: 115%;"><span style="font-family: Calibri;">&lt;/script&gt;</span></span></p>
<p>In order to call this function I deleted the finish button on the prompt page and created my own through an HTML item with the following code</p>
<p>//&lt;input type=&#8221;button&#8221; OnClick=&#8221;checkNumSelected()&#8221; value=&#8221;Finish&#8221;</p>
<p> &nbsp;</p>
<p><a href="mailto:craig.harding@performanceg2.com?subject=G2 Live Blog Post"><strong><span style="color: #7E0016;">Contact the Blogger</span></strong></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://performanceg2.com/2009/06/18/javascript-in-report-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

