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
Dynamic library or dynamic dataset
Migrateduser
Hi!
I've been searching for a solution of my problem for two days but I can't find anything. So here is it:
I have two rptlibraries with datasets that connects to the same DataSource and with the exactly same names.
I have a rptdesign with some tables and charts, what I need is to swap library (or the datasets) depending on a parameter. Example:
- rptLibrary1 have the dataset1 called "myDataset"
- rptLibrary2 have the dataset2 called "myDataset"
In my rptdesign there are some tables and charts, for example the chart Chart1, and a boolean report parameter called param1 (I'm inspired with the names).
If param1 is true, I want to use "myDataset" from rptLibrary1 on the Chart1 (and on every table of the report).
If param1 is false, I want to use "myDataset" from rptLibrary2 on the Chart1 (and on every table of the report).
Is there any way to achieve this? If not, is there any way to achieve putting the two datasets in the same library (with different names) and swapping from one to other?
I've seen that you can change the dataset of a table in the BeforeFactory script of a table and changing the "dataSet" property of the element, but I want to change the dataset for all the report, not only in one element.
Thank you very much.
Find more posts tagged with
Comments
There are no comments yet