SSRS: How to use custom IDs instead of index values in multi-value parameters?

76719856 40 Reputation points

I'm trying to pass the custom Id in multivalue parameter.Basically by defualt multivalue parameter accepts only index like 0,1 and its return data on base of that index but my current SSRS requirement that to use the custom ID in multivalue paramter.

This is the default expression of mulitvalue paramter to get value of lable.

= Parameters!multivalue.Label(0)

I tried this, but it doesn't work:

= Parameters!multivalue.Label(textId)

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,867 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AniyaTang-MSFT 12,416 Reputation points Microsoft Vendor

    Hi @76719856

    What is your custom ID referring to? If you want to get data based on the id entered in the report, then you can follow the steps to create a multi-valued parameter, and then enter the id at runtime, like this:


    Best regards,


    0 comments No comments