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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
ExploreringPowe
New Member

Query parameters with Power BI Report builder

Hi All,

 

I am new to Power BI report builder and getting an issue while using parameter in the query .

 

Datasource - Connection to Redshift

ParameterName cust1 Text

Query select * from table1 where cust =@cust

In Parameters 

Cust = Cust1

 

Query validated successfully.

 

While running a report error is:

 

ERROR [XX000] [Amazon][Amazon Redshift] (30) Error occurred while trying to execute a query:

[SQLState XX000] ERROR: Overflow for NUMERIC(18,0)
DETAIL:
-----------------------------------------------
error: Overflow for NUMERIC(18,0)
code: 1207
context: Value: '30892661097793872890', Character: '9'
query: 40025589
location: :0
process: query0_223_40025274 [pid=0]
-----------------------------------------------


----------------------------
Query execution failed for dataset 'DataSet1'.
----------------------------
An error has occurred during report processing.
----------------------------
An error occurred during local report processing.

1 REPLY 1
d_gosbell
Super User
Super User

That is a Redshift error not specific to paginated reports. Probably caused by trying to pass 20 digit number to filter a number(18,0). You cannot filter an 18 digit column with a 20 digit value.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.