Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
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
SourceBut when i try to use a parmeter:
let
WeekNo = ConvertToIntgr (RangeStart),
Source = Oracle.Database("uburr", [HierarchicalNavigation=true, Query="SELECT * FROM TABLE ( pipeStockWeek (WeekNo))"]),
in
SourceThen 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
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 12 | |
| 12 | |
| 10 | |
| 6 | |
| 5 |