Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Issues with Oracle Regexp_Replace and Regex_Substr

Rschult1
5 - Atom

I am having issues with my input step not recognizing my case statements or my regexp_replace / regexp_substr functions. How can I get this to work in Alteryx? 

 

REGEXP_REPLACE(
case when PROJ_COST_LINE.x_expenditure_item_desc like '%POL-%' then

 

regexp_replace(regexp_substr(PROJ_COST_LINE.x_expenditure_item_desc,
'(E-)([[:digit:]]{6,7})', 1,1,NULL),'[^0-9]','')
else

 

null

 

end,'[^[:digit:]]','')as "Engagement Number",

REGEXP_REPLACE(
case when PROJ_COST_LINE.x_expenditure_item_desc like '%POL-%' then

 

regexp_replace(regexp_substr(PROJ_COST_LINE.x_expenditure_item_desc,
'\POL-([0-9]+)', 1,1,NULL),'[^0-9]','')
else

 

null

 

end,'[^[:digit:]]','') as "PO Line Item Number"

 

 

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Does this statement works on the Oracle interface?

Rschult1
5 - Atom

Yes. This statement works with no issue in Oracle SQL developer. 

Labels
Top Solution Authors