Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Control dataset parameter from table/chart?
JensW
Hello together,
i have a table which logs views of assets which are assigned to libraries.
What i want to create is a report which contains a top ten table for each library. Therefore i created a query quite similar to this:
Select
*
FROM log_assets
WHERE library = ?
ORDER BY views DESC
LIMIT 10
Additionally i created a dataset parameter for the library.
Now i like to add some tables to my report and change the dataset parameter per table.
Any way to accomplish this?
I'm quite a newbie working with birt so maybe there is a totally different approach. Looking forward for any hint.
Thanks in advance
Jens
Find more posts tagged with
Comments
mwilliams
Hi Jens,
For a table, you can go to the binding tab in the property editor and edit the dataSet parameter binding.
johnw
Jens,<br />
<br />
If you go up to Window/Views/Report and Chart Examples, and look under the Sub-Report section, there is an example of how to do this. <br />
<br />
Additionally, you can look at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/examples/reports/subreports/'>BIRT
Example Reports - Sub Report</a> for an example.<br />
<br />
John
JensW
Thanks a lot.
The Button "Dataset Parameter Binding" was surely added after i wrote my question ;-)
Jens