Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
gantwanc
Frequent Visitor

Using Postgres as a data source and create mutli value selection in power builder

Hello,

I am working on creating a paginated report using Power Builder to give our end users the ability to filter datasets and schedule Excel files to their inbox using the Power BI service. Right now, I can use SQL Server to create a parameter with multi-select capabilities. When I try to use our Postgres database I get the following error.


Cannot add multi value query parameter '?' for dataset 'ds_con_events' because it is not supported by the data extension.
----------------------------
An error has occurred during report processing.
----------------------------
An error occurred during local report processing.

What is the step-by-step process to connect to a Postgres database and create a parameter that allows mutli select filtering options in a paginated report?

6 REPLIES 6
Anonymous
Not applicable

Hi @gantwanc,
Can you please share some more detail information about this? They should help us clarify your scenario and test to troubleshoot.

How to Get Your Question Answered Quickly  

In addition, I'd like to suggest you take a look the following document about add multi-value parameter in paginated report and the limitations:

Add a multi-value parameter to a paginated report - Power BI | Microsoft Learn

Regards,

Xiaoxin Sheng

@Anonymous The documentation seems to be geared towards SQL Server. I was wondering how to do the same thing connecting to ODBC. Is there any documentation that shows how to connect to other databases besides SQL Server? 

@Anonymous Here is another screenshot: 

gantwanc_3-1707148640516.png

 

Anonymous
Not applicable

HI @gantwanc,

How did you define the parameter and query string? Can you please share some more detail?

BTW, you can also take a look at the following link about the similar issues:

SSRS Error: Cannot add multi value query parameter '@CountryId' for dataset 'ds_GetPractice' because...
Regards,

Xiaoxin Sheng

@Anonymous Please see a couple a screenshots related to the parameters below:

gantwanc_0-1707230386132.pnggantwanc_1-1707230421584.pnggantwanc_2-1707230431372.png

Does this help? 

@Anonymous Hello, Please see more details below:

1. I am connecting to an ODBC connection type using an Amazon Redshift driver as a connection string

2. Within the query I use a ? next to the where clause to be able to use the parameter. This was the only way I was able to get the parameters to work using a ODBC connection type. for SQL server I use  @ and I am able to select multiple filters. 

      The query is select multiple fields from table where market in ? (This is the parameter symbol)
3. The parameter properties are the same as the below screenshot:

gantwanc_0-1707145871246.png

4. when I try to test the report I am trying to select multiple years or markets. The below case is the markets:

gantwanc_1-1707145993966.png

5. When I run the view I get the below error message:

gantwanc_2-1707146047250.png

 

What is the best way to allow multiple selections using a ODBC connection? 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.