In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

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