Pre-Defined Functions of Upper, SubString and INSTR
Answered
Hi there -
In the Report builder, I see Pre-Defined functions (from the Calculated field editor) that there are options for Upper and SubString. Is there a Pre-defined function for INSTR?
Hugo
Hi Hugo,
no but there can be! Those Pre-defined functions are defined in a file called custom-functions.xml in the path <yellowfin>/appserver/webapps/ROOT/WEB-INF/ and if you follow the instructions in the following wiki article then you can make your own:
https://wiki.yellowfinbi.com/display/USER74/Calculated+Fields#CalculatedFields-CreatingNewCustomFunctions
However, because you are a much valued customer of Yellowfin I have gone ahead and assumed that you are using an Oracle database and have created the code for you, so all you have to do is to insert the below code just before the last line
"</custom-functions>"
of the afore-mentioned custom-functions.xml file:
I hope you enjoy it!
regards,
David
Hi Hugo,
no but there can be! Those Pre-defined functions are defined in a file called custom-functions.xml in the path <yellowfin>/appserver/webapps/ROOT/WEB-INF/ and if you follow the instructions in the following wiki article then you can make your own:
https://wiki.yellowfinbi.com/display/USER74/Calculated+Fields#CalculatedFields-CreatingNewCustomFunctions
However, because you are a much valued customer of Yellowfin I have gone ahead and assumed that you are using an Oracle database and have created the code for you, so all you have to do is to insert the below code just before the last line
"</custom-functions>"
of the afore-mentioned custom-functions.xml file:
I hope you enjoy it!
regards,
David
Hi David --
Thank you very much -- I appreciate this!
Hugo
Hi David --
Thank you very much -- I appreciate this!
Hugo
You're welcome Hugo!
I hope that means my guess about you using Oracle was correct!
regards,
David
You're welcome Hugo!
I hope that means my guess about you using Oracle was correct!
regards,
David
Replies have been locked on this page!