<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating Cascade Parameters with Pentaho Report Designer 3.5.</title>
	<atom:link href="http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/</link>
	<description>The Trials and Tribulations of a Data Analyst</description>
	<lastBuildDate>Thu, 18 Aug 2011 16:53:29 +1000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Rinaldo</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-4868</link>
		<dc:creator>Rinaldo</dc:creator>
		<pubDate>Tue, 18 Jan 2011 09:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-4868</guid>
		<description>Hi Thx for this tutorial. 
As I write on my blog it&#039;s was very useful to understand the prtp structure.
Thx again
Rinaldo</description>
		<content:encoded><![CDATA[<p>Hi Thx for this tutorial.<br />
As I write on my blog it&#8217;s was very useful to understand the prtp structure.<br />
Thx again<br />
Rinaldo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-4810</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Fri, 14 Jan 2011 16:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-4810</guid>
		<description>To include a &quot;All&quot; in the parameter, you can use a Union from a system table.

SELECT &#039;All&#039; as COUNTRY
FROM SYSIBM.SYSDUMMY1
UNION
SELECT DISTINCT COUNTRY as COUNTRY
FROM CUSTOMERS
WHERE COUNTRY = (case when ${sCountryName} = &#039;*All&#039; then COUNTRY else ${sCountryName} end)
order by COUNTRY

Then in your main report query, you can add the same case statement.</description>
		<content:encoded><![CDATA[<p>To include a &#8220;All&#8221; in the parameter, you can use a Union from a system table.</p>
<p>SELECT &#8216;All&#8217; as COUNTRY<br />
FROM SYSIBM.SYSDUMMY1<br />
UNION<br />
SELECT DISTINCT COUNTRY as COUNTRY<br />
FROM CUSTOMERS<br />
WHERE COUNTRY = (case when ${sCountryName} = &#8216;*All&#8217; then COUNTRY else ${sCountryName} end)<br />
order by COUNTRY</p>
<p>Then in your main report query, you can add the same case statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lourens</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-3434</link>
		<dc:creator>Lourens</dc:creator>
		<pubDate>Mon, 18 Oct 2010 13:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-3434</guid>
		<description>I need to be able to have a (ALL) in the parameter, which then brings back all the data available or then just select one.

E.G.

SELECT * FROM deal WHERE currency = ${currency}

but the user must be able to select all the currencies in one go... because there is 30 currencies I have and to let the users select each one separately is no good!</description>
		<content:encoded><![CDATA[<p>I need to be able to have a (ALL) in the parameter, which then brings back all the data available or then just select one.</p>
<p>E.G.</p>
<p>SELECT * FROM deal WHERE currency = ${currency}</p>
<p>but the user must be able to select all the currencies in one go&#8230; because there is 30 currencies I have and to let the users select each one separately is no good!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vdas</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-3064</link>
		<dc:creator>Vdas</dc:creator>
		<pubDate>Tue, 14 Sep 2010 10:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-3064</guid>
		<description>Prashant,

I am new to Pentaho and trying to create a cascaded prompts. This helps a lot. But the example given above works when there is a single select. I need to provide a facility to select multiple values. 

For ex: i need to sselect multiple country names and multiple city names.How do i do that ??

I tried something like this.. (not working..)

WHERE
 `customers`.`COUNTRY` IN (${sCountryName})
AND
 `customers`.`CITY`    IN (${sCityName})</description>
		<content:encoded><![CDATA[<p>Prashant,</p>
<p>I am new to Pentaho and trying to create a cascaded prompts. This helps a lot. But the example given above works when there is a single select. I need to provide a facility to select multiple values. </p>
<p>For ex: i need to sselect multiple country names and multiple city names.How do i do that ??</p>
<p>I tried something like this.. (not working..)</p>
<p>WHERE<br />
 `customers`.`COUNTRY` IN (${sCountryName})<br />
AND<br />
 `customers`.`CITY`    IN (${sCityName})</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Raju</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-2969</link>
		<dc:creator>Prashant Raju</dc:creator>
		<pubDate>Thu, 09 Sep 2010 22:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-2969</guid>
		<description>Salvatore,

The best way to check it is to see if it actually works!

Does it? I&#039;m not sure if this is not possible...

Prashant</description>
		<content:encoded><![CDATA[<p>Salvatore,</p>
<p>The best way to check it is to see if it actually works!</p>
<p>Does it? I&#8217;m not sure if this is not possible&#8230;</p>
<p>Prashant</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salvatore</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-2960</link>
		<dc:creator>Salvatore</dc:creator>
		<pubDate>Thu, 09 Sep 2010 14:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-2960</guid>
		<description>Hello everyone
I am new to Pentaho

I would like to change the name of the field (as a parameter)in WHERE condition.
It&#039;s possible?
Thanks
ex:

SELECT
 `customers`.`CUSTOMERNUMBER`,
 `customers`.`CUSTOMERNAME`,
 `customers`.`CITY`,
 `customers`.`COUNTRY`

FROM
 `customers`
WHERE
 ${field_country_name} = ${sCountryName}
AND
 ${field_city_name}    = ${sCityName}</description>
		<content:encoded><![CDATA[<p>Hello everyone<br />
I am new to Pentaho</p>
<p>I would like to change the name of the field (as a parameter)in WHERE condition.<br />
It&#8217;s possible?<br />
Thanks<br />
ex:</p>
<p>SELECT<br />
 `customers`.`CUSTOMERNUMBER`,<br />
 `customers`.`CUSTOMERNAME`,<br />
 `customers`.`CITY`,<br />
 `customers`.`COUNTRY`</p>
<p>FROM<br />
 `customers`<br />
WHERE<br />
 ${field_country_name} = ${sCountryName}<br />
AND<br />
 ${field_city_name}    = ${sCityName}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-2464</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 18 Aug 2010 19:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-2464</guid>
		<description>Is it possible to use a formula, or a function on the query?
I have cascaded parameters, but i need to select the first one based on a function that gets one of the user roles</description>
		<content:encoded><![CDATA[<p>Is it possible to use a formula, or a function on the query?<br />
I have cascaded parameters, but i need to select the first one based on a function that gets one of the user roles</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swami</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-2072</link>
		<dc:creator>Swami</dc:creator>
		<pubDate>Thu, 05 Aug 2010 22:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-2072</guid>
		<description>We can parameterize the OLAP report for that we need to modify the OLAP having where condition i mean add it in filter, so that you can have where clause in it...then use the below function
eg: where {StrToMember(Parameter(&quot;param1&quot;, STRING, &quot;[Time].[2010].[7]&quot;))}

Add a parameter using Display Type - Text box

[or]
Create a table by defiend set of values like (July2010 - [Time].[2010].[7])and use that table for query selection in the parameter create.</description>
		<content:encoded><![CDATA[<p>We can parameterize the OLAP report for that we need to modify the OLAP having where condition i mean add it in filter, so that you can have where clause in it&#8230;then use the below function<br />
eg: where {StrToMember(Parameter(&#8220;param1&#8243;, STRING, &#8220;[Time].[2010].[7]&#8220;))}</p>
<p>Add a parameter using Display Type &#8211; Text box</p>
<p>[or]<br />
Create a table by defiend set of values like (July2010 &#8211; [Time].[2010].[7])and use that table for query selection in the parameter create.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Smith</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-2001</link>
		<dc:creator>Nathan Smith</dc:creator>
		<pubDate>Tue, 03 Aug 2010 13:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-2001</guid>
		<description>Thank you for creating this excellent tutorial.</description>
		<content:encoded><![CDATA[<p>Thank you for creating this excellent tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farouk TANGAO</title>
		<link>http://www.prashantraju.com/2010/02/creating-cascade-parameters-with-pentaho-report-designer-3-5/comment-page-1/#comment-574</link>
		<dc:creator>Farouk TANGAO</dc:creator>
		<pubDate>Thu, 08 Apr 2010 14:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.prashantraju.com/?p=878#comment-574</guid>
		<description>Thanks for the explanations. It is perfect. I have a question. I&#039;m working with PRD 3.6 and i tried to make an OLAP report. When I tried to add parameters I have errors. So I want to know if there is a special way to parametize OLAP reports in PRD 3.6 ? thanks in advance.</description>
		<content:encoded><![CDATA[<p>Thanks for the explanations. It is perfect. I have a question. I&#8217;m working with PRD 3.6 and i tried to make an OLAP report. When I tried to add parameters I have errors. So I want to know if there is a special way to parametize OLAP reports in PRD 3.6 ? thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

