Categories
- All Categories
- 145 Oracle Analytics News
- 27 Oracle Analytics Videos
- 14.7K Oracle Analytics Forums
- 5.7K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 54 Oracle Analytics Trainings
- 12 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 2 Oracle Analytics Industry
- Find Partners
- For Partners
Refreshing one prompt based on other prompts selected

Hi Guys,
I have a report which has variable prompts and i need to have one more prompt which is also a variable prompt but this should be filtered based on what user selects for prompt1, I have used sql query something like this SELECT BLA_BLA s_2 FROM subject_area WHERE ("Time Dimension"."Month Name" IN ('@{P_Q1}'))
P_Q1 is the presentation variable which will get set from the first prompt, even after user selects the first prompt second prompts isn't populating any data, Any help would be greatly appreciated.
Answers
-
You can use a single dashboard prompt that is separated into two pages. Set the value of P_Q1 on the first page, and use that value in the SQL of the second page prompt.
When the user hits "Apply", then "Next" on the first page, the value of P_Q1 will be passed to the second page.
0 -
Thanks Jerry for the response, However how can we split single dashboard prompt between two pages?? Seems something new for me.
0 -
He means two distinct prompt objects.
0 -
This icon will insert a page break in your prompt"
The prompt will then look like this:
When the user makes a selection, they must click on "Apply", then "Next". They'll see your second page:
A variable set on the first page will pass to the second page.
0 -
Right, that works too
0 -
Thank you, Worked like a charm.
0 -
Glad it works for you.
One thing I should have mentioned is, that I haven't tested whether the user actually has to hit "Apply" on the first page, or whether they can just hit "Next".
It seems like the buttons appear in the wrong order if they have to hit both.0 -
If the user clicks next it is enough the variables get set and one more thing if we keep some prompt as mandatory in the second page it makes apply button to grey out in the first page by which we can have only one apply button at the second page.
0 -
Sorry, "404...", but I don't have the option of marking your reply "helpful", because my last question wasn't on my own thread.
(you might consider changing your user name)
0