Hi All, Ia m trying to add a filter to my report analysis date column. Date>='2019-07-01' and date <='2019=09-25'. Year should be calculated based on sysdate, I mean it should be sysdate-1. 07-01 & 09-25 are Static Values. Thank you, Raj
Hi,
You are trying to add that filter, fine.
And what did you try? What was the issue?
Not sure Timestampadd is what you look for, it isn't really made for "fixed" dates logic but for logic based on a relative delta from a given date.
In your case you can use the function to get the year from the current date (which is another function), do a -1 as it will be a number and you can do mathematical operations on it, cast it to a string and concatenate with the month-day fixed parts and cast to a date.
The issue with timestampadd is that you would need to do all the logic to from the current date to your fixed dates, and it will not be any easier than the above logic.
Try the formula in an analysis as formula in a column, you will have all the list of available functions by type in the window making it really easy to find and try.
I tried this.Below is the solution which worked for me.Thank you. CAST('25-JUL-'||CAST (YEAR (CURRENT_DATE)-1 AS CHAR) AS DATE)
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…