Hi,
I have a report showing a pivot table where the values are displayed by Quarter. I have to display last Quater value which is not null as a new column value as below
sample data is updated!
Regards,
Is Null really NULL or it's no value at all?
Aggregating using LAST (not SUM etc. but LAST) and assuming your NULL is no value you will get your values.
Yes, No value. can you please elaborate your comments.
LAST() gives you the most recent data point at the intersection of your selected dimensions (time being mandatory). If you have a NULL at an intersection and it's the most recent then that's what's going to be returned - hence Gianni asking his question. He's managing your expectations
I have tried as below in edit formula but not working, troughing a syntax error
MAX(Value) KEEP ( DENSE_RANK LAST ORDER BY QTR)
Avinash Pentyala wrote:I have tried as below in edit formula but not working, troughing a syntax error MAX(Value) KEEP ( DENSE_RANK LAST ORDER BY QTR)
Did you read what as been posted above? Where did you see something like the formula you tried?
The formula isn't SQL, it isn't something you are writing for your database, it's LSQL : logical SQL. It's a language that the BI Server speaks, so you need to use a syntax supported by the BI Server and not randomly put together pieces of SQL ...
Gianni has answered, but - injecting SQL into this mix is not the way to go. You need to build a logical column that evaluates the LAST() based on the chronological dimension you've already got set up.
6 responses...let me drive home the point:
Aggregation rule = LAST! Done. Over. Finished.
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…