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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DamienD
New Member

ORA 00997: illegal use of LONG dataype.

Hello all,

 

I'm using a direct query dataset, getting data from views in an Oracle db.

These views gives me an URL which is quite long indeed but was working fine so far.

Since 2 days, some of my visuals do not work anymore, the error details gives me the "ORA 00997: illegal use of LONG dataype" message.

Evrything is working fine in Oracle, the power query editor shows me the data, no problem on those sides.

It's only when I want to use this field in a visual that I recently receives the error.

 

Anybody have an idea how to go around this issue ?

 

Thanks,

1 ACCEPTED SOLUTION
DamienD
New Member

Hello all, and thanks for your support, you helped me find what append.

It was effectively a pb in my database, a wrong use of a "with" statement.

What suprised me is that PowerBi was integrating the datas but didn't managed to show results as visuals.

 

It's now in order,

 

thanks again,

 

Damien.

View solution in original post

3 REPLIES 3
DamienD
New Member

Hello all, and thanks for your support, you helped me find what append.

It was effectively a pb in my database, a wrong use of a "with" statement.

What suprised me is that PowerBi was integrating the datas but didn't managed to show results as visuals.

 

It's now in order,

 

thanks again,

 

Damien.

amitchandak
Super User
Super User

@DamienD , you the SQL Profiler and find the query and run on oracle and check

 

Check for sql profiler in this article

https://radacad.com/directquery-connection-in-power-bi-how-does-it-work-limitations-and-advantages

Pragati11
Super User
Super User

Hi @DamienD ,

 

This error looks more like the Oracle database error. Can you check your queries for you view on the database?

I found a similar article on why this error occurs:

https://www.experts-exchange.com/questions/26945256/How-do-I-fix-ORA-00997-illegal-use-of-LONG-datat...

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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