Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Using output of one dataset in query of another
Migrateduser
Hi,
My report design has two datasets.
DataSet #1: Querys a table that is actually a list of the dbs other tables and returns the name with the most recent date in it's name. ie: table_2012_03_04
DataSet #2: I want to use the value returned from DataSet 1 as the table name in my Data Set #2.
I've created a report parameter - "tablename"- , with the idea of using the following in the beforeOpen of DataSet #2:
this.queryText = this.queryText.replace("RankTable", params["tablename"].value);
But it's only using the parameter's default value. I can't seem to link the result of DS#1 to the parameter. How do I do this, and do I need to do something to set the order in which the DataSets are processed?
Any help would be appreicated.
Thanks.
Find more posts tagged with
Comments
There are no comments yet