What is wrong with this code
Hi @User_SYYDG - looks like it's your brackets 🙂 Line 1 is missing its opening ( and line 3 is missing its closing ). Try this:
(@parameter("P_SAAR_ID")('') IS NULL AND SAAR_ID = '99999999')
OR
(@parameter ("P_SAAR_ID")('') IS NOT NULL AND SAAR_ID = @parameter ("P_SAAR_ID")(''))
I've also swapped NOT ... IS NULL for IS NOT NULL, which is cleaner. If it still doesn't behave once it validates, the empty-string default might not be treated as NULL, so you could give the parameter a dummy default like '-1' and test for that instead.
Hope that helps.
That parenthesis Clare mentioned is probably your issue.
I really find that expression field to be "dumb" because they tried to make it too smart. In "Classic" it is just a text field that doesn't do anything smart. In DV it does hide the real (full) name of columns and handles 2 versions of the expression: the real one that will be saved in the JSON of the workbook and the "nice to look at" where they convert things , which also make selecting and copy/paste weird (at least for me it does select some characters off the location of my pointer on the screen).
And when it tries too hard to be smart, is often when my expression break because characters like parenthesis or new lines and indentation disappear magically…
We have migrated OBIEE dashboards to Oracle Analytics Cloud and need to automate exporting an entire Classic dashboard page as PDF or xls or csv. Our requirement is to: Pass Business Date and Credit Support ID dynamically. Export the complete dashboard page, including multiple analyses and conditional sections. Invoke the…
We are troubleshooting a BI Publisher price-book report where DCL and DCF Customer Price Groups are missing. The existing report uses the CPG pricing matrix dimension, where we found DC1, DC2, INX, and XST, but not DCL/DCF. DCF was found separately under: LineCustomerPriceGroup = DCF Adjustment Type = PRICE_OVERRIDE…
Dear Oracle Support Team, I need assistance uninstalling Oracle AI Database 26ai Free from my Windows 11 Home laptop. System configuration Operating System: Windows 11 Home Processor: Intel Core i5 RAM: 8 GB Oracle Product: Oracle AI Database 26ai Free Product Version: 23.0.0.0 Installer:…
Hello Oracle Analytics Community, We are investigating a dashboard compatibility issue between Oracle Analytics Server (OAS) 7.6 and OAS 7.0. Some dashboards originally created in Oracle BI 12c can be opened in OAS 7.6 but fail to open after being archived and imported into OAS 7.0. During our investigation, we found the…
We have a requirement Creating a Bar graph using Cost Center Tree hierarchy as prompt/filter in DV. Created a Bar Graph using Cost Center Tree Hierarchy as a prompt. When I'm selecting values through selection steps from Cost Center Tree Hierarchy, the Bar Graph not refreshing as the selected values are not passing to…