Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Display not null quarter value as new column
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,
Answers
-
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.
0 -
Yes, No value. can you please elaborate your comments.
0 -
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
0 -
I have tried as below in edit formula but not working, troughing a syntax error
MAX(Value) KEEP ( DENSE_RANK LAST ORDER BY QTR)
0 -
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 ...
0 -
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.
0 -
6 responses...let me drive home the point:
Aggregation rule = LAST! Done. Over. Finished.
0
