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.
Where AI meets business outcomes Oracle AI World brings the Oracle community together to explore how AI and other technology innovations are driving real business outcomes across industries. Discover what’s new through: Mainstage keynotes to hear the latest directly from Oracle leadership Product demonstrations Customer…
I tried the following expression and it blows up when I select more that one value in the list see image
We are using Oracle Analytics Server 2026 with WebLogic Server 14.1.2. Our Account Statement report is accessed through '/xmlpserver'. We need to capture the following details in the OAS/Publisher log files whenever a user runs the report: Username Report name and path Report execution timestamp Account Number From Date To…
We need to download a report with the order number as the file name. In the main report, we have a data action (hyperlink) on each order number. When we click an order number, the linked report is downloaded with the corresponding order details. Currently, the file is downloaded using the report name. We need to download…
If I only do one with one expression filter, it works, but if I put the 2nd parameter with an expression filter, I get no data found???? Why