gberkeley
asked on
Report Builder 3.0 - Multi-Select Parameters
What am I doing wrong????
Here are the steps taken thus far: See attached to get all the screen shots.
1. I have included the parameter in the main dataset query and then I created separate datasets to enable drop downs for selection. I want the user to be able to choose Care Manager and Service values from a pick list. I also want the user to be able to do a multi-select so the report can pull more than one service and/or more than one manager.
2. I have created both parameters (Under Parameters vs wtihin their datasets) using the following conventions for configuration:
a. Select Data Type as text and allow blank values.
Cannot use integer because the identifier is alpha-numeric.
b. Set available values to pull from query – the datasets created for the drop downs.
c. Set default value to none.
3. The dataset for use in the drop down is configured as follows:
a. Single field for the pick list
b. no configuration for options, filters, or parameters.
4. Here is the query for the main dataset
SELECT
HAR_CONSUMERS.CONSUMER_AGE NCY_DES
,HAR_SERVICE_DELIVERIES.PR OVIDER
,HAR_SERVICE_DELIVERIES.FU ND_IDENTIF IER
,HAR_SERVICE_DELIVERIES.SE RVICE
,HAR_SERVICE_DELIVERIES.UN ITS AS [HAR_SERVICE_DELIVERIES UNITS]
,HAR_SERVICE_DELIVERIES.CR EATE_DATET IME
,HAR_CONSUMERS.PRIMARY_CAR E_MANAGER
,SERVICE_DELIVERY_DAILY_DE TAIL.SERVI CE_DELIVER Y_DAILY_DE TAIL_UUID
,SERVICE_DELIVERY_DAILY_DE TAIL.UNITS AS [SERVICE_DELIVERY_DAILY_DE TAIL UNITS]
,SERVICE_DELIVERY_DAILY_DE TAIL.SERVI CE_DATE
,SERVICE_DELIVERY_DAILY_DE TAIL.SERVI CE_DELIVER Y_UUID
FROM
HAR_CONSUMERS
INNER JOIN HAR_SERVICE_DELIVERIES
ON HAR_CONSUMERS.CONSUMER_UUI D = HAR_SERVICE_DELIVERIES.CON SUMER_UUID
INNER JOIN SERVICE_DELIVERY_DAILY_DET AIL
ON HAR_SERVICE_DELIVERIES.SER VICE_DELIV ERY_UUID = SERVICE_DELIVERY_DAILY_DET AIL.SERVIC E_DELIVERY _UUID
WHERE
HAR_SERVICE_DELIVERIES.CRE ATE_DATETI ME >= @CREATE_DATETIME
AND HAR_SERVICE_DELIVERIES.CRE ATE_DATETI ME <= @CREATE_DATETIME2
AND HAR_CONSUMERS.CONSUMER_AGE NCY_DES = @CONSUMER_AGENCY_DES
AND HAR_SERVICE_DELIVERIES.SER VICE = @SERVICE
AND HAR_CONSUMERS.PRIMARY_CARE _MANAGER = @PRIMARY_CARE_MANAGER
5. Here is the query for the drop down data set (only showing one, both have same construction) – bonus points if you can tell me the right syntax to make this sort in alpha order on display…….
SELECT
HAR_SERVICE_DELIVERIES.SER VICE
FROM
HAR_SERVICE_DELIVERIES
GROUP BY
HAR_SERVICE_DELIVERIES.SER VICE
6. I can see in the constructed report that the parameters are being correctly rendered as available for multi-select:
7. But when I try to run any combination involving a multiple selection on either of the two multi-select parameters, the system bombs out and fails to execute the report.
HELP!!! How do I fix this so the user can apply a multi-select at run time?
MultiSelect-Screen-Shots.doc
Here are the steps taken thus far: See attached to get all the screen shots.
1. I have included the parameter in the main dataset query and then I created separate datasets to enable drop downs for selection. I want the user to be able to choose Care Manager and Service values from a pick list. I also want the user to be able to do a multi-select so the report can pull more than one service and/or more than one manager.
2. I have created both parameters (Under Parameters vs wtihin their datasets) using the following conventions for configuration:
a. Select Data Type as text and allow blank values.
Cannot use integer because the identifier is alpha-numeric.
b. Set available values to pull from query – the datasets created for the drop downs.
c. Set default value to none.
3. The dataset for use in the drop down is configured as follows:
a. Single field for the pick list
b. no configuration for options, filters, or parameters.
4. Here is the query for the main dataset
SELECT
HAR_CONSUMERS.CONSUMER_AGE
,HAR_SERVICE_DELIVERIES.PR
,HAR_SERVICE_DELIVERIES.FU
,HAR_SERVICE_DELIVERIES.SE
,HAR_SERVICE_DELIVERIES.UN
,HAR_SERVICE_DELIVERIES.CR
,HAR_CONSUMERS.PRIMARY_CAR
,SERVICE_DELIVERY_DAILY_DE
,SERVICE_DELIVERY_DAILY_DE
,SERVICE_DELIVERY_DAILY_DE
,SERVICE_DELIVERY_DAILY_DE
FROM
HAR_CONSUMERS
INNER JOIN HAR_SERVICE_DELIVERIES
ON HAR_CONSUMERS.CONSUMER_UUI
INNER JOIN SERVICE_DELIVERY_DAILY_DET
ON HAR_SERVICE_DELIVERIES.SER
WHERE
HAR_SERVICE_DELIVERIES.CRE
AND HAR_SERVICE_DELIVERIES.CRE
AND HAR_CONSUMERS.CONSUMER_AGE
AND HAR_SERVICE_DELIVERIES.SER
AND HAR_CONSUMERS.PRIMARY_CARE
5. Here is the query for the drop down data set (only showing one, both have same construction) – bonus points if you can tell me the right syntax to make this sort in alpha order on display…….
SELECT
HAR_SERVICE_DELIVERIES.SER
FROM
HAR_SERVICE_DELIVERIES
GROUP BY
HAR_SERVICE_DELIVERIES.SER
6. I can see in the constructed report that the parameters are being correctly rendered as available for multi-select:
7. But when I try to run any combination involving a multiple selection on either of the two multi-select parameters, the system bombs out and fails to execute the report.
HELP!!! How do I fix this so the user can apply a multi-select at run time?
MultiSelect-Screen-Shots.doc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cool, glad to hear that it helped you out, and thanks for that nice closure!
ASKER