Does anyone know if there's a way to refresh a Repository variable on demand? There is an option to define the refresh frequency, but I couldn't find a way to refresh it manually.
Hello,
In Oracle Analytics Cloud (OAC), the "Reload Files and Metadata" action is the standard administrative operation used to refresh the RPD (repository) in online mode and applies any changes, including updates to repository variables.
https://docs.oracle.com/en/cloud/paas/analytics-cloud/acabi/classic-administration-page.html
@DeepaliG-Oracle , I do not think we can refresh it manually.
If it is a static repository variable, it's value is initialized in the Variable dialog.
The value of the static repository variable persists and doesn't change until an administrator decides to change it. For example, suppose you want to create an expression to group times of day into different day segments. If Prime Time were one of those segments and corresponded to the hours between 5:00 PM and 10:00 PM, you could create a CASE statement like the following:
CASE
CASE WHEN "Hour" >= 17 AND "Hour" < 23 THEN 'Prime Time' WHEN... ELSE...END
If it is a dynamic repository variable, it can be initialized in the same way as static variables, but the values are refreshed by data returned from queries.
When defining a dynamic repository variable, you create an initialization block or use a preexisting one that contains a SQL query. You also set up a schedule that the Oracle BI Server uses to run the query and periodically refresh the value of the variable. When the value of a dynamic repository variable changes, all cache entries associated with a business model that reference the value of that variable are purged automatically.
Each query can refresh several variables, one variable for each column in the query. In Oracle BI Server, create a schedule to run the queries.
Please refer this doc for more details. Hope it helps!
Thanks @Henry Cabrera @SteveF-Oracle @RVohra, for your answers. Let me review and analyze what fits for our use case.
@DeepaliG-Oracle feel free to share your analysis here. It will help community in long run. Thanks
There is no native “Refresh Now” button for Repository Variables in Oracle Analytics.
Repository variables (especially dynamic ones) are refreshed only through:
They are evaluated and stored at the BI Server level, not at the dashboard/runtime layer. So dashboards, prompts, and analyses have zero control over forcing a refresh.
Use these options given below
If you truly need on-demand refresh logic, session variables are much more flexible.
Why?
This is usually the recommended design if the value must reflect near real-time logic.
In the init block settings, you can:
But downside:
If my response has answered your question, please mention the thread as Accepted Answer as this will help the community members on the solution
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…