I have some values returned from the fact table.
I want to then apply some complex logic on them, that you could not achieve with functions / nested functions etc.
I want to use javascript to achieve this.
Is it possible?
Possible -> https://www.clearpeaks.com/adding-javascript-libraries-obiee/
Have a look at the code; -
var dim = new Array(5)
for (i=0; i <5; i++)
for
(i=0; i <5; i++)
dim[i] = new Array(2);
var max_i;
dim[@1][0] = "@2";
dim[@1][0] =
"@2"
;
dim[@1][1] = @3;
max_i = @1;
Crib this and alter it to your needs and you are there...
BUT - better would be to get your data warehouse team to populate your fact table(s) with the additional processing, javascript is uncompiled and so errors may only manifest at runtime and depending on what you are doing with it may be slow.
Hi,
Sure ... as long as you then keep the data in javascript and do some javascript rendering (either JET or D3js or any other JS graphing library or just simple HTML rendering).
Once you got the data out from OBIEE into your javascript code you can't send it back into OBIEE for "normal" usage.
If you want your data back into OBIEE you need to look for ETL, even if it involve some program (python, java, javascript etc.) for the transformation. But in general in that case the database can do everything (assuming it's Oracle: with PL/SQL you really do everything).
Thank you both for your very useful answers - extremely kind - I will try to push the requirement to the DW team, I agree it makes most sense there, even though as you both say it can be done - I completely agree it should not be done in my case.
Explore how to build agents using code in AI Data Platform. We'll create an agent that examines and analyzes the contents of a Github repository and reports its findings. The session demonstrates how to use different developer tools to create agents including the AIDP extension for VS Code and Codex. Using these tools we…
The user icon in the upper-right corner of OAC (DV) is displaying more menu options for our non-admin users than we wish to display. We would like to restrict these to only "Profile" and "Sign Out" for regular users. Is there a way to customize these menu items? Especially if we can control this via security, that would be…
What is wrong with this code
Am I missing something or is there no way to search through previous posts to make sure I don't duplicate a question? All I see on the filter options are tags or status… a general search for a word or phrase would be helpful.
We were under the impression that when exporting a visualization in DV to CSV format hidden columns would be include from the grammar panel. This is not happening. See below for a screenshot showing 3 hidden columns that do not appear when exporting the pivot table to CSV. This seems to have worked a month or so back but…
Migrated RPD from obiee12c to OAS 2024. post migration when we try to access dashboards on OAS we are getting below error: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. (HY000) State: HY000. Code: 43275. [nQSError: 43275] Message returned from OBIS…