I have the query
select * from table
where fy = 2022 and cy = 2022 and month = 1.
I am making an analytic app and I want to be able to change the year with a formula. I am using the text input tool connecting to the event tool. In the event tool configuration I am doing the following:
Select an action type: Update Value with Formula
Value or Attribute to Update: File - value='aka: Connection|||select * from table...
Formula: REGEX_Replace([Destination], '/[0-9]{4}', [#1])
I have tested my regex at regex101.com and I don't seem to have a problem there. However, when I run this app, it does not change the dates in the query. I am not sure if this helps, but we are using Oracle SQL.
Any help would be great. Thank you