Hi,
In OBIEE 12.2.1.2, I'm updating a session variable 'MCHT_CONTENT_LANG' using a dashboard prompt (Language) via Request variable, and adding this session variable in the where clause of the logical table in the RPD to filter the table by language.
On the Dashboard the analysis with columns from the logical table is filter correctly as the language is changed/selected by the Language dashboard prompt.
However if I build a dashboard prompt using a column from the same logical table the prompt values are not refreshed when the Language prompt is changed. Below is the logical SQL from analysis and Prompt.
Anyone know if this is a bug? and is there a work around?
NB: I know you could add a SET VARIABLE...<session variable> in the prompt using SQL Results but if I use the SQL Results I loose the 'Limit By Values' option which I want to utilize also to filter prompt by other prompts.
Also I want to keep the Language prompt outside of main Filters section due to location on the dashboard.
Thanks
Adrian
Logical SQL from analysis
SET VARIABLE QUERY_SRC_CD='Report',SAW_DASHBOARD='/shared/CCA/_portal/RequestVarDb',SAW_DASHBOARD_PG='page 1',SAW_SRC_PATH='/shared/CCA/Analysis/AK_prod_test',MCHT_CONTENT_LANG='fr';SELECT
0 s_0,
"Order Line Item Metrics"."Product Name"."Language key" s_1,
"Order Line Item Metrics"."Product Name"."N product id" s_2,
"Order Line Item Metrics"."Product Name"."Product name" s_3
FROM "Order Line Item Metrics"
ORDER BY 3 ASC NULLS LAST, 4 ASC NULLS LAST, 2 ASC NULLS LAST
Prompt Logical SQL ('MCHT_CONTENT_LANG' is not set )
SET VARIABLE QUERY_SRC_CD='ValuePrompt';SELECT "Product Name"."Product name" saw_0 FROM "Order Line Item Metrics" ORDER BY saw_0
FETCH FIRST 65001 ROWS ONLY