I'm trying to get a multi-value drop-down range setup in SSRS. What I need is for the drop-down range to be one of three options the user selects:
- Option 1: 1000 to 4999
- Option 2: 5000 to 2499
- Option 3: 25000+
[P.S. Don't need the text "Option.." in the drop-down. Just for reference]
So, the user would select one of the above. It's just so an end-user can pull a report based on the values of one of those 3 options. Option 1, would pull anything in the $1000 to $4999 range, Option 2, etc.
I have tried updating and changing parameters. Tried specifying Available Values, e.g.
Amount1 =Parameters!AMOUNT>1000 AND Parameters!AMOUNT> 4999
Amount2 =Parameters!AMOUNT>5000 AND Parameters!AMOUNT> 25000
Amount3 =Parameters!AMOUNT>=5000 AND Parameters!AMOUNT> 25000
But, my drop down is always blank, or I get error messages. I've also set my available values to "Get values from query:" I created a new dataset, and use that DS_Amount for my parameter.
My SQL code for my Dataset is simple, it's just:
SELECT AMT AS AMOUNT
FROM FINANCE
WHERE AMOUNT = @AMOUNT
I've also tried adding in:
WHERE AMOUNT BETWEEN 0.00 AND 4999.99
OR AMOUNT BETWEEN 5000.00 AND 24999.99
OR AMOUNT > 25000.00
...in my dataset. I'm either getting blank drop-downs or errors.