#1 2015-02-01 17:41:57

msmith
Member
From: Canada
Registered: 2015-01-25

BIRT Report Data Source - dataset vs parameter type

Hi,

I'm trying to configure a multiple-select selection criterion populated by a data set inside my BIRT report. I've read through the Administrator's Guide and have a couple of questions:

1. Under Administration -> Datasources can I create a single BIRT Report Data Source with any arbitrary name and reuse it as many times as I need in numerous reports?

2. When creating the parameter, what's the difference between the type of DATASET and PARAMETER?

I've configured the BIRT report with a parameter called "events" that uses the dataset "eventlist" for dynamic selection. Would I set the ReportServer parameter type to DATASET or PARAMETER? Would the name be "events" or "eventlist"?

Thanks,
Mike

Offline

#2 2015-02-01 17:59:50

Thorsten J. Krause
datenwerke
Registered: 2012-02-15
Website

Re: BIRT Report Data Source - dataset vs parameter type

Hi Mike,

1. Yes you just create a single BirtReportDatasource and can reuse it for all your reports. I admit, it's not exactly straightforward...

2. With a dynamic parameter you use DATASET and the name of the dataset (eventlist). If you have a static parameter which is not bound to a dataset but uses a fixed list of options, you use PARAMETER (with the parameter name) to load the static list of choices into ReportServer.

Cheers,
Thorsten

Offline

#3 2015-02-01 18:33:26

msmith
Member
From: Canada
Registered: 2015-01-25

Re: BIRT Report Data Source - dataset vs parameter type

Thanks Thorsten!

Your note above and an older thread (http://forum.reportserver.net/viewtopic.php?id=94) have good info and probably would make good additions to the admin guide someday.

Mike

Offline

#4 2015-02-01 20:30:20

msmith
Member
From: Canada
Registered: 2015-01-25

Re: BIRT Report Data Source - dataset vs parameter type

With this setup I'm able to get my values to show up in the parameter setting under Specific Properties, Default Values, when I double-click to bring up the popup. I have 10 items in my test database and they all show up.

But when I execute the report, go to the parameters tab, and double-click to modify the selection, the popup opens but hangs at "Loading data" forever. No values are displayed.

I don't see any output in catalina.out while this is happening.

If I cancel out of the popup and try to execute the report again, subsequent tries just show "no data available".

Thanks,
Mike

Offline

#5 2015-02-02 18:51:07

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: BIRT Report Data Source - dataset vs parameter type

Hi Mike,

this does not sound right. I've raised a bug ticket and we are investigating.

Regards
Arno

Offline

#6 2015-02-02 21:41:16

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: BIRT Report Data Source - dataset vs parameter type

Hi Mike,

I just gave Birt Datasources a quick test run and could not find any obvious failures. Could you maybe elaborate a bit on
how your parameter is configured, or if possible, send us your rptdesign file?

Thanks,
Arno

Offline

#7 2015-02-03 16:07:56

msmith
Member
From: Canada
Registered: 2015-01-25

Re: BIRT Report Data Source - dataset vs parameter type

Yes, I'd be happy to send you the .rptdesign file and the Quick Export from ReportServer.

As a workaround we are able to point to the database as a data source in ReportServer (instead of the BIRT Report data source) and enter the SQL query directly in ReportServer.

Thanks,
Mike

Offline

#8 2015-02-05 10:53:55

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: BIRT Report Data Source - dataset vs parameter type

Hi Mike,

a quick update. I've ran some preliminary tests with your report and data using MySQL as the underlying datasource and so far everything worked fine. We'll be setting up an oracle test over the next few days
and hopefully then will be able to reproduce the problem.

Regards,
Arno

Offline

Board footer

Powered by FluxBB