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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MarkTarpey
New Member

Query Parameters on DataSets based on Oracle DataSources

Hi 

 

I am creating a DataSet using an Oracle DataSource and I'm trying to add Query Parameters. 

 

The substitution syntax is different

WHERE MyField = @MyParam in a SQL Server query

becomes

WHERE MyField = &MyParam in an Oracle query.

 

MyField one is NUMBER(4)

MyParam is an Integer

 

I've tried amending the syntax of the Query to use the Oracle format but can't get it to work properly - I keep getting Invalid Number errors.

Does anyone have any experience of this, or any examples of how they have used Query Parameters with Oracle datasources?

 

Thanks,

Mark

 

 

 

1 ACCEPTED SOLUTION
MarkTarpey
New Member

Hi,

 

thanks for the reply. I worked out the problem 

when using query parameters for an Oracle query in Paginated Reports 

 

Where Field1 = :Parameter

 

i.e. use ':' where SQL Server query would use '@'

 

View solution in original post

3 REPLIES 3
theov
Helper IV
Helper IV

This will help on thi subject. For creating a parameter from Orcale source or using a parameter in Orcale query.

https://www.youtube.com/watch?v=Qk9yLKtl8t8

MarkTarpey
New Member

Hi,

 

thanks for the reply. I worked out the problem 

when using query parameters for an Oracle query in Paginated Reports 

 

Where Field1 = :Parameter

 

i.e. use ':' where SQL Server query would use '@'

 

DataInsights
Super User
Super User

@MarkTarpey,

 

The post below may be helpful:

 

https://community.powerbi.com/t5/Desktop/Passing-user-selected-values-to-a-query-to-another-query/m-... 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors