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! Learn more

Reply
Srinivas_BI
Regular Visitor

Dataflow failing to refresh

My Dataflow is failing to refresh again and again. I am getting this error please help me to reslove this.

Error: PipelineException: Oracle: ORA-01722: invalid number. RootActivityId = f9ccd029-9005-480b-bb91-10ba2c7ba570.Param1 = PipelineException: Oracle: ORA-01722: invalid number Request ID: 9b8dd861-11a5-c605-dd5a-4c59fde66a5c.

2 REPLIES 2
Anonymous
Not applicable

Hi @Srinivas_BI 

The "ORA-01722: invalid number" error typically occurs when Oracle encounters non-numeric data in a column where a numeric value is expected. Here are steps to help troubleshoot and resolve this in your Power BI Dataflow:

1. Identify the Column with Mixed Data Types:
Look at the columns involved in your query, particularly those expected to be numeric. Check if any of them contain text or other non-numeric data that could cause this error.


2. Use the 'TO_NUMBER' or 'CASE WHEN' Statements in SQL :
Wrap potentially problematic columns in a 'TO_NUMBER' function or a 'CASE WHEN' statement to handle non-numeric values, e.g.:

CASE WHEN REGEXP_LIKE(column_name, '^[0-9]+$') THEN TO_NUMBER(column_name) ELSE NULL END


This will replace non-numeric values with NULL or another default numeric value, preventing the error.

 

 

 

 

 

 

Best Regards,

Jayleny

 

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

uzuntasgokberk
Super User
Super User

Hello @Srinivas_BI ,

 

An ORA-01722 error occurs when an attempt is made to convert a character string into a number, and the string cannot be converted into a number.
oracle database - SQL error "ORA-01722: invalid number" - Stack Overflow

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

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 Kudoed Authors