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
ninana2025
New Member

Oracle report not loading

I connect to Oracle database and get results back using a ref cursor.

Used solution as provided by  https://community.fabric.microsoft.com/t5/Power-Query/I-m-analyzing-Power-BI-options-for-the-company... 

DECLARE P_RC SYS_REFCURSOR;
result VARCHAR(100);
BEGIN
	p_test(P_RC);
END;

When i run Rrefresh Preview, i do see data returned for first 1000 rows.

Results has 83 columns.

data preview.png

When i select Apply, i get below error.

Query ran ok and i can see review. Any advise on what this error means? i dont think its related to oracle syntax error, as query runs ok.

apply.png

 

2 ACCEPTED SOLUTIONS
olgad
Super User
Super User

It doesnt load corectly in the preview already, you can tell by the red line under the comumn headers before the first row. That line is an indicator of errors occuring duribg the öoad. Please review for missing parenthesis. 


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

View solution in original post

Anonymous
Not applicable

Hi @ninana2025 ,

 

--This is one of several generic error messages which indicate our code contains one or more syntax errors. Sometimes it may mean we literally have omitted a right bracket; that's easy enough to verify if we're using an editor which has a match bracket capability (most text editors aimed at coders do). But often it means the compiler has come across a keyword out of context. Or perhaps it's a misspelled word, a space instead of an underscore or a missing comma.

sql - ORA-00907: missing right parenthesis - Stack Overflow


If you share the code within p_test, we can help you identify the problem more precisel.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @ninana2025 ,

 

--This is one of several generic error messages which indicate our code contains one or more syntax errors. Sometimes it may mean we literally have omitted a right bracket; that's easy enough to verify if we're using an editor which has a match bracket capability (most text editors aimed at coders do). But often it means the compiler has come across a keyword out of context. Or perhaps it's a misspelled word, a space instead of an underscore or a missing comma.

sql - ORA-00907: missing right parenthesis - Stack Overflow


If you share the code within p_test, we can help you identify the problem more precisel.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

olgad
Super User
Super User

It doesnt load corectly in the preview already, you can tell by the red line under the comumn headers before the first row. That line is an indicator of errors occuring duribg the öoad. Please review for missing parenthesis. 


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

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.