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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
FredrikJ
Resolver I
Resolver I

Load Data In Power BI With Oracle Function and Parameters

Hi!

 

Is it possible to get data using a parameter and calling a Function in Oracle? It seems to work for SQL Server.

 

I have tried to call the function with a hard coded inparameter in it works fine.

let
Source = Oracle.Database("xxx", [HierarchicalNavigation=true, Query="SELECT * FROM TABLE ( pipeStockWeek (202201))"]),
in
Source

 But when i try to use a parmeter:

let
    WeekNo = ConvertToIntgr (RangeStart),
    Source = Oracle.Database("uburr", [HierarchicalNavigation=true, Query="SELECT * FROM TABLE ( pipeStockWeek (WeekNo))"]),
in
    Source

 Then I get this error message:

 

DataSource.Error: Oracle: ORA-00904: "WEEKNO": invalid identifier
Details:
DataSourceKind=Oracle
DataSourcePath=uburr
Message=ORA-00904: "WEEKNO": invalid identifier
ErrorCode=-2147467259

 

Regards

Fredrik

 

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @FredrikJ ,

According to the error message, please see if this document helps: ORA-00904 invalid identifier Solution - Database 

 

Best Regards,
Community Support Team _ kalyj

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

 

Hi!

The document didn't help me. I wasn't really the same case. 

 

My question is if it is supported and possible  using a parameter from power query and calling a Function in Oracle to get data?

 

Regards

Fredrik

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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