• Post category:BI Publisher
  • Post comments:0 Comments
  • Post last modified:June 9, 2023
  • Reading time:2 mins read
You are currently viewing How to pass multiple values as default for an Input parameter in BI Report?

In this article, we will explore how to default input parameters with multiple values from the LOV. First, the multiple input values check box should be turned on to work.

image 10 - How to pass multiple values as default for an Input parameter in BI Report?

If we have a single default value, we can directly enter that default value on the parameters screen on the data model.

image 5 - How to pass multiple values as default for an Input parameter in BI Report?

Default will show up like below:

image 6 - How to pass multiple values as default for an Input parameter in BI Report?

However if we want to default two values from the dropdown, then we can’t simply put AU Annual Leave,AU Personal Leave as it doesn’t work.

We have to put it as “AU Annual Leave”,”AU Personal Leave” to make it work.

The values must be imputed in double quotation marks for varchar characters and separated by a comma.

image 7 - How to pass multiple values as default for an Input parameter in BI Report?

Output will look like:

image 8 - How to pass multiple values as default for an Input parameter in BI Report?

Hope this helps.