How to use dropdown selection as input to get sql script output
I want to use dropdown selection as input to get sql script output.
1) I create a service using sql, the input is a string

in SQL script, like this:

2) In the mashup, there is a piechart to show the sql script result:

3) The service is created successfully. The parameters are show in the service

4) The dropdown menu service is like this, the 'name' is the input to the pie chart sql script

I tried to drag the 'All Data' -> 'Name' or 'Selected Rows'->'Name' to match the input parameters 'BuildingName'. To get the pie chart input data. But failed.
How can I manage to do this? Thank you!

