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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Paramjit
Helper II
Helper II

Parameter syntax for Oracle Database connection in Paginated Report

Hello ,

 

@SivaMani  @amitchandak  

 

I am trying to pass the parameter in Oracle SQL in pagianted report using Oracle Database conneciton. But i am getting missing expression error or syntax errors.    where ABC = @ParameterName

 

the expression is working with ODBC conneciton (preview). 

 

Could you please help me with the correct paramterter expression with Oracle database. 

 

Thank you,

Paramjit

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Paramjit ,

 

Please use ":" instead of "@" like so: 

 

where ABC = :ParameterName.

 

SQL Server uses an @ sign for the parameters, but Oracle uses a : (colon) to prefix it’s parameters.

 

Reference: defining oracle query parameters - Report Designer (SSRS) (microsoft.com)

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Icey
Community Support
Community Support

Hi @Paramjit ,

 

Please use ":" instead of "@" like so: 

 

where ABC = :ParameterName.

 

SQL Server uses an @ sign for the parameters, but Oracle uses a : (colon) to prefix it’s parameters.

 

Reference: defining oracle query parameters - Report Designer (SSRS) (microsoft.com)

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

moldepc
Frequent Visitor

Is there a way to pass multiple parameters?  So I want to do a direct query to the Oracle database through Paginated reports but I want the user to be able to query on Order Number OR Customer name or both.  I got it to run but it returns no results because if I enter an Order number but not a customer name, it sends null to the customer name and then returns no results for the query because the customer  name is populated for that order number I tried to lookup.  Thanks.

Hi @moldepc 

Did you ever get queries to work with the option of having user input multiple parameters for ex. Customer and Country, where either might be left blank ?

@Icey  Thank you so much. It is working.

Paramjit
Helper II
Helper II

Hi Everyone,

 

Any help on this pls.

 

Thank you.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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